{"id":"DEBIAN-CVE-2025-13601","details":"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.","modified":"2026-09-01T16:06:08.822927731Z","published":"2025-11-26T15:15:51.723Z","upstream":["CVE-2025-13601"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-13601"}],"affected":[{"package":{"name":"glib2.0","ecosystem":"Debian:12","purl":"pkg:deb/debian/glib2.0?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.74.6-2+deb12u8"}]}],"versions":["2.74.6-2","2.74.6-2+deb12u1","2.74.6-2+deb12u2","2.74.6-2+deb12u3","2.74.6-2+deb12u4","2.74.6-2+deb12u5","2.74.6-2+deb12u6","2.74.6-2+deb12u7"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-13601.json"}},{"package":{"name":"glib2.0","ecosystem":"Debian:13","purl":"pkg:deb/debian/glib2.0?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.84.4-3~deb13u2"}]}],"versions":["2.84.3-1","2.84.4-1","2.84.4-2","2.84.4-3~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-13601.json"}},{"package":{"name":"glib2.0","ecosystem":"Debian:14","purl":"pkg:deb/debian/glib2.0?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.86.3-1"}]}],"versions":["2.84.3-1","2.84.4-1","2.84.4-2","2.84.4-3","2.84.4-3~deb13u1","2.84.4-3~deb13u2","2.84.4-3~deb13u3","2.84.4-3~deb13u4","2.84.4-3~deb13u5","2.85.1-1","2.85.1-2","2.85.2-2","2.85.3-1","2.85.4-1","2.86.0-1","2.86.0-2","2.86.0-3","2.86.0-4","2.86.0-5","2.86.0-6","2.86.0-7","2.86.1-1","2.86.1-2","2.86.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-13601.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}