CVE-2026-58012
Last modified
CVE-2026-58012 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnome | Glib | < 2.86.5 |
| Gnome | Glib | 2.88.0 |
| Redhat | Enterprise Linux | 6.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Redhat | Enterprise Linux | 10.0 |
References
- https://access.redhat.com/security/cve/CVE-2026-58012Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2492247Issue Tracking, Third Party Advisory
- https://gitlab.gnome.org/GNOME/glib/-/issues/3918Exploit, Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-58012?
How severe is CVE-2026-58012?
How do I fix CVE-2026-58012?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57997Strapi users-permissions plugin fails to restrict JWT algori…5.4
- CVE-2026-57999luci-app-tailscale-community contains a command injection vu…8.8
- CVE-2026-58000luci-proto-openvpn through 0.11.1, fixed in commit e4ff45e, …8.8
- CVE-2026-5801Improper neutralization of special elements used in an SQL c…9.8
- CVE-2026-58010A flaw was found in GLib. An off-by-one error can occur in t…8.2
- CVE-2026-58011A flaw was found in GLib. An out-of-bounds read of only 2 by…7.5
- CVE-2026-58013A flaw was found in GLib. A buffer over-read can occur in g_…8.2
- CVE-2026-58014A flaw was found in GLib. An off-by-one error can occur in t…8.6
- CVE-2026-58015A flaw was found in GLib. The D-Bus client-side implementati…7.5
- CVE-2026-58016A flaw was found in GLib. A state confusion issue exists in …9.1
- CVE-2026-5802A vulnerability was identified in idachev mcp-javadc up to 1…7.3
- CVE-2026-58023Out-of-bounds Read vulnerability in Apache Thrift c_glib bin…9.1
Are you affected by CVE-2026-58012?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
