PublishedCVE-2026-126299·
7.5High
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.4 and nltk 3.10.4.
NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | <3.10.4 | 3.10.4 | |
| pypi: nltk | <3.10.4, <=3.10.3 | 3.10.4 |
Every event on this vulnerability
Other vulnerabilities in nltk (PyPI), strongest first
A live severity badge for an advisory, README or ticket