CVE Catalog

CVE-2025-13601

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

22th percentile - higher than 22% of all known CVEs

Summary

A heap-based buffer overflow was found in glib due to an incorrect buffer size calculation in the g_escape_uri_string() function. If the string contains a very large number of characters that need escaping, the length calculation may overflow, leading to a write beyond the allocated buffer.

Risk Assessment

An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service, compromising data confidentiality, integrity, and availability.

Recommendation

Immediately update glib to a version that fixes the buffer size calculation in the g_escape_uri_string() function.

Other vulnerabilities in glib

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS