| Name | CVE-2025-13601 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1121488 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| glib2.0 (PTS) | bullseye | 2.66.8-1+deb11u4 | vulnerable |
| bullseye (security) | 2.66.8-1+deb11u6 | vulnerable | |
| bookworm | 2.74.6-2+deb12u7 | vulnerable | |
| bookworm (security) | 2.74.6-2+deb12u2 | vulnerable | |
| trixie | 2.84.4-3~deb13u1 | vulnerable | |
| forky | 2.86.2-1 | vulnerable | |
| sid | 2.86.3-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| glib2.0 | source | (unstable) | 2.86.3-1 | 1121488 |
[trixie] - glib2.0 <no-dsa> (Minor issue)
[bookworm] - glib2.0 <no-dsa> (Minor issue)
https://gitlab.gnome.org/GNOME/glib/-/issues/3827
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4914
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4915
Fixed by: https://gitlab.gnome.org/GNOME/glib/-/commit/9bcd65ba5fa1b92ff0fb8380faea335ccef56253 (2.86.3)
Fixed by: https://gitlab.gnome.org/GNOME/glib/-/commit/7e5489cb921d0531ee4ebc9938da30a02084b2fa (2.86.3)