Glib: buffer over-read in g_regex_replace() via glib/gregex.c:string_append() and g_utf8_next_char()
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.86.5 and 2.88.1.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| GNOME | glib | =2.88.0, <2.86.5 | 2.86.5 |
| GNOME | <2.86.5, <2.88.1 | 2.86.5, 2.88.1 | |
| Red Hat | AI Inference Server | ||
| Red Hat | Cert Manager support for Red Hat OpenShift | ||
| Red Hat | Discovery | ||
| Red Hat | Enterprise Linux | ||
| Red Hat | Hardened Images | ||
| Red Hat | OpenShift AI | ||
| Red Hat | Update Infrastructure | ||
| redhat | enterprise_linux | =9.0, =10.0, =7.0, =6.0, =8.0 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Red Hat, strongest first
Embed
A live severity badge for an advisory, README or ticket