CVE-2026-126300
NLTK from 3.2.5 before 3.10.4 CPU Exhaustion via TreebankWordTokenizer.span_tokenize
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-407 |
| Vendor | nltk |
| Product | nltk |
| Published | Nov 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for nltk nltk
Be the first to know when new medium vulnerabilities affecting nltk nltk are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
nltk / nltk
3.2.5 < 3.10.4
References
Credits
๐ manus-pi ๐ manus-use