Skip to main content
CVE-2026-58012VulnerabilityPublished Updated

GLib. A buffer over-read can occur · CWE-126

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-58012· Medium 6.5

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

Data as of 16 Nov 2026, 20:25 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 16 Nov 2026.

What to do

Upgrade 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

A security update fixing this vulnerability is available and should be applied. Red Hat has released patches for affected products, including mingw-glib2 in Red Hat Enterprise Linux 8. Users should upgrade to GLib version 2.70.1 or later. No additional mitigation steps are indicated by the vendor advisory.

Description

A buffer over-read vulnerability exists in GLib's g_regex_replace function when used with the G_REGEX_RAW compile flag and case-change replacement escapes. This occurs 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. The flaw can lead to minor information disclosure of 1-5 bytes and denial of service if the over-read crosses a page boundary. A fix is available in GLib version 2.70.1 and later.

References

Community reviews

Loading reviews…