Executive brief
A security flaw was found in GLib, a fundamental software library used by many Linux applications and the GNOME desktop environment. An attacker could potentially cause an application to crash or behave unexpectedly by providing specially crafted input that triggers an internal calculation error. While difficult to exploit, this could impact the reliability and integrity of systems running affected software.
Technical details
An integer overflow vulnerability exists in GLib's g_string_insert_unichar() function within glib/gstring.c. When a caller provides a very large value for the insertion position, the internal offset calculation overflows, resulting in a buffer underwrite (CWE-124). This is reachable if an application passes untrusted or insufficiently validated integer input to this function. An attacker could potentially achieve a denial of service or limited memory corruption. Red Hat has released patches for Enterprise Linux 9 and 10 to address this issue.
Affected products
- GNOME GLib through 2.80.4
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Timeline
- 2025-05-06: disclosed: CVE published by Red Hat
- 2025-07-14: patched: Red Hat released updates for RHEL 10 (RHSA-2025:10855)
- 2025-07-15: patched: Red Hat released updates for RHEL 9 (RHSA-2025:11140)
References
- https://access.redhat.com/errata/RHSA-2025:10855
- https://access.redhat.com/errata/RHSA-2025:11140
- https://access.redhat.com/errata/RHSA-2025:11327
- https://access.redhat.com/errata/RHSA-2025:11373
- https://access.redhat.com/errata/RHSA-2025:11374
- https://access.redhat.com/errata/RHSA-2025:11662
- https://access.redhat.com/errata/RHSA-2025:12275