CVE-2026-58012
A flaw was found in GLib. A buffer over-read can occur in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2026-58012
- bugzilla.redhat.com/show_bug.cgi?id=2492247
- gitlab.gnome.org/GNOME/glib/-/issues/3918
- 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
- nvd.nist.gov/vuln/detail/CVE-2026-58012
- cve.org/CVERecord?id=CVE-2026-58012
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.