CVE-2026-126299
NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring
- Severity
- high CVSS 8.7 (v4.0)
- Affects
- nltk
- Weakness
- CWE-400: Uncontrolled Resource Consumption
- Published
- 13 November 2026 by VulnCheck
NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.
Our coverage
We have not written about this one. Know why it matters? Send a tip.