Vulnerabilities

CVE-2026-58012

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

Description as published by the source, in English.

Key facts

Published
2026-06-30
Last modified
2026-11-24
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.4 % higher than 29 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Gnome Glib < 2.86.5 Affected
Gnome Glib 2.88.0 Affected
Redhat Enterprise Linux 10.0 Affected
Redhat Enterprise Linux 6.0 Affected
Redhat Enterprise Linux 7.0 Affected
Redhat Enterprise Linux 8.0 Affected
Redhat Enterprise Linux 9.0 Affected

Weakness type

  • CWE-126: Buffer Over-read

    The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities