HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2026-58012 — A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace fu...

·Source: NIST NVD

Updated:

Executive Summary

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 b

Analysis

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. CVSS Score: 6.5. Published: 2026-06-30T13:19:17.330.

Indicators of Compromise (1)

CVE (1)
CVE-2026-58012
Source Attribution

Originally published by NIST NVD on Jun 30, 2026. Verified by: NIST.

Related Threats