Bug 2421339 (CVE-2025-14512)

Summary: CVE-2025-14512 glib: Integer Overflow in GLib GIO Attribute Escaping Causes Heap Buffer Overflow
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in glib. This vulnerability allows a heap buffer overflow and denial-of-service (DoS) via an integer overflow in GLib's GIO (GLib Input/Output) escape_byte_string() function when processing malicious file or remote filesystem attribute values.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2421342, 2421343, 2421344, 2421345    
Bug Blocks:    

Description OSIDB Bzimport 2025-12-11 06:30:14 UTC
This vulnerability stems from an integer overflow in GLib’s GIO escape_byte_string() function, where the count of invalid characters is multiplied using a signed integer, resulting in a too-small memory allocation for escaped output. When a malicious file or remote filesystem supplies attribute values with a large number of invalid bytes, the subsequent escaping loop writes beyond the allocated buffer, triggering a heap buffer overflow and crashing the process.

Comment 1 errata-xmlrpc 2026-05-11 09:54:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:15953 https://access.redhat.com/errata/RHSA-2026:15953

Comment 2 errata-xmlrpc 2026-05-11 11:44:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:15971 https://access.redhat.com/errata/RHSA-2026:15971

Comment 3 errata-xmlrpc 2026-05-11 21:40:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:15969 https://access.redhat.com/errata/RHSA-2026:15969

Comment 9 errata-xmlrpc 2026-05-19 16:09:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19148 https://access.redhat.com/errata/RHSA-2026:19148

Comment 10 errata-xmlrpc 2026-05-19 21:40:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19361 https://access.redhat.com/errata/RHSA-2026:19361

Comment 11 errata-xmlrpc 2026-05-20 01:54:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2026:19459 https://access.redhat.com/errata/RHSA-2026:19459

Comment 12 errata-xmlrpc 2026-05-20 02:06:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:19452 https://access.redhat.com/errata/RHSA-2026:19452

Comment 13 errata-xmlrpc 2026-05-20 02:40:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:19460 https://access.redhat.com/errata/RHSA-2026:19460

Comment 14 errata-xmlrpc 2026-05-20 03:52:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:19457 https://access.redhat.com/errata/RHSA-2026:19457

Comment 15 errata-xmlrpc 2026-05-20 04:40:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:19523 https://access.redhat.com/errata/RHSA-2026:19523

Comment 16 errata-xmlrpc 2026-05-20 04:43:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2026:19524 https://access.redhat.com/errata/RHSA-2026:19524

Comment 17 errata-xmlrpc 2026-05-20 09:39:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:19565 https://access.redhat.com/errata/RHSA-2026:19565

Comment 18 errata-xmlrpc 2026-05-20 09:55:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:19567 https://access.redhat.com/errata/RHSA-2026:19567