CVE-2025-6052
June 13, 2025
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.
Affected Packages
https://gitlab.gnome.org/GNOME/glib.git (SCM_GIT):
Affected version(s) =2.85.0 <2.85.1Fix Suggestion:
Update to version 2.85.1https://gitlab.gnome.org/GNOME/glib.git (SCM_GIT):
Affected version(s) >=2.75.3 <2.84.3Fix Suggestion:
Update to version 2.84.3Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Integer Overflow or Wraparound
EPSS
Base Score:
0.08