CVE-2025-13601: Glib: integer overflow in in g_escape_uri_string()

Published Nov 24, 2025
·
Updated

A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the gescapeuristring() 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.

Other sources

An overflow problem was found in glib through an incorrect calculation of buffer size in the gescapeuristring() 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.

Red Hat

Glib: integer overflow in in gescapeuristring()

Microsoft

Affected Software

106 affected componentsFixes available
GLib glib
Microsoft cbl2 glib 2.71.0-7
Microsoft azl3 glib 2.78.6-4
redhat Codeready Linux Builder=9.0
redhat Codeready Linux Builder For Ibm Z Systems=9.0_s390x
redhat Codeready Linux Builder For Power Little Endian=9.0_ppc64le
redhat Codeready Linux Builder For X86 64=9.0
redhat Enterprise Linux For Arm 64=9.0
redhat Enterprise Linux For Ibm Z Systems=9.0_s390x
redhat Enterprise Linux For Power Little Endian=9.0_ppc64le
redhat Enterprise Linux For X86 64=9.0
redhat Codeready Linux Builder For Arm64=10.0
redhat Codeready Linux Builder For Ibm Z Systems=10.0_s390x
redhat Codeready Linux Builder For Power Little Endian=10.0_ppc64le
redhat Codeready Linux Builder For X86 64=10.0
redhat Enterprise Linux For Arm 64=10.0
redhat Enterprise Linux For Ibm Z Systems=10.0_s390x
redhat Enterprise Linux For Power Little Endian=10.0_ppc64le
redhat Enterprise Linux For X86 64=10.0
redhat Codeready Linux Builder For Arm64=8.0
redhat Codeready Linux Builder For Ibm Z Systems=8.0_s390x
redhat Codeready Linux Builder For Power Little Endian=8.0_ppc64le
redhat Codeready Linux Builder For X86 64=8.0
redhat Enterprise Linux For Arm 64=8.0
redhat Enterprise Linux For Ibm Z Systems=8.0_s390x
redhat Enterprise Linux For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For X86 64=8.0
redhat Enterprise Linux For Arm 64=9.2
redhat Enterprise Linux For Ibm Z Systems=9.2_s390x
redhat Enterprise Linux For Power Little Endian=9.2_ppc64le
redhat Enterprise Linux For X86 64=9.2
redhat Enterprise Linux Server Aus=9.2
redhat Codeready Linux Builder For Arm64 Eus=9.4
redhat Codeready Linux Builder For Ibm Z Systems=9.4_s390x
redhat Codeready Linux Builder For Power Little Endian=9.4_ppc64le
redhat Codeready Linux Builder For X86 64=9.4
redhat Enterprise Linux For Arm 64=9.4
redhat Enterprise Linux For Ibm Z Systems=9.4_s390x
redhat Enterprise Linux For Power Little Endian=9.4_ppc64le
redhat Enterprise Linux For X86 64=9.4
redhat Enterprise Linux For X86 64 Eus=9.4
redhat Enterprise Linux Server Aus=9.4
redhat Enterprise Linux Server For Power Little Endian=9.4_ppc64le
redhat Enterprise Linux Server For Power Little Endian Eus=9.4_ppc64le
redhat Codeready Linux Builder For Arm64 Eus=10.0
redhat Codeready Linux Builder For Ibm Z Systems Eus=10.0_s390x
redhat Codeready Linux Builder For Power Little Endian Eus=10.0_ppc64le
redhat Codeready Linux Builder For X86 64 Eus=10.0
redhat Enterprise Linux For Arm 64 Eus=10.0
redhat Enterprise Linux For Ibm Z Systems Eus=10.0_s390x
redhat Enterprise Linux For Power Little Endian Eus=10.0_ppc64le
redhat Enterprise Linux For X86 64 Eus=10.0
redhat Enterprise Linux Server For Power Little Endian=10.0_ppc64le
redhat Codeready Linux Builder For Arm64=9.6
redhat Codeready Linux Builder For Ibm Z Systems=9.6_s390x
redhat Codeready Linux Builder For Power Little Endian=9.6_ppc64le
redhat Codeready Linux Builder For X86 64=9.6
redhat Enterprise Linux For Arm 64=9.6
redhat Enterprise Linux For Ibm Z Systems=9.6_s390x
redhat Enterprise Linux For Power Little Endian=9.6_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.6_ppc64le
redhat Enterprise Linux For X86 64=9.6
redhat Enterprise Linux For X86 64 Eus=9.6
redhat Enterprise Linux Server Aus=9.6
redhat Enterprise Linux Server For Power Little Endian=9.6_ppc64le
redhat Enterprise Linux For X86 64=8.6
redhat Enterprise Linux For X86 64 Eus=8.6
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server For Power Little Endian=8.6_ppc64le
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux For X86 64=8.8
redhat Enterprise Linux For X86 64 Eus=8.8
redhat Enterprise Linux Server For Power Little Endian=8.8_ppc64le
redhat Enterprise Linux Server Tus=8.8
redhat Enterprise Linux For X86 64 Eus=8.4
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Aus=8.2
redhat Ceph Storage=8.0
redhat Discovery=2.0
Gnome GLib<2.86.3
redhat OpenShift Container Platform=4.12
redhat OpenShift Container Platform=4.16
redhat OpenShift Container Platform=4.17
redhat OpenShift Container Platform=4.18
redhat OpenShift Container Platform=4.19
redhat Openshift Container Platform For Arm64=4.12
redhat Openshift Container Platform For Arm64=4.16
redhat Openshift Container Platform For Arm64=4.17
redhat Openshift Container Platform For Arm64=4.18
redhat Openshift Container Platform For Arm64=4.19
redhat Openshift Container Platform For Ibm Z=4.12
redhat Openshift Container Platform For Ibm Z=4.16
redhat Openshift Container Platform For Ibm Z=4.17
redhat Openshift Container Platform For Ibm Z=4.18
redhat Openshift Container Platform For Ibm Z=4.19
redhat Openshift Container Platform For Linuxone=4.12
redhat Openshift Container Platform For Linuxone=4.16
redhat Openshift Container Platform For Linuxone=4.17
redhat Openshift Container Platform For Linuxone=4.18
redhat Openshift Container Platform For Linuxone=4.19
redhat Openshift Container Platform For Power=4.12
redhat Openshift Container Platform For Power=4.16
redhat Openshift Container Platform For Power=4.17
redhat Openshift Container Platform For Power=4.18
redhat Openshift Container Platform For Power=4.19
IBM API Connect<=V10.0.8.0 - V10.0.8.9

Event History

Nov 24, 2025
Data Sourced
via Red Hat·01:00 PM
DescriptionSeverityAffected Software
Nov 26, 2025
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 29, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
Affected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-13601?

CVE-2025-13601 is classified as a high severity vulnerability due to its potential for causing heap-based buffer overflow issues.

2

How do I fix CVE-2025-13601?

To fix CVE-2025-13601, update to the latest version of GLib that addresses the buffer overflow vulnerability.

3

What software is affected by CVE-2025-13601?

CVE-2025-13601 affects the GLib library primarily used by GNOME applications.

4

What are the risks associated with CVE-2025-13601?

Exploiting CVE-2025-13601 could allow attackers to execute arbitrary code, leading to system compromise.

5

What is the nature of the vulnerability in CVE-2025-13601?

CVE-2025-13601 involves a heap-based buffer overflow caused by incorrect buffer size calculations in the g_escape_uri_string() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203