Name
CVE-2025-6052
Description
A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is already very large, combining it with more input can cause a hidden overflow in the size calculation. This makes the system think it has enough memory when it doesn’t. As a result, data may be written past the end of the allocated memory, leading to crashes or memory corruption.
CWEs
Published Date
Updated Date
Workaround
-
Advisories
https://access.redhat.com/security/cve/CVE-2025-6052Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2372666Issue Tracking
Analysis#
Vulnerability Ratings#
3.7
CVSSv31
7.5
CVSSv31
NaN
other
Others affected components#
Resolved with patches#
libglib2 (buildroot:2025.02.x)
#
Title
Author
Resolve
1
gstring: Fix overflow check when expanding the string
Philip Withnall <pwithnall@gnome.org>
CVE-2025-6052