CVE-2025-13601
JSON

7.7high

Glib: integer overflow in in g_escape_uri_string()

Severity
7.7high CVSS:3.1 by redhat
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
glibbefore 2.86.3CVE List
glib2Not specified
Not affected: from 0:2.80.4-10.el10_1.12 before *, from 0:2.80.4-4.el10_0.8 before *, from 0:2.56.1-11.el7_9 before *, from 0:2.56.4-168.el8_10 before *, from 0:2.56.4-8.el8_2.4 before *, from 0:2.56.4-10.el8_4.4 before *
CVE List
mingw-glib2Not specified
Not affected: from 0:2.87.0-1.el10 before *, from 0:2.78.6-3.el9 before *
CVE List
openshift/ose-rhel-coreos-8Not specified
Not affected: from 412.86.202602021310-0 before *
CVE List
openshift/ose-rhel-coreos-9Not specified
Not affected: from 413.92.202602240113-0 before *, from 414.92.202602171627-0 before *, from 415.92.202603101737-0 before *, from 416.94.202602101357-0 before *, from 417.94.202602090846-0 before *, from 418.94.202602022246-0 before *
CVE List
rhceph/rhceph-8-rhel9Not specified
Not affected: from 1769512383 before *
CVE List
discovery/discovery-server-rhel9Not specified
Not affected: from 1769104765 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1769111774 before *
CVE List
glib2-mainNot specified
Not affected: from 2.88.0-1.1.hum1 before *
CVE List
insights-proxy/insights-proxy-container-rhel9Not specified
Not affected: from 1770740405 before *
CVE List
rhui5/cds-rhel9Not specified
Not affected: from 1770808689 before *
CVE List
rhui5/haproxy-rhel9Not specified
Not affected: from 1770807477 before *
CVE List

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un problema de desbordamiento de búfer basado en montículo fue encontrado en glib debido a un cálculo incorrecto del tamaño del búfer en la función g_escape_uri_string(). Si la cadena a escapar contiene un número muy grande de caracteres inaceptables (que necesitarían ser escapados), el cálculo de la longitud de la cadena escapada podría desbordarse, lo que llevaría a una posible escritura fuera del final de la cadena recién asignada.

References

https://access.redhat.com/errata/RHSA-2026:0936vendor-advisory
https://access.redhat.com/errata/RHSA-2026:0975vendor-advisory
https://access.redhat.com/errata/RHSA-2026:0991vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1323vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1324vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1326vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1327vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1465vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1608vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1624vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1625vendor-advisory
https://access.redhat.com/errata/RHSA-2026:1626vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-13601 changed 2026-11-23CVE Terms of Use
NVDCVE-2025-13601 changed 2026-11-23Public domain