CVE-2026-129224
Description
NLTK =3.10.3: the CCG lexicon parser recursed per nested bracket with no depth bound — adversarially deep categories raise an unhandled RecursionError through the public fromstring entry. Verbatim lexicon.py 3.10.3 vs 3.10.4: depth 3000 RecursionError on vuln, bounded ValueError at MAX_PARSE_DEPTH=500 on fixed (30e93eb7).
CVE-CVE-2026-129224 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 CCG lexicon parser's matchBrackets and augParseCategory functions recursively process nested parenthesized categories without a depth bound. An attacker-controlled lexicon string with excessive nesting can raise RecursionError through nltk.ccg.lexicon.fromstring and terminate the parse operation or request work...
Related PoCs for CVE-2026-129224
No other PoCs found for this CVE.