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
This vulnerability involves an integer overflow in the g_escape_uri_string() function of the glib library, which causes incorrect buffer size calculation when escaping strings with many characters needing escaping. The overflow can result in a heap-based buffer overflow, potentially allowing an attacker to overwrite memory beyond the allocated buffer. The flaw affects Red Hat Enterprise Linux 9 and 10 distributions. Red Hat has issued security advisories RHSA-2026:0936 and RHSA-2026:0975 providing updated glib2 packages that fix this vulnerability. The CVSS 3.1 base score is 7.7, indicating high severity with local attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impacts.
Potential Impact
Successful exploitation of this vulnerability could lead to arbitrary code execution or denial of service due to heap-based buffer overflow. The integrity and availability of affected systems could be compromised. However, there are no known exploits in the wild currently. The vulnerability is rated high severity with a CVSS score of 7.7.
Mitigation Recommendations
Red Hat has released official security updates for glib2 in Red Hat Enterprise Linux 9 and 10 to fix this vulnerability. Users should apply the relevant glib2 package updates as described in Red Hat advisories RHSA-2026:0936 and RHSA-2026:0975. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates mitigates the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an integer overflow in the g_escape_uri_string() function of the glib library, which causes incorrect buffer size calculation when escaping strings with many characters needing escaping. The overflow can result in a heap-based buffer overflow, potentially allowing an attacker to overwrite memory beyond the allocated buffer. The flaw affects Red Hat Enterprise Linux 9 and 10 distributions. Red Hat has issued security advisories RHSA-2026:0936 and RHSA-2026:0975 providing updated glib2 packages that fix this vulnerability. The CVSS 3.1 base score is 7.7, indicating high severity with local attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impacts.
Potential Impact
Successful exploitation of this vulnerability could lead to arbitrary code execution or denial of service due to heap-based buffer overflow. The integrity and availability of affected systems could be compromised. However, there are no known exploits in the wild currently. The vulnerability is rated high severity with a CVSS score of 7.7.
Mitigation Recommendations
Red Hat has released official security updates for glib2 in Red Hat Enterprise Linux 9 and 10 to fix this vulnerability. Users should apply the relevant glib2 package updates as described in Red Hat advisories RHSA-2026:0936 and RHSA-2026:0975. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates mitigates the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-11-24T12:54:51.473Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6927165b55a49d3da8582be0
Added to database: 11/26/2025, 3:01:47 PM
Last enriched: 4/22/2026, 6:18:08 AM
Last updated: 5/10/2026, 1:37:24 PM
Views: 622
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.