CVE-2025-6052: Glib2.0 · A flaw was found in how GLib’s GString manages memory when adding data to strings
Affects glib2.0Source GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.80.0-6ubuntu3.6 when convenient.
Data as of 24 Nov 2026, 19:43 UTC
- Patch
- Available – fixed in 2.80.0-6ubuntu3.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 13 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu glib2.0 package to 2.80.0-6ubuntu3.6.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-6052 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-6052 (opens in a new tab)
- gitlab.gnome.org/GNOME/glib/-/merge_requests/4655 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-6052 (opens in a new tab)
- ubuntu.com/security/notices/USN-7942-1 (opens in a new tab)