CVE-2025-7425
Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr
Reported by redhat · Published July 10, 2025
A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap 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 |
|---|---|---|
| openjdk-8-openj9 | Chainguard | 0.59.0-r1 |
| libxml2-python | Amazon Linux | 2.9.1-6.amzn2.5.20 |
| libxml2-static | Amazon Linux | 2.10.4-1.amzn2023.0.13, 2.9.1-6.amzn2.5.20 |
| jre | Bitnami | 8.0.481, 1.8.0 |
| openjdk-26-openj9 | Chainguard | 0.59.0-r1 |
| openjdk-21-openj9 | Chainguard | 0.59.0-r1 |
| libxml2-devel | Amazon Linux | 2.10.4-1.amzn2023.0.13 |
| java | Bitnami | 8.0.481, 1.8.0 |
| openjdk-17-openj9 | Chainguard | 0.59.0-r1 |
| libxml2 | Amazon Linux | 2.10.4-1.amzn2023.0.13, 2.9.1-6.amzn2.5.20 |
| openjdk-25-openj9 | Chainguard | 0.59.0-r1 |
| java-min | Bitnami | 8.0.481, 1.8.0 |
12 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GNOME | libxml2 | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.1.39-8.el10_0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.9.1-6.el7_9.12 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.9.7-21.el8_10.2 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.9.7-21.el8_10.2 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:2.9.7-9.el8_2.4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:2.9.7-9.el8_4.7 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:2.9.7-9.el8_4.7 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:2.9.7-13.el8_6.11 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:2.9.7-13.el8_6.11 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:2.9.7-13.el8_6.11 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:2.9.7-16.el8_8.10 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:2.9.7-16.el8_8.10 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-11.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-11.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:2.9.13-1.el9_0.6 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:2.9.13-3.el9_2.8 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:2.9.13-11.el9_4 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | 412.86.202509030110-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 413.92.202509030117-0 |
…and 169 more
Timeline
- Jul 10, 2025 CVE Published
- Jul 11, 2025 EPSS Score (30 in total, the first dated here)
- Dec 18, 2025 PoC Published (2 in total, the first dated here)
- Mar 4, 2026 CVE Updated
- Mar 17, 2026 Security Advisory (77 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Sep 26, 2026 Distribution Patch (58 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-7425
vulnetix vdb fixes CVE-2025-7425
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-7425/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHBA-2025:12345 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12447 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12450 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13267 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13308 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13309 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13310 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13311 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13312 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13313 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13314 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13335 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13464 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:13622 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14059 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14396 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14818 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14819 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14853 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:14858 vendor-advisoryx_refsource_REDHAT
…and 23 more