PublishedCVE-2026-126301·
5.3Medium
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 from 3.6 before 3.10.4 contains an algorithmic complexity vulnerability in LegalitySyllableTokenizer.tokenize that allows remote attackers to exhaust CPU by supplying long all-vowel tokens. Attackers can submit a token such as a long run of vowels, causing the unguarded onset reversal loop to perform quadratic work and deny service to syllabification components.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | >=3.6 <3.10.4 | 3.10.4 | |
| pypi: nltk | >=3.6 <3.10.4, >=3.6 <=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