7.5

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

Modified
AliasesMGASA-2025-0216SUSE-SU-2025:20673-1UBUNTU-CVE-2025-6052
Published 13-06-2025Last modified 02-06-2026

Vulnerability summary

CVE-2025-6052 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in gnome glib. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 47.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.54%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 13-06-2025
    PublishedVulnerability first disclosed.
  2. 02-06-2026
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard39 products
  • openjdk-11-openj9< 0.59.0-r2
  • openjdk-11-openj9-dbg< 0.59.0-r2
  • openjdk-11-openj9-default-jdk< 0.59.0-r2
  • openjdk-11-openj9-default-jvm< 0.59.0-r2
  • openjdk-11-openj9-doc< 0.59.0-r2
Debian1 product
  • glib2.0< 2.84.3-1
Gnome1 product
  • glib≥ 2.75.3, ≤ 2.84.3
Mageia1 product
  • glib2.0< 2.76.3-1.5.mga9
Opensuse1 product
  • glib2&distro=openSUSE Tumbleweed< 2.84.3-1.1
Suse1 product
  • glib2&distro=SUSE Linux Micro 6.1< 2.78.6-slfo.1.1_4.1
Ubuntu1 product
  • glib2.0< 2.80.0-6ubuntu3.6

7 vendors · 45 products

References

18 links
Show all 18 references