AZL-116161: CVE-2026-137073 affecting package libxml2 2.11.5-11
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
Event History
Frequently Asked Questions
Which applications are realistically exposed to this issue?
Applications using libxml2 are exposed if they reuse an xmlTextReader after it has been closed and then call xmlReaderNewWalker() on that reader. The affected behavior is in GNOME libxml2 through 2.15.4.
What must an attacker be able to influence to exploit the vulnerability?
Exploitation requires reaching an application flow that closes an xmlTextReader and subsequently reuses it with xmlReaderNewWalker(). The described impact includes a crash, while groomed heap memory may allow control of the close callback for possible code execution.
How can I determine whether my application is affected?
Review code paths that use xmlTextReaderClose() and check whether the same xmlTextReader is later passed to xmlReaderNewWalker(). Such reuse after closure matches the vulnerable condition described.