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.4%, top 70% 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
- 32%
- KEV
- Not listed
Published
June 30, 2026
Last Modified
August 19, 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(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:57015Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- RHSA-2026:55440Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- RHSA-2026:49512Red Hat Product SecurityHigh
Red Hat Security Advisory: mingw-glib2 security update
- CVE-2026-58012Microsoft Security Response Center (MSRC)Medium
Glib: buffer over-read in g_regex_replace() via glib/gregex.c:string_append() and g_utf8_next_char()
- GHSA-vwg8-37h9-g38gGitHub Security AdvisoriesMedium
A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used...
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | glib2-0:2.80.4-12.el10_2.21 | 2026-08-19 | redhat |
| redhat | glib2-0:2.68.4-19.el9_8.9 | 2026-08-17 | redhat |
| redhat | mingw-glib2-0:2.70.1-9.el8_10 | 2026-08-03 | redhat |
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.3-2 (139 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.89.3-2 (42 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.88.0-1 (35 versions) | 2.88.1-2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 46× in last 7d / 170× 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 223 total refreshes for this CVE.
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 17:38 UTCVendor advisory
- 2026-08-20 17:38 UTCGHSA enrichment
- 2026-08-20 05:59 UTCVendor advisory
- 2026-08-20 05:59 UTCGHSA enrichment
- 2026-08-19 18:19 UTCVendor advisory
- 2026-08-19 18:19 UTCGHSA enrichment
- 2026-08-19 17:53 UTCEG score recompute
- 2026-08-19 17:53 UTCVendor advisory
- 2026-08-19 17:53 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 10:54 UTCVendor advisory
- 2026-08-19 10:54 UTCGHSA enrichment
- 2026-08-18 23:05 UTCEG score recompute
- 2026-08-18 23:05 UTCVendor advisory
- 2026-08-18 23:05 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 06:22 UTCEG score recompute
- 2026-08-18 06:22 UTCVendor advisory
- 2026-08-18 06:22 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:25 UTCVendor advisory
- 2026-08-17 10:25 UTCGHSA enrichment
- 2026-08-17 09:23 UTCVendor advisory
- 2026-08-17 09:23 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-08-17 00:42 UTCEG score recompute
- 2026-08-17 00:42 UTCVendor advisory
- 2026-08-17 00:42 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 13:03 UTCEG score recompute
- 2026-08-16 13:03 UTCVendor advisory
- 2026-08-16 13:03 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-16 01:24 UTCVendor advisory
- 2026-08-16 01:24 UTCGHSA enrichment
- 2026-08-15 13:45 UTCVendor advisory
- 2026-08-15 13:45 UTCGHSA enrichment
- 2026-08-15 01:58 UTCEG score recompute
- 2026-08-15 01:58 UTCVendor advisory
- 2026-08-15 01:58 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 14:19 UTCVendor advisory
- 2026-08-14 14:19 UTCGHSA enrichment
- 2026-08-14 02:40 UTCEG score recompute
- 2026-08-14 02:40 UTCVendor advisory
- 2026-08-14 02:40 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 15:01 UTCVendor advisory
- 2026-08-13 15:01 UTCGHSA enrichment
- 2026-08-13 03:22 UTCVendor advisory
- 2026-08-13 03:22 UTCGHSA enrichment
- 2026-08-12 15:43 UTCEG score recompute
- 2026-08-12 15:43 UTCVendor advisory
- 2026-08-12 15:43 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 04:04 UTCVendor advisory
- 2026-08-12 04:04 UTCGHSA enrichment
- 2026-08-11 16:25 UTCEG score recompute
- 2026-08-11 16:25 UTCVendor advisory
- 2026-08-11 16:25 UTCGHSA enrichment
- 2026-08-11 04:45 UTCEG score recompute
- 2026-08-11 04:45 UTCVendor advisory
- 2026-08-11 04:45 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 17:06 UTCVendor advisory
- 2026-08-10 17:06 UTCGHSA enrichment
- 2026-08-10 04:37 UTCVendor advisory
- 2026-08-10 04:37 UTCGHSA enrichment
- 2026-08-09 16:58 UTCEG score recompute
- 2026-08-09 16:58 UTCVendor advisory
- 2026-08-09 16:58 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 05:19 UTCVendor advisory
- 2026-08-09 05:19 UTCGHSA enrichment
- 2026-08-08 17:40 UTCEG score recompute
- 2026-08-08 17:40 UTCVendor advisory
- 2026-08-08 17:40 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 06:00 UTCVendor advisory
- 2026-08-08 06:00 UTCGHSA enrichment
- 2026-08-07 18:21 UTCEG score recompute
- 2026-08-07 18:21 UTCVendor advisory
- 2026-08-07 18:21 UTCGHSA enrichment
- 2026-08-07 06:42 UTCVendor advisory
- 2026-08-07 06:42 UTCGHSA enrichment
- 2026-08-06 19:03 UTCEG score recompute
- 2026-08-06 19:03 UTCVendor advisory
- 2026-08-06 19:03 UTCGHSA enrichment
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 07:24 UTCVendor advisory
- 2026-08-06 07:24 UTCGHSA enrichment
- 2026-08-05 19:45 UTCEG score recompute
- 2026-08-05 19:45 UTCVendor advisory
- 2026-08-05 19:45 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 08:06 UTCVendor advisory
- 2026-08-05 08:06 UTCGHSA enrichment
- 2026-08-04 18:20 UTCEG score recompute
- 2026-08-04 18:20 UTCVendor advisory
- 2026-08-04 18:20 UTCGHSA enrichment
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p95HIGH
Same CWE
10 shownCWE-126
- CVE-2017-17772EG 9.8CRITICAL
- CVE-2022-1927NVD 7.8EG 9.8CRITICAL
- CVE-2019-3563EG 9.8CRITICAL
- CVE-2018-14790EG 9.8EPSS p92CRITICAL
- CVE-2017-7679EG 9.8EPSS p98CRITICAL
- CVE-2021-34584EG 9.1CRITICAL
- CVE-2019-11036EG 9.1EPSS p94CRITICAL
- CVE-2022-2175NVD 7.8EG 8.8HIGH
- CVE-2022-20823EG 8.6HIGH
- CVE-2022-20714EG 8.6HIGH
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.