CVE-2026-129226
Description
NLTK =3.10.3: the semantic-logic type parser read_type recursed on both halves of every a,b with no depth bound — MAX_PARSE_DEPTH never ran on that path, so nested type strings via Type.fromstring raise an uncaught RecursionError. Verbatim logic.py 3.10.3 vs 3.10.4 (2f4f0d47): crash at 3000 on vuln, bounded at 200 on fixed.
CVE-CVE-2026-129226 Details
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, the semantic-logic read_type parser recursively processes both halves of nested complex type strings without applying LogicParser.MAX_PARSE_DEPTH. An attacker-controlled type string or signature with excessive nesting can raise RecursionError through Type.fromstring or type-checking entry points and abort the curre...
Related PoCs for CVE-2026-129226
No other PoCs found for this CVE.