Out-of-bounds read in Lxml - #VU170752
Published: November 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to crash the process and potentially disclose adjacent heap memory.
The vulnerability exists due to an out-of-bounds read in the incremental XML and HTML writers when scanning CDATA without adequately checking buffer boundaries. A remote attacker can supply malformed input that the application serializes as CDATA to cause a denial of service and potentially expose heap data in flushed output.