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.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.58%
- Published
- Nov 13, 2026
- In the news
- 1 story
What to do
A serious resource exhaustion flaw in Nltk that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.10.4
Affected versions
- Nltk
- Before 3.10.4
Description
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.
Affected products
Get alerts for these →Timeline 6
Latest change: Tenable Cloud Security plugin 485901: SCA: security update for nltk (GHSA-89p3-fcch-88ph) (Nov 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 30, 2026
Mon, Nov 23, 2026
Sat, Nov 14, 2026
- Researchnltk: NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chainsGitHub Advisories · 00:08 UTC
Fri, Nov 13, 2026
- Researchnltk: Duplicate Advisory: Quadratic-time CPU denial of service in NLTK CCG lexicon parser (fromstring) on wide bracket bodies and operator chainsGitHub Advisories · 12:31 UTC
- CVECVE-2026-126299 published (CVSS 7.5)CVE Program · 10:17 UTC
References 2
- github.com /nltk/nltk/security/advisories/GHSA-89p3-fcch-88ph
- www.vulncheck.com /advisories/nltk-before-3.10.4-quadratic-time-denial-of-service-via-ccg-lexicon-fromstring