CVE-2026-126298
High
Description
NLTK before 3.10.4 contains a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU through quadratic-time right-factor binarization using list.pop(0). Attackers can supply a wide flat treebank tree parsed by Tree.fromstring to force tens of seconds of single-threaded CPU consumption, blocking the processing thread.
SeverityHigh
CVSS7.5
Exploit probability—
ProductNltk
PublishedNov 13, 2026
First seenNov 13, 2026
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- nltk nltk3.10.4 or later
- nltk3.10.4 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nltk nltk | v < 3.10.4 | 3.10.4 |
| nltkPyPI | v ≤ 3.10.3 | 3.10.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.