Use-after-free in Lxml - #VU170754
Published: November 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through heap corruption.
The vulnerability exists due to a heap use-after-free in lxml's iterparse() and XMLPullParser APIs when failed internal entity expansion frees nodes that are still referenced by queued events. A remote attacker can supply malformed XML to cause a denial of service when the application reads or clears a freed node, with clearing potentially triggering a double free.