CVE-2026-126303
HIGH 8.7CVSS 4.0NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
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.
- Published
- 13 Nov 2026
- Last modified
- 18 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-407
- Also known as
- GHSA-8fx7-8jr8-84rv
- Sources
- NVDJSONOSV GHSA-8fx7-8jr8-84rvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nltk | < 3.10.4 | 3.10.4 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rv · WEB
- https://www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parse · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-126303 · ADVISORY
- https://github.com/nltk/nltk/pull/3895 · WEB
- https://github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49b · WEB
- https://github.com/nltk/nltk · PACKAGE
- https://github.com/nltk/nltk/releases/tag/v3.10.4 · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Nov 2026)