Uncontrolled Recursion in Natural Language Toolkit - CVE-2026-129224
Published: November 17, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by aborting lexicon parsing or an affected request worker.
The vulnerability exists due to uncontrolled recursion in the Natural Language Toolkit CCG lexicon parser when processing nested parenthesized categories without depth limits in matchBrackets and augParseCategory or input limits in fromstring. A remote attacker can supply a lexicon string containing deeply nested parentheses to an application using fromstring to exceed the interpreter recursion limit and trigger an unhandled RecursionError.