BIT-java-min-2025-7425: Libxslt: 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.
Affected Software
Event History
Frequently Asked Questions
What level of access and attacker effort does exploitation require?
The vulnerability has a local attack vector and requires no privileges or user interaction. Exploitation is rated as high complexity, so an attacker must satisfy specific conditions involving XSLT processing and tree fragments.
What security impact can successful exploitation have?
Successful exploitation can cause crashes or heap corruption. The recorded impacts are high on integrity and availability, with no confidentiality impact listed; the scope is changed.
Which processing behavior is associated with the flaw?
The flaw is associated with XSLT functions such as key() producing tree fragments. In that situation, corruption of attribute type and related flags can prevent ID attributes from being cleaned up correctly, leading to access to freed memory.