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.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.3%top 71.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:10glib22.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux:8glib22.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:9glib22.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux:10glib2-devel2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux:8glib2-devel2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:9glib2-devel2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux:10glib2-doc2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux:8glib2-doc2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:9glib2-doc2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux:8glib2-fam2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:10glib2-static2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux:8glib2-static2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:9glib2-static2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux:10glib2-tests2.80.4-10.el10_1.12ALSA-2026:0975
AlmaLinux:8glib2-tests2.56.4-168.el8_10ALSA-2026:0991
AlmaLinux:9glib2-tests2.68.4-18.el9_7.1ALSA-2026:0936
AlmaLinux:10mingw32-glib22.87.0-1.el10ALSA-2026:18344
AlmaLinux:9mingw32-glib22.78.6-3.el9ALSA-2026:18705
AlmaLinux:10mingw32-glib2-static2.87.0-1.el10ALSA-2026:18344
AlmaLinux:9mingw32-glib2-static2.78.6-3.el9ALSA-2026:18705
AlmaLinux:10mingw64-glib22.87.0-1.el10ALSA-2026:18344
AlmaLinux:9mingw64-glib22.78.6-3.el9ALSA-2026:18705
AlmaLinux:10mingw64-glib2-static2.87.0-1.el10ALSA-2026:18344
AlmaLinux:9mingw64-glib2-static2.78.6-3.el9ALSA-2026:18705
Debian:12glib2.02.74.6-2+deb12u8DEBIAN-CVE-2025-13601
Debian:13glib2.02.84.4-3~deb13u2DEBIAN-CVE-2025-13601
Debian:14glib2.02.86.3-1DEBIAN-CVE-2025-13601
Rocky Linux:10glib20:2.80.4-10.el10_1.12RLSA-2026:0975
Rocky Linux:8glib20:2.56.4-168.el8_10RLSA-2026:0991
Rocky Linux:9glib20:2.68.4-18.el9_7.1RLSA-2026:0936
Rocky Linux:10mingw-glib20:2.87.0-1.el10RLSA-2026:18344
Rocky Linux:9mingw-glib20:2.78.6-3.el9RLSA-2026:18705
Ubuntu:22.04:LTSglib2.02.72.4-0ubuntu2.7USN-7942-1
Ubuntu:22.04:LTSglib2.02.72.4-0ubuntu2.7UBUNTU-CVE-2025-13601
Ubuntu:24.04:LTSglib2.02.80.0-6ubuntu3.6USN-7942-1
Ubuntu:24.04:LTSglib2.02.80.0-6ubuntu3.6UBUNTU-CVE-2025-13601
Ubuntu:25.10glib2.02.86.0-2ubuntu0.1UBUNTU-CVE-2025-13601
Ubuntu:25.10glib2.02.86.0-2ubuntu0.1USN-7942-1

Affected products (as reported)

VendorProductVersions
glib 0 – before 2.86.3
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On see references
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support see references
Red Hat Red Hat OpenShift Container Platform 4.12 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.17 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.19 see references
Red Hat Red Hat Ceph Storage 8 see references

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References