Logo
vulnerabilityCVE-2025-6052
Name
CVE-2025-6052
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Vulnerability Ratings#


3.7
CVSSv31
7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
master
2.86.5
Not Affected
buildroot
master
2.86.5
Not Affected
openwrt
master
2.88.1-r1
Not Affected
openwrt
openwrt-25.12
2.82.0-r1
Exploitable

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