Uncontrolled Recursion in Natural Language Toolkit - CVE-2026-129227
Published: November 16, 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 in Natural Language Toolkit's Tree.fromlist function when converting nested lists without enforcing a depth limit. A remote attacker can supply a deeply nested list to an application using this function to exhaust the interpreter's recursion limit, triggering an unhandled RecursionError during tree construction or subsequent recursive traversal.