Vulnerability · Published Nov 26, 2025 · Assigned by redhat
CVE-2025-13601Glib: integer overflow in in g_escape_uri_string()
High 7.7
In plain English
A high-severity integer overflow in glib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | glib2 | 2.80.4-10.el10_1.12 | ALSA-2026:0975 |
| AlmaLinux:8 | glib2 | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:9 | glib2 | 2.68.4-18.el9_7.1 | ALSA-2026:0936 |
| AlmaLinux:10 | glib2-devel | 2.80.4-10.el10_1.12 | ALSA-2026:0975 |
| AlmaLinux:8 | glib2-devel | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:9 | glib2-devel | 2.68.4-18.el9_7.1 | ALSA-2026:0936 |
| AlmaLinux:10 | glib2-doc | 2.80.4-10.el10_1.12 | ALSA-2026:0975 |
| AlmaLinux:8 | glib2-doc | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:9 | glib2-doc | 2.68.4-18.el9_7.1 | ALSA-2026:0936 |
| AlmaLinux:8 | glib2-fam | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:10 | glib2-static | 2.80.4-10.el10_1.12 | ALSA-2026:0975 |
| AlmaLinux:8 | glib2-static | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:9 | glib2-static | 2.68.4-18.el9_7.1 | ALSA-2026:0936 |
| AlmaLinux:10 | glib2-tests | 2.80.4-10.el10_1.12 | ALSA-2026:0975 |
| AlmaLinux:8 | glib2-tests | 2.56.4-168.el8_10 | ALSA-2026:0991 |
| AlmaLinux:9 | glib2-tests | 2.68.4-18.el9_7.1 | ALSA-2026:0936 |
| AlmaLinux:10 | mingw32-glib2 | 2.87.0-1.el10 | ALSA-2026:18344 |
| AlmaLinux:9 | mingw32-glib2 | 2.78.6-3.el9 | ALSA-2026:18705 |
| AlmaLinux:10 | mingw32-glib2-static | 2.87.0-1.el10 | ALSA-2026:18344 |
| AlmaLinux:9 | mingw32-glib2-static | 2.78.6-3.el9 | ALSA-2026:18705 |
| AlmaLinux:10 | mingw64-glib2 | 2.87.0-1.el10 | ALSA-2026:18344 |
| AlmaLinux:9 | mingw64-glib2 | 2.78.6-3.el9 | ALSA-2026:18705 |
| AlmaLinux:10 | mingw64-glib2-static | 2.87.0-1.el10 | ALSA-2026:18344 |
| AlmaLinux:9 | mingw64-glib2-static | 2.78.6-3.el9 | ALSA-2026:18705 |
| Debian:12 | glib2.0 | 2.74.6-2+deb12u8 | DEBIAN-CVE-2025-13601 |
| Debian:13 | glib2.0 | 2.84.4-3~deb13u2 | DEBIAN-CVE-2025-13601 |
| Debian:14 | glib2.0 | 2.86.3-1 | DEBIAN-CVE-2025-13601 |
| Rocky Linux:10 | glib2 | 0:2.80.4-10.el10_1.12 | RLSA-2026:0975 |
| Rocky Linux:8 | glib2 | 0:2.56.4-168.el8_10 | RLSA-2026:0991 |
| Rocky Linux:9 | glib2 | 0:2.68.4-18.el9_7.1 | RLSA-2026:0936 |
| Rocky Linux:10 | mingw-glib2 | 0:2.87.0-1.el10 | RLSA-2026:18344 |
| Rocky Linux:9 | mingw-glib2 | 0:2.78.6-3.el9 | RLSA-2026:18705 |
| Ubuntu:22.04:LTS | glib2.0 | 2.72.4-0ubuntu2.7 | USN-7942-1 |
| Ubuntu:22.04:LTS | glib2.0 | 2.72.4-0ubuntu2.7 | UBUNTU-CVE-2025-13601 |
| Ubuntu:24.04:LTS | glib2.0 | 2.80.0-6ubuntu3.6 | USN-7942-1 |
| Ubuntu:24.04:LTS | glib2.0 | 2.80.0-6ubuntu3.6 | UBUNTU-CVE-2025-13601 |
| Ubuntu:25.10 | glib2.0 | 2.86.0-2ubuntu0.1 | UBUNTU-CVE-2025-13601 |
| Ubuntu:25.10 | glib2.0 | 2.86.0-2ubuntu0.1 | USN-7942-1 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
References
- RHSA-2026:0936 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0975 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0991 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1323 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1324 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1326 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1327 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1465 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1608 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1624 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1625 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1626 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1627 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1652 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1736 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:18344 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:18705 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2064 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2072 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2485 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2563 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2633 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2659 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2671 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:2974 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:3415 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:4419 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:7461 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-13601 vdb-entry, x_refsource_REDHAT
- RHBZ#2416741 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/glib/-/issues/3827
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4914
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html