VDB

CVE-2025-6052

CVE-2025-6052 PUBLISHED CVSS 3.7 LOW

Reported by redhat · Published June 13, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
glib2-staticAmazon Linux2.82.2-766.amzn2023
openjdk-17-openj9Chainguard0.59.0-r1
openjdk-26-openj9Chainguard0.59.0-r1
openjdk-25-openj9Chainguard0.59.0-r1
javaBitnami8.0.481, 1.8.0
glib2-docAmazon Linux2.82.2-766.amzn2023
openjdk-11-openj9Chainguard0.59.0-r2
openjdk-8-openj9Chainguard0.59.0-r1
glib2-develAmazon Linux2.82.2-766.amzn2023
openjdk-21-openj9Chainguard0.59.0-r1
glib2Amazon Linux2.82.2-766.amzn2023
java-minBitnami8.0.481, 1.8.0

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 9
amazon:2023glib2-static0
Red HatRed Hat Enterprise Linux 10
chainguardopenjdk-17-openj90

…and 23 more

Timeline

  • Jun 13, 2025 CVE Published
  • Jun 14, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 15, 2025 Coalition ESS Score (20 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (41 in total, the first dated here)
  • Sep 26, 2026 Distribution Patch (25 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-6052
vulnetix vdb fixes CVE-2025-6052

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6052/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›