VDB

CVE-2025-7425

CVE-2025-7425 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
openjdk-8-openj9Chainguard0.59.0-r1
libxml2-pythonAmazon Linux2.9.1-6.amzn2.5.20
libxml2-staticAmazon Linux2.10.4-1.amzn2023.0.13, 2.9.1-6.amzn2.5.20
jreBitnami8.0.481, 1.8.0
openjdk-26-openj9Chainguard0.59.0-r1
openjdk-21-openj9Chainguard0.59.0-r1
libxml2-develAmazon Linux2.10.4-1.amzn2023.0.13
javaBitnami8.0.481, 1.8.0
openjdk-17-openj9Chainguard0.59.0-r1
libxml2Amazon Linux2.10.4-1.amzn2023.0.13, 2.9.1-6.amzn2.5.20
openjdk-25-openj9Chainguard0.59.0-r1
java-minBitnami8.0.481, 1.8.0

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

Risk scores

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

Affected products

VendorProductVersions
GNOMElibxml20
Red HatRed Hat Enterprise Linux 100:1.1.39-8.el10_0
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:2.9.1-6.el7_9.12
Red HatRed Hat Enterprise Linux 80:2.9.7-21.el8_10.2
Red HatRed Hat Enterprise Linux 80:2.9.7-21.el8_10.2
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:2.9.7-9.el8_2.4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.9.7-9.el8_4.7
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.9.7-9.el8_4.7
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.9.7-13.el8_6.11
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.9.7-13.el8_6.11
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.9.7-13.el8_6.11
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.9.7-16.el8_8.10
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.9.7-16.el8_8.10
Red HatRed Hat Enterprise Linux 90:2.9.13-11.el9_6
Red HatRed Hat Enterprise Linux 90:2.9.13-11.el9_6
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.9.13-1.el9_0.6
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.9.13-3.el9_2.8
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:2.9.13-11.el9_4
Red HatRed Hat OpenShift Container Platform 4.12412.86.202509030110-0
Red HatRed Hat OpenShift Container Platform 4.13413.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

…and 23 more

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