CVE-2025-6052
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| glib2-static | Amazon Linux | 2.82.2-766.amzn2023 |
| openjdk-17-openj9 | Chainguard | 0.59.0-r1 |
| openjdk-26-openj9 | Chainguard | 0.59.0-r1 |
| openjdk-25-openj9 | Chainguard | 0.59.0-r1 |
| java | Bitnami | 8.0.481, 1.8.0 |
| glib2-doc | Amazon Linux | 2.82.2-766.amzn2023 |
| openjdk-11-openj9 | Chainguard | 0.59.0-r2 |
| openjdk-8-openj9 | Chainguard | 0.59.0-r1 |
| glib2-devel | Amazon Linux | 2.82.2-766.amzn2023 |
| openjdk-21-openj9 | Chainguard | 0.59.0-r1 |
| glib2 | Amazon Linux | 2.82.2-766.amzn2023 |
| java-min | Bitnami | 8.0.481, 1.8.0 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| amazon:2023 | glib2-static | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| chainguard | openjdk-17-openj9 | 0 |
…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
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2372666 issue-trackingx_refsource_REDHAT
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html url
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html url