CVE-2026-137073: GNOME libxml2 through 2.15.4 Double Free in xmlReaderNewWalker()

Published Nov 25, 2026
·
Updated

GNOME libxml2 through 2.15.4 contains a double free vulnerability in xmlReaderNewWalker() that frees reader->input again after xmlTextReaderClose() already released it. Applications reusing a closed xmlTextReader with xmlReaderNewWalker() can crash, and groomed heap memory can control the close callback for possible code execution.

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

What application behavior is required to trigger this issue?

An application must reuse a closed xmlTextReader by calling xmlReaderNewWalker() after xmlTextReaderClose() has already released the reader input. This is not described as affecting applications that do not follow that sequence.

2

Can exploitation require more than simply parsing XML?

Yes. The described impact requires the vulnerable reader-reuse path, and possible code execution further depends on groomed heap memory being able to control the close callback. The supplied vector also indicates local access, high attack complexity, and user interaction.

3

What is the immediate risk if the vulnerable path is reached?

The application can crash because reader->input is freed a second time. Under the stated heap-grooming conditions, the close callback may be controlled, creating a possibility of code execution.

4

How can teams determine whether their code is exposed?

Review uses of xmlTextReaderClose() and determine whether the same xmlTextReader is later passed to xmlReaderNewWalker(). Also identify deployments using libxml2 through version 2.15.4.

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