Vulnerability in Gnome Glib
CVE-2026-58012
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.
EPSS: 0.003 (26.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
Affected products
- Gnome Glib — versions 2.88.0, 0
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 0:2.70.1-9.el8_10
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
- Redhat Enterprise_linux — versions 6.0, 7.0, 8.0
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Third Party Advisory, Issue Tracking)
- secalert@redhat.com (Exploit, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
Frequently asked questions
- What is CVE-2026-58012?
- CVE-2026-58012 is a medium-severity vulnerability in Gnome Glib, classified under Buffer Over-read. CVSS score: 6.5/10. Published 2026-06-30.
- How severe is CVE-2026-58012?
- Medium severity. CVSS v3 base score is 6.5 out of 10.