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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13601.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:2.80.4-10.el10_1.12"
},
{
"fixed": "0:2.87.0-1.el10"
},
{
"fixed": "0:2.80.4-4.el10_0.8"
},
{
"fixed": "0:2.56.1-11.el7_9"
},
{
"fixed": "0:2.56.4-168.el8_10"
},
{
"fixed": "0:2.56.4-8.el8_2.4"
},
{
"fixed": "0:2.56.4-10.el8_4.4"
},
{
"fixed": "0:2.56.4-10.el8_4.4"
},
{
"fixed": "0:2.56.4-158.el8_6.4"
},
{
"fixed": "0:2.56.4-158.el8_6.4"
},
{
"fixed": "0:2.56.4-158.el8_6.4"
},
{
"fixed": "0:2.56.4-164.el8_8"
},
{
"fixed": "0:2.56.4-164.el8_8"
},
{
"fixed": "0:2.68.4-18.el9_7.1"
},
{
"fixed": "0:2.78.6-3.el9"
},
{
"fixed": "0:2.68.4-18.el9_7.1"
},
{
"fixed": "0:2.68.4-5.el9_0.4"
},
{
"fixed": "0:2.68.4-7.el9_2.4"
},
{
"fixed": "0:2.68.4-14.el9_4.5"
},
{
"fixed": "0:2.68.4-16.el9_6.4"
},
{
"fixed": "412.86.202602021310-0"
},
{
"fixed": "413.92.202602240113-0"
},
{
"fixed": "414.92.202602171627-0"
},
{
"fixed": "415.92.202603101737-0"
},
{
"fixed": "416.94.202602101357-0"
},
{
"fixed": "417.94.202602090846-0"
},
{
"fixed": "418.94.202602022246-0"
},
{
"fixed": "4.19.9.6.202602112047-0"
},
{
"fixed": "1769512383"
},
{
"fixed": "1769104765"
},
{
"fixed": "1769111774"
},
{
"fixed": "2.88.0-1.1.hum1"
},
{
"fixed": "1770740405"
},
{
"fixed": "1770808689"
},
{
"fixed": "1770807477"
},
{
"fixed": "1770646925"
},
{
"fixed": "1770808765"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.86.3"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.86.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.86.3"
}
],
"source": "CPE_RANGE"
}
]
}