Uncontrolled Recursion in Natural Language Toolkit - CVE-2026-129225
Published: November 17, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by terminating an affected operation or request worker.
The vulnerability exists due to uncontrolled recursion without depth bounds or visited-node tracking in Natural Language Toolkit's DependencyGraph traversal helpers when traversing untrusted dependency structures. A remote attacker can supply deeply nested CoNLL/Malt-TAB dependency chains to trigger an unhandled RecursionError through tree() or triples(), or cyclic dependencies to cause nontermination in get_cycle_path().