High severity · published Jun 13, 2025
CVE-2025-6052
A flaw was found in how GLib’s GString manages memory when adding data to strings
7.5
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GL
Glib · Gnome
2.75.3 through 2.84.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-6052
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-6052
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2025-6052
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2372666
cert-portal.siemens.com
https://cert-portal.siemens.com/productcert/html/ssa-032379.html
cert-portal.siemens.com
https://cert-portal.siemens.com/productcert/html/ssa-253495.html
More from Glib
9.8
CVE-2025-14087
Glib: glib: buffer underflow in gvariant parser leads to heap corruption
9.8
CVE-2024-52533
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character
9.8
CVE-2019-12450
file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress
9.8
CVE-2018-16428
In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference
9.1
CVE-2026-58016
Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
