CVE-2026-137068: libxml2 through 2.15.4 Use-After-Free in xmlFreeNode via reader->faketext

Published Nov 25, 2026
·
Updated

libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.

Affected Software

1 affected component
Gnome libxml2<=2.15.4

Event History

Nov 25, 2026
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using libxml2 through 2.15.4 are exposed when they process attacker-supplied XML, read the value of a namespace declaration, and then reuse the XML reader.

2

What must an attacker provide to trigger the crash?

The attacker must supply XML containing a namespace declaration. Exploitation also depends on the application reading that declaration's value and reusing the reader afterward.

3

How can I determine whether an application is affected?

Check whether it uses libxml2 through version 2.15.4 and whether its XML-processing path reads namespace declaration values with an XML reader that is subsequently reused. A crash may occur when the reused reader accesses a dictionary from a freed document.

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