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.
CVE-2026-58012
This high-severity CVE scores 8.2 under NVD CVSS v3. EPSS exploit probability: 0.5%, top 59% of all CVEs by exploit prediction. GitHub Security Advisory enrichment pending alignment with NVD CVSS.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.2
- EG Score
- 8.2(medium)
- EG Risk
- 52(Track)EG Risk 52/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity82% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 41%
- KEV
- Not listed
Published
June 30, 2026
Last Modified
September 10, 2026
Advisory Details (3)
Auto-updated Jun 30, 2026(#YWH-PGM9867-193) Buffer Over-read on GLib's g_regex_replace() through glib/gregex.c:string_append() via g_utf8_next_char() (#3918) · Issues · GNOME / GLib · GitLab
https://gitlab.gnome.org/GNOME/glib/-/issues/39182492247 – (CVE-2026-58012) CVE-2026-58012 glib: buffer over-read in g_regex_replace() via glib/gregex.c:string_append() and g_utf8_next_char()
https://bugzilla.redhat.com/show_bug.cgi?id=2492247Vendor Advisories for CVE-2026-58012(12)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:66018Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Update Infrastructure 5.3 security update
- RHSA-2026:63140Red Hat Product SecurityHigh
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.19.2
- RHSA-2026:63138Red Hat Product SecurityHigh
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.19.2
- RHSA-2026:63135Red Hat Product SecurityHigh
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.19.2
- RHSA-2026:61783Red Hat Product SecurityHigh
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
- RHSA-2026:61766Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- RHSA-2026:58981Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Update Infrastructure 5.3 Technology Preview security update
- RHSA-2026:57015Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- +4 more
Patch Availability(18)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.66.8-1 ... 2.89.3-2 (186 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.74.6-2 ... 2.89.4-2 (146 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.89.4-2 (49 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.88.0-1 (37 versions) | 2.88.1-2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:65762MODERATE2026-03-27
RHSA-2026:65762 — Moderate
- Red HatRHSA-2026:65763MODERATE2026-03-27
RHSA-2026:65763 — Moderate
- Red HatRHSA-2026:65767MODERATE2026-03-27
RHSA-2026:65767 — Moderate
- Red HatRHSA-2026:65768MODERATE2026-03-27
RHSA-2026:65768 — Moderate
- Red HatRHSA-2026:65769MODERATE2026-03-27
RHSA-2026:65769 — Moderate
- Red HatRHSA-2026:65770MODERATE2026-03-27
RHSA-2026:65770 — Moderate
- Red HatRHSA-2026:65771MODERATE2026-03-27
RHSA-2026:65771 — Moderate
- Red HatRHSA-2026:65773MODERATE2026-03-27
RHSA-2026:65773 — Moderate
Data Freshness Timeline
(refreshed 17× in last 7d / 103× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 323 total refreshes for this CVE.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 06:51 UTCEG score recompute
- 2026-09-18 06:51 UTCVendor advisory
- 2026-09-18 06:51 UTCGHSA enrichment
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-14 00:48 UTCEG score recompute
- 2026-09-14 00:48 UTCVendor advisory
- 2026-09-14 00:48 UTCGHSA enrichment
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 09:17 UTCVendor advisory
- 2026-09-13 09:17 UTCGHSA enrichment
- 2026-09-12 15:10 UTCEG score recompute
- 2026-09-12 15:10 UTCVendor advisory
- 2026-09-12 15:10 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 18:24 UTCVendor advisory
- 2026-09-10 18:24 UTCGHSA enrichment
- 2026-09-10 17:30 UTCEG score recompute
- 2026-09-10 17:30 UTCVendor advisory
- 2026-09-10 17:30 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 08:21 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-09 08:21 UTCGHSA enrichment
- 2026-09-09 07:53 UTCVendor advisory
- 2026-09-09 07:53 UTCGHSA enrichment
- 2026-09-09 05:33 UTCVendor advisory
- 2026-09-09 05:33 UTCGHSA enrichment
- 2026-09-09 04:42 UTCVendor advisory
- 2026-09-09 04:42 UTCGHSA enrichment
- 2026-09-09 03:20 UTCVendor advisory
- 2026-09-09 03:20 UTCGHSA enrichment
- 2026-09-09 03:12 UTCVendor advisory
- 2026-09-09 03:12 UTCGHSA enrichment
- 2026-09-08 23:21 UTCVendor advisory
- 2026-09-08 23:21 UTCGHSA enrichment
- 2026-09-08 22:59 UTCEG score recompute
- 2026-09-08 22:59 UTCVendor advisory
- 2026-09-08 22:59 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 14:37 UTCEG score recompute
- 2026-09-06 14:37 UTCVendor advisory
- 2026-09-06 14:37 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-09-01 03:36 UTCVendor advisory
- 2026-09-01 03:36 UTCGHSA enrichment
- 2026-09-01 03:33 UTCGHSA enrichment
- 2026-09-01 02:41 UTCVendor advisory
- 2026-09-01 02:41 UTCGHSA enrichment
- 2026-08-31 21:23 UTCVendor advisory
- 2026-08-31 21:23 UTCGHSA enrichment
- 2026-08-31 20:47 UTCEG score recompute
- 2026-08-31 20:47 UTCVendor advisory
- 2026-08-31 20:47 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 18:10 UTCEG score recompute
- 2026-08-30 18:10 UTCVendor advisory
- 2026-08-30 18:10 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 22:43 UTCEG score recompute
- 2026-08-27 22:43 UTCVendor advisory
- 2026-08-27 22:43 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 10:22 UTCVendor advisory
- 2026-08-25 10:22 UTCGHSA enrichment
- 2026-08-25 09:57 UTCVendor advisory
- 2026-08-25 09:57 UTCGHSA enrichment
- 2026-08-24 23:26 UTCEG score recompute
- 2026-08-24 23:26 UTCVendor advisory
- 2026-08-24 23:26 UTCGHSA enrichment
- 2026-08-24 11:47 UTCEG score recompute
- 2026-08-24 11:47 UTCVendor advisory
- 2026-08-24 11:46 UTCGHSA enrichment
- 2026-08-23 20:06 UTCVendor advisory
- 2026-08-23 20:06 UTCGHSA enrichment
- 2026-08-23 08:27 UTCEG score recompute
- 2026-08-23 08:27 UTCVendor advisory
- 2026-08-23 08:27 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 20:39 UTCVendor advisory
- 2026-08-22 20:39 UTCGHSA enrichment
- 2026-08-22 08:29 UTCEG score recompute
- 2026-08-22 08:29 UTCVendor advisory
- 2026-08-22 08:29 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 17:20 UTCVendor advisory
- 2026-08-21 17:20 UTCGHSA enrichment
- 2026-08-21 05:17 UTCEG score recompute
- 2026-08-21 05:17 UTCVendor advisory
- 2026-08-21 05:17 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-58012?
When was CVE-2026-58012 disclosed?
Is CVE-2026-58012 actively exploited?
What is the CVSS score of CVE-2026-58012?
How do I remediate CVE-2026-58012?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58012
Is Your Infrastructure Affected by CVE-2026-58012?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.