Description
A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used with the `G_REGEX_RAW` compile flag and case-change replacement escapes because the string_append function processes matched substrings using UTF-8 functions that assume valid UTF-8 input, even when the string is treated as raw bytes. This vulnerability can cause a minor information disclosure of 1-5 bytes and a denial of service when the buffer over-read crosses a page boundary.
Affected products
gnome: glib; redhat: enterprise linux
References10
- gitlab.gnome.org/GNOME/glib/-/issues/3918 ExploitIssue TrackingVendor Advisory
- access.redhat.com/errata/RHSA-2026:49512
- access.redhat.com/errata/RHSA-2026:55440
- access.redhat.com/errata/RHSA-2026:57015
- access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com/errata/RHSA-2026:61766
- access.redhat.com/errata/RHSA-2026:61783
- access.redhat.com/errata/RHSA-2026:63135
- access.redhat.com/errata/RHSA-2026:63138
- access.redhat.com/errata/RHSA-2026:63140
Metrics
- CVSS 3.1
-
8.2
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - EPSS — exploit probability
- 0% percentile: 43 · as of 16 November 2026
- CWE
- CWE-126
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.