CVE-2025-7424
High · 7.5CVSS
7.5
EPSS
1.3%
Published
Jul 10, 2025
CISA due date
—
Cloudanix analysis
A flaw in a common XML handling library can let attackers crash or destabilize programs by feeding them specially crafted data files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Type confusion in libxslt XML transformations caused by reuse of the psvi memory field for both stylesheet and input data, enabling memory corruption or crashes.
Why it matters to the business
Applications using the library may crash or exhibit unexpected behavior, resulting in denial of service and potential operational disruption; the issue affects a widely used XML library with moderate exploitability scores.
How an attack unfolds
An attacker crafts malicious XML content that triggers reuse of the shared psvi field during stylesheet and input processing, leading to type confusion that corrupts memory or terminates the application.
How to fix it
Upgrade affected packages to the fixed versions provided by vendors, such as linux-lts (Alpaquita:stream) to 6.6.58-r0 or later; rebuild and redeploy dependent applications after the update.
How to confirm the fix worked
Verify installed libxslt version against the fixed release, re-run unit tests with crafted XML inputs that previously triggered the flaw, and confirm absence of crashes or corruption under load.
Typical attack path
- Identify an application that processes untrusted XML via libxslt
- Craft XML input that collides stylesheet and data structures on the psvi field
- Deliver the XML to the target transformation routine
- Trigger memory corruption or application crash
How to detect it
Review application and system logs for unexpected crashes or segmentation faults in processes linked to libxslt during XML handling; correlate with inbound XML traffic that precedes failures.
What your security team should do
- Prioritize upgrade of libxslt to the fixed version in all environments within the next maintenance window
- Monitor EPSS trend and reassess exploit maturity as new information emerges
- Implement input validation and sandboxing for XML processing workflows until patches are applied
The record
A flaw was found in the libxslt library. The same memory field, psvi, is used for both stylesheet and input data, which can lead to type confusion during XML transformations. This vulnerability allows an attacker to crash the application or corrupt memory. In some cases, it may lead to denial of service or unexpected behavior.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libxslt | 0 | No fix |
| Debian:12 | libxslt | 0 | No fix |
| Debian:13 | libxslt | 0 | No fix |
| Debian:14 | libxslt | 0 | 1.1.35-2 |
| Mageia:9 | libxml2 | 0 | 2.10.4-1.8.mga9 |
| Mageia:9 | libxslt | 0 | 1.1.38-1.2.mga9 |
| openSUSE:Tumbleweed | libxslt | 0 | 1.1.43-2.1 |
| openSUSE:Tumbleweed | python-lxml | 0 | 6.1.1-1.1 |
Related vulnerabilities
- CVE-2025-7425 A flaw was found in libxslt where the attribute type, atype, flags are modified in a way… Also affects libxslt
- CVE-2024-55549 xsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to… Also affects libxslt
- CVE-2025-24855 numbers.c in libxslt before 1.1.43 has a use-after-free because, in nested XPath… Also affects libxslt
- CVE-2023-40403 The issue was addressed with improved memory handling. Also affects libxslt
- CVE-2019-13117 In numbers.c in libxslt 1.1.33, an xsl:number with certain format strings could lead to a… Also affects libxslt
- CVE-2019-11068 libxslt through 1.1.33 allows bypass of a protection mechanism because callers of… Also affects libxslt
- CVE-2017-5029 The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Blink in… Also affects libxslt
- CVE-2015-7995 The xsltStylePreCompute function in preproc.c in libxslt 1.1.28 does not check if the… Also affects libxslt