- Home
- Vulnerabilities
- CVE-2026-126303
CVE-2026-126303
NLTK before 3.10.4 Denial of Service via SteppingRecursiveDescentParser.parse()
Medium
50/100
Summary
NLTK before 3.10.4 contains an uncontrolled resource consumption vulnerability in SteppingRecursiveDescentParser.parse() that lacks any max_time deadline or step limit. Attackers influencing the grammar can supply an ambiguous self-embedding grammar and short token input to force unbounded top-down search, pinning CPU cores and exhausting worker pools.
Affected products and versions
Nltk (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Nltk | before 3.10.4 (excluded) |
— | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| nltk | before 3.10.4 (excluded) |
3.10.4 |
GitHub Advisory |
Fix
Upgrade — PyPI/nltk 3.10.4official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-8fx7-8jr8-84rv — NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars 13 Nov 2026
References
- https://github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rvexploit
- https://www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parsethird-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126303ADVISORY
- https://github.com/nltk/nltk/pull/3895WEB
- https://github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49bWEB
- https://github.com/nltk/nltkPACKAGE
- https://github.com/nltk/nltk/releases/tag/v3.10.4WEB
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-400 · Autre (CWE-400)