CVE-2025-7425 Details
Description
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.
A heap use-after-free vulnerability has been identified in libxslt, caused by unsafe manipulation of the atype field in attribute nodes. This flaw arises when the xsltSetSourceNodeFlags() function adds extra flag bits to the atype field of xmlAttrPtr, which libxml2 later uses to determine if an attribute is an XML ID. The corruption prevents proper cleanup of ID attributes during memory deallocation, leading to dangling pointers. Exploitation is possible through crafted XSLT that uses the key() function, resulting in memory access violations that can cause crashes or heap corruption.
Users can apply the patch provided by Apple's fork of libxml2, which addresses the atype corruption without breaking ABI compatibility. This patched version of libxml2 can be used in conjunction with the fixed version of libxslt to eliminate the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2025CISA-ADP
Assessed Jul 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GNOME libxslt | c8b1ea4b |
CPE
Remediation
| |
Change History
68 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 7, 2026 | CVE Modified | [email protected] |
| Sep 6, 2026 | CVE Modified | [email protected] |
| Sep 5, 2026 | CVE Modified | [email protected] |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | CISA-ADP |
| Aug 31, 2026 | CVE Modified | siemens-SADP |
| Aug 31, 2026 | CVE Modified | CVE |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 19, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 17, 2026 | CVE Modified | [email protected] |
| Aug 17, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 13, 2026 | CVE Modified | [email protected] |
| Aug 12, 2026 | CVE Modified | [email protected] |
| Aug 9, 2026 | CVE Modified | [email protected] |
| Aug 8, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | [email protected] |
| Aug 3, 2026 | CVE Modified | [email protected] |
| Aug 3, 2026 | CVE Modified | [email protected] |
| Aug 2, 2026 | CVE Modified | [email protected] |
| Jul 27, 2026 | CVE Modified | [email protected] |
| Jul 27, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | [email protected] |
| Jul 19, 2026 | CVE Modified | [email protected] |
| Jul 19, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Apr 30, 2026 | CVE Modified | [email protected] |
| Apr 14, 2026 | CVE Modified | [email protected] |
| Jan 22, 2026 | CVE Modified | [email protected] |
| Nov 22, 2025 | CVE Modified | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 16, 2025 | CVE Modified | [email protected] |
| Sep 18, 2025 | CVE Modified | [email protected] |
| Sep 15, 2025 | CVE Modified | [email protected] |
| Sep 15, 2025 | CVE Modified | [email protected] |
| Sep 11, 2025 | CVE Modified | [email protected] |
| Sep 4, 2025 | CVE Modified | [email protected] |
| Sep 2, 2025 | CVE Modified | [email protected] |
| Aug 27, 2025 | CVE Modified | [email protected] |
| Aug 11, 2025 | CVE Modified | [email protected] |
| Aug 7, 2025 | CVE Modified | [email protected] |
| Aug 7, 2025 | CVE Modified | [email protected] |
| Aug 7, 2025 | CVE Modified | [email protected] |
| Aug 6, 2025 | CVE Modified | [email protected] |
| Jul 31, 2025 | CVE Modified | [email protected] |
| Jul 10, 2025 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | New CVE Received | [email protected] |
Volerion