Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr
Historical advisory recorded 4 Nov 2026 22:54:02 UTC. Read the latest advisory.
cve-program · CVE-2025-7425
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
cve-program · CVE-2025-7425
PublishedLibxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr
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.
- Source published
- 10 Jul 2025 13:53:37 UTC
- Source modified
- 4 Nov 2026 21:45:16 UTC
- Saved here
- 4 Nov 2026 22:54:02 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 7.8 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H