Bug 2421339 (CVE-2025-14512) - CVE-2025-14512 glib: Integer Overflow in GLib GIO Attribute Escaping Causes Heap Buffer Overflow
Summary: CVE-2025-14512 glib: Integer Overflow in GLib GIO Attribute Escaping Causes H...
Keywords:
Status: NEW
Alias: CVE-2025-14512
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2421342 2421344 2421343 2421345
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-11 06:30 UTC by OSIDB Bzimport
Modified: 2025-12-18 05:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.