A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the g_escape_uri_string() function. If the string to escape contains a very large number of unacceptable characters (which would need escaping), the calculation of the length of the escaped string could overflow, leading to a potential write off the end of the newly allocated string.
{
"sources": [
{
"published": "2025-11-26T15:15:51.723Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-13601",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-13601",
"imported": "2026-07-17T21:59:35.690Z",
"id": "CVE-2025-13601",
"database_specific": {
"status": "Modified"
},
"modified": "2026-06-30T00:16:52.320Z"
}
],
"license": "CC-BY-4.0"
}