Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-6052

glib: Integer overflow in g_string_maybe_expand() leading to potential buffer overflow in GLib GString

Overview

Published
13 Jun 2025
Modified
17 Jun 2026
High CVE
4 Registry packages
48 OS packages
13 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-190

Affected packages · 4

Packages affected by CVE-2025-6052
EcosystemPackageVulnerableFixed in
Bitnami java <1.8.0>=1.9.0, <8.0.481 1.8.08.0.481
Bitnami java-min <1.8.0>=1.9.0, <8.0.481 1.8.08.0.481
Bitnami jre <1.8.0>=1.9.0, <8.0.481 1.8.08.0.481
Julia Glib_jll >=2.76.5+0, <2.86.0+0 2.86.0+0

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

Azure Linux 1 release · 1 package

fixed 1
glib
Azure Linux fixes for CVE-2025-6052
ReleasePackageFixed in
3.0 glib 0:2.78.6-3.azl3

Red Hat 1 release · 1 package

affected 1
mingw-glib2
Red Hat fixes for CVE-2025-6052
ReleasePackageFixed in
9 mingw-glib2 +4 affected

SUSE Linux Enterprise 2 releases · 1 package

fixed 2
glib2-devel
SUSE Linux Enterprise fixes for CVE-2025-6052
ReleasePackageFixed inAdvisory
15.6 glib2-devel +11 2.78.6-150600.4.16.1 SUSE-SU-2025:02167-1
15.7 glib2-devel +11 2.78.6-150600.4.16.1 SUSE-SU-2025:02167-1

SUSE Linux Enterprise Micro 2 releases · 1 package

fixed 2
glib2-tools
SUSE Linux Enterprise Micro fixes for CVE-2025-6052
ReleasePackageFixed inAdvisory
6.0 glib2-tools +4 2.76.2-9.1 SUSE-SU-2025:20508-1
6.1 glib2-tools +4 2.78.6-slfo.1.1_4.1 SUSE-SU-2025:20673-1

amazon linux 1 release · 1 package

fixed 1
glib2
amazon linux fixes for CVE-2025-6052
ReleasePackageFixed in
2023 glib2 +8 2.82.2-766.amzn2023

chainguard 1 release · 2 packages

fixed 2
openjdk-17-openj9 openjdk-11-openj9
chainguard fixes for CVE-2025-6052
ReleasePackageFixed in
openjdk-17-openj9 +4 0.59.0-r1
openjdk-11-openj9 0.59.0-r2

debian 2 releases · 1 package

fixed 2
glib2-0
debian fixes for CVE-2025-6052
ReleasePackageFixed in
13 glib2-0 2.84.3-1
14 glib2-0 2.84.3-1

echo 1 release · 1 package

fixed 1
glib2-0
echo fixes for CVE-2025-6052
ReleasePackageFixed in
glib2-0 2.84.3-1

minimos 1 release · 1 package

fixed 1
glib
minimos fixes for CVE-2025-6052
ReleasePackageFixed in
glib 2.84.4-r0

openSUSE 1 release · 1 package

fixed 1
gio-branding-upstream
openSUSE fixes for CVE-2025-6052
ReleasePackageFixed inAdvisory
Tumbleweed gio-branding-upstream +24 2.84.3-1.1 openSUSE-SU-2025:15221-1

root.io debian 1 release · 1 package

fixed 1
rootio-glib2-0
root.io debian fixes for CVE-2025-6052
ReleasePackageFixed in
13 rootio-glib2-0 2.84.3-1

seal debian 1 release · 1 package

fixed 1
glib2-0
seal debian fixes for CVE-2025-6052
ReleasePackageFixed in
glib2-0 +1 2.74.6-2+deb12u7+sp999

ubuntu 1 release · 1 package

fixed 1
glib2-0
ubuntu fixes for CVE-2025-6052
ReleasePackageFixed in
24.04 glib2-0 2.80.0-6ubuntu3.6

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.