Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr
CVE-2025-7425Published 10 Jul 2025, 13:53 UTC
Real-world risk
1.5/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Discovery 1Common | not stated | — |
| Red Hat Hardened ImagesCommon | not stated | — |
| RHOSS-1.36-RHEL-8Niche | not stated | — |
| Red Hat Insights proxy 1.5Niche | not stated | — |
| Red Hat Web TerminalNiche | not stated | — |
| cert-manager operator for Red Hat OpenShift 1.16Niche | not stated | — |
| libxml2Niche | < 2.15.2 | 2.15.2 |
What to do
Update to a fixed version: 2.15.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.225 × threat 0.951.496
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 10 Jul 2025 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-416
References
- https://access.redhat.com/errata/RHBA-2025:12345redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:12447redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:12450redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13267redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13308redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13309redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13310redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13311redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13312redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13313redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13314redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13335redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13464redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:13622redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14059redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14396redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14818redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14819redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14853redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14858redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15308redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15672redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15827redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15828redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:18219redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21885redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21913redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0934redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:11503redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-7425redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2379274issue-tracking, redhat
- https://gitlab.gnome.org/GNOME/libxslt/-/issues/140exploit
- https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html
- http://seclists.org/fulldisclosure/2025/Aug/0
- http://seclists.org/fulldisclosure/2025/Jul/37
- http://seclists.org/fulldisclosure/2025/Jul/35
- http://seclists.org/fulldisclosure/2025/Jul/32
- http://seclists.org/fulldisclosure/2025/Jul/30
- http://www.openwall.com/lists/oss-security/2025/07/11/2
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- CVE-2025-7425 on CVE.org