Inefficient Algorithmic Complexity in Natural Language Toolkit - #VU142778
Published: August 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient algorithmic complexity in XMLCorpusView._read_xml_fragment() when processing attacker-controlled XML corpus files. A remote attacker can supply a malformed XML file to cause a denial of service.
The issue is triggered by quadratic rescanning of the accumulated fragment buffer, and no user interaction is required.