CVE-2025-13601
Glib: integer overflow in in g_escape_uri_string()
Reported by redhat · Published November 26, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mingw64-glib2-debuginfo | errata.rockylinux.org | 2.87.0-1.el10.noarch |
| glib2-doc | Amazon Linux | 2.82.2-767.amzn2023, 2.56.1-9.amzn2.0.12 |
| mingw-glib2 | errata.rockylinux.org | 2.87.0-1.el10.src, 2.78.6-3.el9.src |
| mingw32-glib2-debuginfo | errata.rockylinux.org | 2.87.0-1.el10.noarch, 2.78.6-3.el9.noarch |
| mingw64-glib2 | errata.rockylinux.org | 2.87.0-1.el10.noarch, 2.78.6-3.el9.noarch |
| glib | gitlab.gnome.org | 2.86.3 |
| glib2-static | Amazon Linux | 2.82.2-767.amzn2023, 2.56.1-9.amzn2.0.12 |
| mingw64-glib2-static | errata.rockylinux.org | 2.78.6-3.el9.noarch |
| mingw32-glib2-static | errata.rockylinux.org | 2.87.0-1.el10.noarch, 2.78.6-3.el9.noarch |
| glib2-tests | Amazon Linux | 2.82.2-767.amzn2023, 2.56.1-9.amzn2.0.12 |
| glib2-devel | Amazon Linux | 2.56.1-9.amzn2.0.12 |
| glib2 | Amazon Linux | 2.82.2-767.amzn2023, 2.56.1-9.amzn2.0.12 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.80.4-10.el10_1.12 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.87.0-1.el10 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:2.80.4-4.el10_0.8 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.56.1-11.el7_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.56.4-168.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:2.56.4-8.el8_2.4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:2.56.4-10.el8_4.4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:2.56.4-10.el8_4.4 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:2.56.4-158.el8_6.4 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:2.56.4-158.el8_6.4 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:2.56.4-158.el8_6.4 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:2.56.4-164.el8_8 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:2.56.4-164.el8_8 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.68.4-18.el9_7.1 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.78.6-3.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.68.4-18.el9_7.1 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:2.68.4-5.el9_0.4 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:2.68.4-7.el9_2.4 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:2.68.4-14.el9_4.5 |
…and 62 more
Timeline
- Nov 26, 2025 Coalition ESS Score (4 in total, the first dated here)
- Nov 26, 2025 CVE Published
- Nov 26, 2025 PoC Published (16 in total, the first dated here)
- Nov 27, 2025 EPSS Score (30 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (34 in total, the first dated here)
- Mar 21, 2026 Security Advisory (69 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-13601
vulnetix vdb fixes CVE-2025-13601
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-13601/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:0936 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:0975 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:0991 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1323 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1324 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1326 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1327 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1465 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1608 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1624 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1625 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1626 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1627 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1652 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:1736 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:18344 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:18705 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:2064 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:2072 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:2485 vendor-advisoryx_refsource_REDHAT
…and 13 more