CVE-2025-13601
Glib: integer overflow in in g_escape_uri_string()
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 26, 2025
- Updated
- Aug 31, 2026
- Reserved
- Nov 24, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.7 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | redhat |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
glib |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Red Hat OpenShift Container Platform 4.12Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.14Red Hat |
|
Red Hat OpenShift Container Platform 4.15Red Hat |
|
Red Hat OpenShift Container Platform 4.16Red Hat |
|
Red Hat OpenShift Container Platform 4.17Red Hat |
|
Red Hat OpenShift Container Platform 4.18Red Hat |
|
Red Hat OpenShift Container Platform 4.19Red Hat |
|
Red Hat Ceph Storage 8Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
Red Hat Insights proxy 1.5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:0936vendor-advisory
- RHSA-2026:0975vendor-advisory
- RHSA-2026:0991vendor-advisory
- RHSA-2026:1323vendor-advisory
- RHSA-2026:1324vendor-advisory
- RHSA-2026:1326vendor-advisory
- RHSA-2026:1327vendor-advisory
- RHSA-2026:1465vendor-advisory
- RHSA-2026:1608vendor-advisory
- RHSA-2026:1624vendor-advisory
- RHSA-2026:1625vendor-advisory
- RHSA-2026:1626vendor-advisory
- RHSA-2026:1627vendor-advisory
- RHSA-2026:1652vendor-advisory
- RHSA-2026:1736vendor-advisory
- RHSA-2026:18344vendor-advisory
- RHSA-2026:18705vendor-advisory
- RHSA-2026:2064vendor-advisory
- RHSA-2026:2072vendor-advisory
- RHSA-2026:2485vendor-advisory
- RHSA-2026:2563vendor-advisory
- RHSA-2026:2633vendor-advisory
- RHSA-2026:2659vendor-advisory
- RHSA-2026:2671vendor-advisory
- RHSA-2026:2974vendor-advisory
- RHSA-2026:3415vendor-advisory
- RHSA-2026:4419vendor-advisory
- RHSA-2026:7461vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-13601vdb-entry
- RHBZ#2416741issue-tracking
- https://gitlab.gnome.org/GNOME/glib/-/issues/3827
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4914
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.