CVE-2025-24928
Reported by mitre · Published February 18, 2025
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjdk-21-openj9 | Chainguard | 0.53.0-r0 |
| java-min | Bitnami | 8.0.461, 1.8.0 |
| java | Bitnami | 8.0.461, 1.8.0 |
| jre | Bitnami | 8.0.461, 1.8.0 |
| libxml2 | Amazon Linux | 2.10.4-1.amzn2023.0.9, 2.9.1-6.amzn2.5.16 |
| libxml2 | Alpine | 2.13.6-r0, 2.13.4-r4, 2.12.7-r1, 2.11.8-r1 |
| openjdk-26-openj9 | Chainguard | 0.59.0-r1 |
| libxml2-static | Amazon Linux | 2.10.4-1.amzn2023.0.9, 2.9.1-6.amzn2.5.16 |
| openjdk-11-openj9 | Chainguard | 0.53.0-r0 |
| libxml2-devel | Amazon Linux | 2.10.4-1.amzn2023.0.9, 2.9.1-6.amzn2.5.16 |
| python3-libxml2 | Amazon Linux | 2.10.4-1.amzn2023.0.9 |
| libxml2-python | Amazon Linux | 2.9.1-6.amzn2.5.16 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| xmlsoft | libxml2 | 0, 2.13.0 |
| chainguard | openjdk-21-openj9 | 0 |
| amazon:2023 | libxml2 | 0 |
| alpine | libxml2 | 0, 0, 0 |
| xmlsoft | libxml2 | 2.13.0, 0 |
| chainguard | openjdk-26-openj9 | 0 |
| amazon:2 | libxml2-static | 0 |
| chainguard | openjdk-11-openj9 | 0 |
| amazon:2023 | libxml2-devel | 0 |
| amazon:2 | libxml2 | 0 |
| amazon:2023 | python3-libxml2 | 0 |
| amazon:2 | libxml2-python | 0 |
| chainguard | openjdk-25-openj9 | 0 |
| amazon:2023 | libxml2-static | 0 |
| amazon:2 | libxml2-devel | 0 |
| alpine | qt6-qtwebengine | 0, 0 |
| chainguard | openjdk-17-openj9 | 0 |
| chainguard | openjdk-8-openj9 | 0 |
Timeline
- Jan 28, 2025 CVE ID Reserved
- Feb 18, 2025 CVE Published
- Feb 19, 2025 EPSS Score (30 in total, the first dated here)
- Feb 26, 2026 CVE Updated
- Mar 17, 2026 Security Advisory (38 in total, the first dated here)
- Jun 16, 2026 Coalition ESS Score
- Sep 28, 2026 Distribution Patch (32 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24928
vulnetix vdb fixes CVE-2025-24928
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-24928/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart