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.
{
"license": "CC-BY-4.0",
"sources": [
{
"id": "CVE-2026-58012",
"published": "2026-06-30T13:19:17.330Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58012",
"modified": "2026-08-03T06:16:38.590Z",
"database_specific": {
"status": "Modified"
},
"imported": "2026-08-11T06:49:24.088Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58012"
},
{
"id": "GHSA-vwg8-37h9-g38g",
"imported": "2026-08-11T06:49:24.610Z",
"published": "2026-06-30T15:30:45Z",
"modified": "2026-08-03T06:32:44Z",
"html_url": "https://github.com/advisories/GHSA-vwg8-37h9-g38g",
"url": "https://api.github.com/advisories/GHSA-vwg8-37h9-g38g"
},
{
"published": "2026-06-30T12:57:21Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-40314",
"id": "EUVD-2026-40314",
"modified": "2026-08-03T04:04:35Z",
"imported": "2026-08-11T06:49:24.356Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-40314"
}
]
}