CVEfocus › CVE database › CVE-2025-13601

CVE-2025-13601Glib: integer overflow in in g_escape_uri_string()

CVSS 7.7 HighEPSS 0.3% (higher than 18% of CVEs)Published 2025-11-26Updated 2026-11-23Assigner: redhat

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.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

61Fixed
4Fix pending
9Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10glib2.0Fixed2.86.0-2ubuntu0.1UBUNTU-CVE-2025-13601
Ubuntu 24.04glib2.0Fixed2.80.0-6ubuntu3.6UBUNTU-CVE-2025-13601
Ubuntu 22.04glib2.0Fixed2.72.4-0ubuntu2.7UBUNTU-CVE-2025-13601
Ubuntu 20.04glib2.0Fix pending2.64.6-1~ubuntu20.04.9+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-13601
Ubuntu 18.04glib2.0Fix pending2.56.4-0ubuntu0.18.04.9+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-13601
Ubuntu 16.04glib2.0Fix pending2.48.2-0ubuntu4.8+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-13601
Ubuntu 14.04glib2.0Fix pending2.40.2-0ubuntu1.1+esm7 (Ubuntu Pro)UBUNTU-CVE-2025-13601
Debian 14glib2.0Fixed2.86.3-1DEBIAN-CVE-2025-13601
Debian 13glib2.0Fixed2.84.4-3~deb13u2DEBIAN-CVE-2025-13601
Debian 12glib2.0Fixed2.74.6-2+deb12u8DEBIAN-CVE-2025-13601
Red Hat Enterprise Linux 10glib2Fixed0:2.80.4-10.el10_1.12RHSA-2026:0975
Red Hat Enterprise Linux 10glib2-develFixed0:2.80.4-10.el10_1.12RHSA-2026:0975
Red Hat Enterprise Linux 10glib2-docFixed0:2.80.4-10.el10_1.12RHSA-2026:0975
Red Hat Enterprise Linux 10glib2-staticFixed0:2.80.4-10.el10_1.12RHSA-2026:0975
Red Hat Enterprise Linux 10glib2-testsFixed0:2.80.4-10.el10_1.12RHSA-2026:0975
Red Hat Enterprise Linux 10mingw-glib2Fixed0:2.87.0-1.el10RHSA-2026:18344
Red Hat Enterprise Linux 10mingw32-glib2Fixed0:2.87.0-1.el10RHSA-2026:18344
Red Hat Enterprise Linux 10mingw32-glib2-staticFixed0:2.87.0-1.el10RHSA-2026:18344
Red Hat Enterprise Linux 10mingw64-glib2Fixed0:2.87.0-1.el10RHSA-2026:18344
Red Hat Enterprise Linux 10mingw64-glib2-staticFixed0:2.87.0-1.el10RHSA-2026:18344
Red Hat Enterprise Linux 9glib2Fixed0:2.68.4-18.el9_7.1RHSA-2026:0936
Red Hat Enterprise Linux 9glib2-develFixed0:2.68.4-18.el9_7.1RHSA-2026:0936
Red Hat Enterprise Linux 9glib2-docFixed0:2.68.4-18.el9_7.1RHSA-2026:0936
Red Hat Enterprise Linux 9glib2-staticFixed0:2.68.4-18.el9_7.1RHSA-2026:0936
Red Hat Enterprise Linux 9glib2-testsFixed0:2.68.4-18.el9_7.1RHSA-2026:0936
Red Hat Enterprise Linux 9mingw-glib2Fixed0:2.78.6-3.el9RHSA-2026:18705
Red Hat Enterprise Linux 9mingw32-glib2Fixed0:2.78.6-3.el9RHSA-2026:18705
Red Hat Enterprise Linux 9mingw32-glib2-staticFixed0:2.78.6-3.el9RHSA-2026:18705
Red Hat Enterprise Linux 9mingw64-glib2Fixed0:2.78.6-3.el9RHSA-2026:18705
Red Hat Enterprise Linux 9mingw64-glib2-staticFixed0:2.78.6-3.el9RHSA-2026:18705
Red Hat Enterprise Linux 8glib2Fixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8glib2-develFixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8glib2-docFixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8glib2-famFixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8glib2-staticFixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8glib2-testsFixed0:2.56.4-168.el8_10RHSA-2026:0991
Red Hat Enterprise Linux 8mingw-glib2Will not fix
Will not fix
Red Hat Enterprise Linux 8mingw32-glib2Will not fix
Will not fix
Red Hat Enterprise Linux 8mingw32-glib2-staticWill not fix
Will not fix
Red Hat Enterprise Linux 8mingw64-glib2Will not fix
Will not fix
Red Hat Enterprise Linux 8mingw64-glib2-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6glib2Will not fix
Out of support scope
Red Hat Enterprise Linux 6glib2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6glib2-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6glib2-staticWill not fix
Out of support scope
AlmaLinux 10glib2Fixed2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux 10glib2-develFixed2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux 10glib2-docFixed2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux 10glib2-staticFixed2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux 10glib2-testsFixed2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux 10mingw32-glib2Fixed2.87.0-1.el10ALSA-2026:18344
AlmaLinux 10mingw32-glib2-staticFixed2.87.0-1.el10ALSA-2026:18344
AlmaLinux 10mingw64-glib2Fixed2.87.0-1.el10ALSA-2026:18344
AlmaLinux 10mingw64-glib2-staticFixed2.87.0-1.el10ALSA-2026:18344
AlmaLinux 9glib2Fixed2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux 9glib2-develFixed2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux 9glib2-docFixed2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux 9glib2-staticFixed2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux 9glib2-testsFixed2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux 9mingw32-glib2Fixed2.78.6-3.el9ALSA-2026:18705
AlmaLinux 9mingw32-glib2-staticFixed2.78.6-3.el9ALSA-2026:18705
AlmaLinux 9mingw64-glib2Fixed2.78.6-3.el9ALSA-2026:18705
AlmaLinux 9mingw64-glib2-staticFixed2.78.6-3.el9ALSA-2026:18705
AlmaLinux 8glib2Fixed2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux 8glib2-develFixed2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux 8glib2-docFixed2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux 8glib2-famFixed2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux 8glib2-staticFixed2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux 8glib2-testsFixed2.56.4-168.el8_10ALSA-2026:0991
Rocky Linux 10glib2Fixed0:2.80.4-10.el10_1.12RLSA-2026:0975
Rocky Linux 10mingw-glib2Fixed0:2.87.0-1.el10RLSA-2026:18344
Rocky Linux 9glib2Fixed0:2.68.4-18.el9_7.1RLSA-2026:0936
Rocky Linux 9mingw-glib2Fixed0:2.78.6-3.el9RLSA-2026:18705
Rocky Linux 8glib2Fixed0:2.56.4-168.el8_10RLSA-2026:0991

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.