CVE Database›Document archive›CVE-2025-13601

CVE-2025-13601

glib: Integer overflow in in g_escape_uri_string()

Loading…

Severity

Moderate

Red Hat Product Security

7.7

CVSS 3.1

Review impact separately from score.

Published · November 24, 2025

Updated · September 1, 2026

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 score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 7.7
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

CWE-190 · Integer Overflow or Wraparound