Back to overview

CVE-2026-58012

MEDIUM
6.5
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-58012
State
PUBLISHED
Assigner
redhat
Reserved
2026-06-26 20:59 UTC
Published
2026-06-30 12:57 UTC
Last updated
2026-06-30 14:38 UTC
Primary CWE
CWE-126
Buffer Over-read
Vendor / Product
GNOME / GLib
Sources
cve.org  ·  NVD

Severity & Metrics

6.5 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
partial
Affected products (10)
VendorProductPlatformVersions
GNOME GLib 0 < 2.86.5, 0 < 2.88.1
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 6
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat Hardened Images
Weakness (CWE)
CWESourceDescription
CWE-126 cna Buffer Over-read
CVSS scores (1)
ScoreSeverityVersionSourceVector
6.5 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Back to overview