CVE-2026-129224
Beschrijving NL
NLTK (Natural Language Toolkit) is een suite van open-source Python-modules, datasets en tutorials die onderzoek en ontwikkeling op het gebied van natuurlijke taalverwerking ondersteunen. Vóór 3.10.4 verwerkten de functies matchBrackets en augParseCategory van de CCG-lexiconparser recursief geneste categorieën tussen haakjes zonder dieptegrens. Een door een aanvaller gecontroleerde lexiconstring met overmatige nesting kan RecursionError veroorzaken via nltk.ccg.lexicon.fromstring en de parse-bewerking of de request worker beëindigen. Dit probleem is opgelost in versie 3.10.4.
Origineel (Engels) tonen
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 worker. This issue is fixed in version 3.10.4.