CVE-2025-6052 | Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring

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: 2025-06-13 Last update: 2026-06-02 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-6052 is rated Low Risk (36.6/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.42%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-6052

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-03 0.30% 0.42% +0.12%
2 2026-04-09 0.05% 0.30% +0.25%
3 2026-02-16 0.05%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-6052

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.7 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.2 1.4 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-6052

GitHub Security Advisory for CVE-2025-6052

GHSA-99rj-3595-5frj · Severity: low — A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is...

OS Trackers for CVE-2025-6052

vendor priority summary link
alpine CVE-2025-6052: 1 source package rows (glib); 23 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 23. https://security.alpinelinux.org/vuln/CVE-2025-6052
debian unimportant CVE-2025-6052 unimportant priority: Debian including 1 source packages (glib2.0), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-6052
redhat low https://access.redhat.com/security/cve/CVE-2025-6052
suse high CVE-2025-6052 severity important: SUSE including 437 source package names (0.23.1-11.6:glib2-tools-2.78.6-150600.4.16.1, 0.23.1-11.6:libgio-2_0-0-2.78.6-150600.4.16.1, …), 1483 product×package rows across 208 product lines (Container bci/kiwi, Container bci/spack, … (208 product lines)): Fixed 929, Known Not Affected 323, Known Affected 231. https://www.suse.com/security/cve/CVE-2025-6052/
ubuntu low CVE-2025-6052 low priority: Ubuntu including 1 source packages (glib2.0), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, released 3, ignored 1. https://ubuntu.com/security/CVE-2025-6052

Affected software / configurations for CVE-2025-6052

Vendor Product Version Raw CPE
gnome glib >= 2.75.3, <= 2.84.3 cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*

References for CVE-2025-6052

cvelogic Threat Intelligence