PublishedCVE-2026-126300·
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.2.5 before 3.10.4 contains an algorithmic complexity vulnerability in TreebankWordTokenizer.span_tokenize that allows remote attackers to cause quadratic CPU consumption through repeated list.pop(0) calls. Attackers can submit long runs of double-quote characters to services span-tokenizing untrusted text, exhausting a CPU core and degrading availability.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | >=3.2.5 <3.10.4 | 3.10.4 | |
| pypi: nltk | >=3.2.5 <3.10.4, >=3.2.5 <=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