CVE-2025-13601: Integer Overflow or Wraparound
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.
AI Analysis
Technical Summary
An integer overflow in the g_escape_uri_string() function of the glib library causes incorrect buffer size calculation when escaping strings with many characters needing escaping. This results in a heap-based buffer overflow, potentially allowing writes beyond the allocated memory. The vulnerability affects Red Hat Enterprise Linux versions 9 (from 9.0 up to but not including 9.8) and 10 (from 10.0 up to but not including 10.2). Red Hat has issued security advisories RHSA-2026:0936 and RHSA-2026:0975 providing updated glib2 packages that fix this issue.
Potential Impact
The vulnerability can lead to a heap-based buffer overflow due to integer overflow in buffer size calculation, which may allow an attacker to overwrite memory. According to the CVSS v3.1 score of 7.7 (High), the impact is high on integrity and availability, but no confidentiality impact is indicated. There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released official security updates for glib2 that fix this vulnerability. Users should apply the updates provided in advisories RHSA-2026:0936 for Red Hat Enterprise Linux 9 and RHSA-2026:0975 for Red Hat Enterprise Linux 10. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates mitigates the vulnerability.
CVE-2025-13601: Integer Overflow or Wraparound
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.
CVSS v3.1
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An integer overflow in the g_escape_uri_string() function of the glib library causes incorrect buffer size calculation when escaping strings with many characters needing escaping. This results in a heap-based buffer overflow, potentially allowing writes beyond the allocated memory. The vulnerability affects Red Hat Enterprise Linux versions 9 (from 9.0 up to but not including 9.8) and 10 (from 10.0 up to but not including 10.2). Red Hat has issued security advisories RHSA-2026:0936 and RHSA-2026:0975 providing updated glib2 packages that fix this issue.
Potential Impact
The vulnerability can lead to a heap-based buffer overflow due to integer overflow in buffer size calculation, which may allow an attacker to overwrite memory. According to the CVSS v3.1 score of 7.7 (High), the impact is high on integrity and availability, but no confidentiality impact is indicated. There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released official security updates for glib2 that fix this vulnerability. Users should apply the updates provided in advisories RHSA-2026:0936 for Red Hat Enterprise Linux 9 and RHSA-2026:0975 for Red Hat Enterprise Linux 10. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates mitigates the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-11-24T12:54:51.473Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2026:0936","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0975","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0991","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1323","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1324","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1326","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1327","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1465","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1608","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1624","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1625","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1626","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1627","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1652","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1736","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18344","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2064","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2072","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2485","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2563","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2633","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2659","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2671","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2974","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3415","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4419","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7461","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-13601","vendor":"Red Hat"}]
Threat ID: 6927165b55a49d3da8582be0
Added to database: 11/26/2025, 15:01:47 UTC
Last enriched: 07/02/2026, 22:15:59 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 900
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.