CVE-2026-129228
Description
NLTK =3.10.3: Toolbox settings-tree helpers recursed per element level with no counter and the parse producer builds unbounded nesting — a deeply nested settings file crashes to_settings_string with an uncaught RecursionError. Verbatim toolbox.py 3.10.3 vs 3.10.4 (0b697537): depth 2000 crashes vuln, bounded ValueError at 500 on fixed.
CVE-CVE-2026-129228 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, ToolboxSettings.parse builds a deeply nested attacker-controlled settings tree iteratively, but the later public helpers to_settings_string, remove_blanks, add_default_fields, sort_fields, and add_blank_lines recursively traverse that tree without a depth bound. Invoking any of those helpers on input nested beyond ...
Related PoCs for CVE-2026-129228
No other PoCs found for this CVE.