Inefficient Algorithmic Complexity in Natural Language Toolkit - CVE-2026-128139
Published: November 17, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through CPU exhaustion.
The vulnerability exists due to inefficient algorithmic complexity in Natural Language Toolkit's XMLCorpusView._read_xml_fragment when repeated whole-buffer validation after each 1 KiB block causes quadratic processing of comments or CDATA sections spanning multiple blocks. A remote attacker can supply a well-formed XML corpus containing a large comment or CDATA section with < and > characters and a late terminator for automated ingestion to exhaust CPU resources.