BIT-java-min-2025-7425: Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr

Published Jul 10, 2025
·
Updated

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

1 affected component
libxslt libxslt

Event History

Jul 10, 2025
CVE Published
via OSV·01:53 PM
Data Sourced
via OSV·01:53 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203