Integer overflow in Gnome GLib - CVE-2025-6052

 

Integer overflow in Gnome GLib - CVE-2025-6052

Published: June 26, 2025


Vulnerability identifier: #VU111972
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-6052
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to integer overflow in GString when handling long string. A remote attacker can pass specially crafted data to the application, trigger an integer overflow and perform a denial of service (DoS) attack.


Affected software

Gnome GLib
Oracle Java SE
Ubuntu
Anolis OS
openEuler
Fedora
glib2.0 (Ubuntu package)
glib2-doc
glib2-tests
glib2-static
glib2-devel
glib2
glib2-debugsource
glib2-help
glib2-debuginfo
mingw-glib2

How to mitigate CVE-2025-6052

Install updates from vendor's website.

Gnome GLib - addressed in versions 2.84.3, 2.85.1
glib2.0 (Ubuntu package) - addressed in versions 2.40.2-0ubuntu1.1+esm7, 2.48.2-0ubuntu4.8+esm5, 2.56.4-0ubuntu0.18.04.9+esm5, 2.64.6-1~ubuntu20.04.9+esm1, 2.72.4-0ubuntu2.7, 2.80.0-6ubuntu3.6, 2.84.1-1ubuntu0.2, 2.86.0-2ubuntu0.1
glib2-doc - update to 2.78.3-6
glib2-tests - update to 2.78.3-6
glib2-static - update to 2.78.3-6
glib2-devel - update to 2.78.3-6
glib2 - update to 2.78.3-6
glib2-debugsource - update to 2.78.3-9
glib2-help - update to 2.78.3-9
glib2-tests - update to 2.78.3-9
glib2-static - update to 2.78.3-9
glib2-devel - update to 2.78.3-9
glib2-debuginfo - update to 2.78.3-9
glib2 - update to 2.78.3-9
mingw-glib2 - addressed in versions 2.82.5-1.fc41, 2.84.3-1.fc42

External References

Related Security Bulletins