BreachSpiderVerified, not vibes

CVE-2026-58012 in Gnome Glib and 1 more product

High 8.2

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...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.2
EPSS0.6%
EPSS percentile45th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gnome Glib < 2.88.1
Redhat Enterprise Linux 6.0 7.0 8.0 9.0 10.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-58012
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Published2026-06-30
Last modified2026-11-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-126: CWE-126

Analysis AI-written, not human-reviewed

A high severity vulnerability (CVE-2026-58012) affects the target system. 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 funct...

Questions

What is CVE-2026-58012?

A high severity vulnerability (CVE-2026-58012) affects the target system. 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 funct...

What is the CVSS score for CVE-2026-58012?

CVE-2026-58012 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H. EPSS: 0.6%.

Is CVE-2026-58012 actively exploited?

No confirmed active exploitation of CVE-2026-58012 as of 2026-11-25.

How do I remediate CVE-2026-58012?

Advisory: https://access.redhat.com/errata/RHSA-2026:49512

What systems are affected by CVE-2026-58012?

CVE-2026-58012 affects Gnome Glib; Redhat Enterprise Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gnome","product":"Glib","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-24.