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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.005, 42.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNOME Glib — versions 2.88.0, 0
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 9 — versions 0:2.68.4-19.el9_8.9
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-58012 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- gitlab.gnome.org/GNOME/glib/-/issues/3918 (Exploit, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:49512 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:55440 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:57015 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:58981 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:61766 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:61783 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:63135 (vendor-advisory)