CVE-2026-126300
NLTK from 3.2.5 before 3.10.4 CPU Exhaustion via TreebankWordTokenizer.span_tokenize
- Severity
- medium CVSS 6.9 (v4.0)
- Affects
- nltk
- Weakness
- CWE-407: Inefficient Algorithmic Complexity
- Published
- 13 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.