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

- Severity: High 7.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-26T14:44:22.680Z
- Modified: 2026-11-23T23:16:59.930Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- glib: before 2.86.3
- glib2: no versions given (not affected: from 0:2.80.4-10.el10_1.12 before *; from 0:2.80.4-4.el10_0.8 before *; from 0:2.56.1-11.el7_9 before *; from 0:2.56.4-168.el8_10 before *; from 0:2.56.4-8.el8_2.4 before *; from 0:2.56.4-10.el8_4.4 before *; from 0:2.56.4-158.el8_6.4 before *; from 0:2.56.4-164.el8_8 before *; from 0:2.68.4-18.el9_7.1 before *; from 0:2.68.4-5.el9_0.4 before *; from 0:2.68.4-7.el9_2.4 before *; from 0:2.68.4-14.el9_4.5 before *)
- mingw-glib2: no versions given (not affected: from 0:2.87.0-1.el10 before *; from 0:2.78.6-3.el9 before *)
- openshift/ose-rhel-coreos-8: no versions given (not affected: from 412.86.202602021310-0 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 413.92.202602240113-0 before *; from 414.92.202602171627-0 before *; from 415.92.202603101737-0 before *; from 416.94.202602101357-0 before *; from 417.94.202602090846-0 before *; from 418.94.202602022246-0 before *; from 4.19.9.6.202602112047-0 before *)
- rhceph/rhceph-8-rhel9: no versions given (not affected: from 1769512383 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from 1769104765 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1769111774 before *)
- glib2-main: no versions given (not affected: from 2.88.0-1.1.hum1 before *)
- insights-proxy/insights-proxy-container-rhel9: no versions given (not affected: from 1770740405 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1770808689 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1770807477 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1770646925 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1770808765 before *)
- redhat codeready_linux_builder: 9.0
- redhat codeready_linux_builder_for_ibm_z_systems: 9.0_s390x; 10.0_s390x; 8.0_s390x; 9.4_s390x; 9.6_s390x
- redhat codeready_linux_builder_for_power_little_endian: 9.0_ppc64le; 10.0_ppc64le; 8.0_ppc64le; 9.4_ppc64le; 9.6_ppc64le
- redhat codeready_linux_builder_for_x86_64: 9.0; 10.0; 8.0; 9.4; 9.6
- redhat enterprise_linux_for_arm_64: 9.0; 10.0; 8.0; 9.2; 9.4; 9.6
- redhat enterprise_linux_for_ibm_z_systems: 9.0_s390x; 10.0_s390x; 8.0_s390x; 9.2_s390x; 9.4_s390x; 9.6_s390x
- redhat enterprise_linux_for_power_little_endian: 9.0_ppc64le; 10.0_ppc64le; 8.0_ppc64le; 9.2_ppc64le; 9.4_ppc64le; 9.6_ppc64le
- redhat enterprise_linux_for_x86_64: 9.0; 10.0; 8.0; 9.2; 9.4; 9.6; 8.6; 8.8
- redhat codeready_linux_builder_for_arm64: 10.0; 8.0; 9.6
- redhat enterprise_linux_server_aus: 9.2; 9.4; 9.6; 8.6; 8.4; 8.2
- redhat codeready_linux_builder_for_arm64_eus: 9.4; 10.0
- redhat enterprise_linux_for_x86_64_eus: 9.4; 10.0; 9.6; 8.6; 8.8; 8.4
- redhat enterprise_linux_server_for_power_little_endian: 9.4_ppc64le; 10.0_ppc64le; 9.6_ppc64le; 8.6_ppc64le; 8.8_ppc64le
- redhat enterprise_linux_server_for_power_little_endian_eus: 9.4_ppc64le
- redhat codeready_linux_builder_for_ibm_z_systems_eus: 10.0_s390x
- redhat codeready_linux_builder_for_power_little_endian_eus: 10.0_ppc64le
- redhat codeready_linux_builder_for_x86_64_eus: 10.0
- redhat enterprise_linux_for_arm_64_eus: 10.0
- redhat enterprise_linux_for_ibm_z_systems_eus: 10.0_s390x
- redhat enterprise_linux_for_power_little_endian_eus: 10.0_ppc64le; 9.6_ppc64le
- redhat enterprise_linux_server_tus: 8.6; 8.8
- redhat ceph_storage: 8.0
- redhat discovery: 2.0
- gnome glib: before 2.86.3
- redhat openshift_container_platform: 4.12; 4.16; 4.17; 4.18; 4.19
- redhat openshift_container_platform_for_arm64: 4.12; 4.16; 4.17; 4.18; 4.19
- redhat openshift_container_platform_for_ibm_z: 4.12; 4.16; 4.17; 4.18; 4.19
- redhat openshift_container_platform_for_linuxone: 4.12; 4.16; 4.17; 4.18; 4.19
- redhat openshift_container_platform_for_power: 4.12; 4.16; 4.17; 4.18; 4.19

## References

- <https://gitlab.gnome.org/GNOME/glib/-/issues/3827> (exploit, issue-tracking)
- <https://access.redhat.com/errata/RHSA-2026:0936> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0975> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0991> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1323> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1324> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1326> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1327> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1465> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1608> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1624> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1625> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1626> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1627> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1652> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:1736> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18344> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18705> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2064> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2072> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2485> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2563> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2633> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2659> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2671> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2974> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:3415> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:4419> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7461> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-13601> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2416741> (issue-tracking, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4914> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2025-13601](https://www.cve.org/CVERecord?id=CVE-2025-13601), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2025-13601](https://nvd.nist.gov/vuln/detail/CVE-2025-13601), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2025-13601 · Whole record: https://cve.day/CVE-2025-13601.json · Rebuilt by cve.day 2026-11-25T22:59:08.037Z
