Skip to main content
VulnerabilityPublished Updated

CVE-2026-58012: GNOME GLib · Buffer Over-read

Affects GNOME GLibSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.88.1 or 2.86.5 when convenient.

Data as of 13 Nov 2026, 03:49 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.5
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.88.1, 2.86.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade GNOME GLib to 2.88.1 or 2.86.5.

Affected software

ProductAffectedFixed in
GNOMEGLibAffected
  • <2.88.1
Fixed in
  • 2.88.1
GNOMEGLibAffected
  • <2.86.5
Fixed in
  • 2.86.5

AI-suggested

To mitigate this vulnerability, implement strict input validation to sanitize or reject user-supplied replacement strings containing case-change modifiers (\u, \l, \U, \L) before calling g_regex_replace() or g_regex_replace_eval() with the G_REGEX_RAW compile flag. Alternatively, removing the G_REGEX_RAW flag or hardcoding replacement strings will fully neutralize the issue. A security update fixing this vulnerability is available from Red Hat for affected products; applying this update is recommended.

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.

References

Community reviews

Loading reviews…