CVE-2025-13601
Glib: integer overflow in in g_escape_uri_string()
Check your servers for CVE-2025-13601
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-13601 affects glib2, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 26 Nov 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-190 Integer Overflow or Wraparound
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
glib
package
glib |
affected before 2.86.3
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
glib2 |
unaffected 0:2.80.4-10.el10_1.12 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10
package
mingw-glib2 |
unaffected 0:2.87.0-1.el10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
glib2 |
unaffected 0:2.80.4-4.el10_0.8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
glib2 |
unaffected 0:2.56.1-11.el7_9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
glib2 |
unaffected 0:2.56.4-168.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
glib2 |
unaffected 0:2.56.4-8.el8_2.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
glib2 |
unaffected 0:2.56.4-10.el8_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
glib2 |
unaffected 0:2.56.4-10.el8_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
glib2 |
unaffected 0:2.56.4-158.el8_6.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
glib2 |
unaffected 0:2.56.4-158.el8_6.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
glib2 |
unaffected 0:2.56.4-158.el8_6.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
glib2 |
unaffected 0:2.56.4-164.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
glib2 |
unaffected 0:2.56.4-164.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
glib2 |
unaffected 0:2.68.4-18.el9_7.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
mingw-glib2 |
unaffected 0:2.78.6-3.el9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
glib2 |
unaffected 0:2.68.4-18.el9_7.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
glib2 |
unaffected 0:2.68.4-5.el9_0.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
glib2 |
unaffected 0:2.68.4-7.el9_2.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
glib2 |
unaffected 0:2.68.4-14.el9_4.5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
glib2 |
unaffected 0:2.68.4-16.el9_6.4 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift/ose-rhel-coreos-8 |
unaffected 412.86.202602021310-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift/ose-rhel-coreos-9 |
unaffected 413.92.202602240113-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
openshift/ose-rhel-coreos-9 |
unaffected 414.92.202602171627-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
openshift/ose-rhel-coreos-9 |
unaffected 415.92.202603101737-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift/ose-rhel-coreos-9 |
unaffected 416.94.202602101357-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift/ose-rhel-coreos-9 |
unaffected 417.94.202602090846-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift/ose-rhel-coreos-9 |
unaffected 418.94.202602022246-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.19
package
openshift/ose-rhel-coreos-9 |
unaffected 4.19.9.6.202602112047-0 and later
Other versions: affected
|
|
Red Hat Ceph Storage 8
package
rhceph/rhceph-8-rhel9 |
unaffected 1769512383 and later
Other versions: affected
|
|
Red Hat Discovery 2
package
discovery/discovery-server-rhel9 |
unaffected 1769104765 and later
Other versions: affected
|
|
Red Hat Discovery 2
package
discovery/discovery-ui-rhel9 |
unaffected 1769111774 and later
Other versions: affected
|
|
Red Hat Hardened Images
package
glib2-main |
unaffected 2.88.0-1.1.hum1 and later
Other versions: affected
|
|
Red Hat Insights proxy 1.5
package
insights-proxy/insights-proxy-container-rhel9 |
unaffected 1770740405 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/cds-rhel9 |
unaffected 1770808689 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/haproxy-rhel9 |
unaffected 1770807477 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/installer-rhel9 |
unaffected 1770646925 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/rhua-rhel9 |
unaffected 1770808765 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
glib2 |
unknown the record does not list versions
|
|
Red Hat Enterprise Linux 8
package
mingw-glib2 |
affected the record does not list versions
|
Is my server affected?
Find the installed version of glib2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i glib2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-13601 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-13601RHEL, Rocky, Alma, Fedora
rpm -q glib2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-13601Alpine
apk list --installed | grep -i glib2With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-13601
trivy image --scanners vuln IMAGE | grep CVE-2025-13601
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2026:0936 access.redhat.com · vendor advisory
- RHSA-2026:0975 access.redhat.com · vendor advisory
- RHSA-2026:0991 access.redhat.com · vendor advisory
- RHSA-2026:1323 access.redhat.com · vendor advisory
- RHSA-2026:1324 access.redhat.com · vendor advisory
- RHSA-2026:1326 access.redhat.com · vendor advisory
- RHSA-2026:1327 access.redhat.com · vendor advisory
- RHSA-2026:1465 access.redhat.com · vendor advisory
- RHSA-2026:1608 access.redhat.com · vendor advisory
- RHSA-2026:1624 access.redhat.com · vendor advisory
- RHSA-2026:1625 access.redhat.com · vendor advisory
- RHSA-2026:1626 access.redhat.com · vendor advisory
18 more
- RHSA-2026:1627 access.redhat.com · vendor advisory
- RHSA-2026:1652 access.redhat.com · vendor advisory
- RHSA-2026:1736 access.redhat.com · vendor advisory
- RHSA-2026:18344 access.redhat.com · vendor advisory
- RHSA-2026:18705 access.redhat.com · vendor advisory
- RHSA-2026:2064 access.redhat.com · vendor advisory
- RHSA-2026:2072 access.redhat.com · vendor advisory
- RHSA-2026:2485 access.redhat.com · vendor advisory
- RHSA-2026:2563 access.redhat.com · vendor advisory
- RHSA-2026:2633 access.redhat.com · vendor advisory
- RHSA-2026:2659 access.redhat.com · vendor advisory
- RHSA-2026:2671 access.redhat.com · vendor advisory
- RHSA-2026:2974 access.redhat.com · vendor advisory
- RHSA-2026:3415 access.redhat.com · vendor advisory
- RHSA-2026:4419 access.redhat.com · vendor advisory
- RHSA-2026:7461 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-13601 access.redhat.com · vdb entry
- RHBZ#2416741 bugzilla.redhat.com · issue tracking
Other references
- https://gitlab.gnome.org/GNOME/glib/-/issues/3827 gitlab.gnome.org
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4914 gitlab.gnome.org
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html cert-portal.siemens.com
Source: the record CVE-2025-13601 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse