High severity · published Jun 30, 2026
CVE-2026-58012
Glib: buffer over-read in g_regex_replace() via glib/gregex.c:string_append() and g_utf8_next_char()
8.2
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
Cert Manager support for Red Hat OpenShift release 1.17 · Red Hat
All versions, or not specified · source: vendor
CM
Cert Manager support for Red Hat OpenShift release 1.18 · Red Hat
All versions, or not specified · source: vendor
CM
Cert Manager support for Red Hat OpenShift release 1.19 · Red Hat
All versions, or not specified · source: vendor
CM
Cert Manager support for Red Hat OpenShift release 1.20 · Red Hat
All versions, or not specified · source: vendor
GL
GLib · GNOME
before 2.86.5; before 2.88.1 · source: vendor, NVD
RH
Red Hat AI Inference Server 3.2 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat AI Inference Server 3.5 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Discovery 2 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 10.0 Extended Update Support · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 6 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 7 Extended Lifecycle Support · Red Hat
All versions, or not specified · source: vendor
Affected product
GL
GLib
GNOME
More from GLib
9.8
CVE-2025-14087
Glib: glib: buffer underflow in gvariant parser leads to heap corruption
9.8
CVE-2024-52533
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character
9.8
CVE-2019-12450
file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress
9.8
CVE-2018-16428
In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference
9.1
CVE-2026-58016
Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"