High severity7.5NVD Advisory· Published Nov 13, 2026· Updated Nov 13, 2026
CVE-2026-126303
CVE-2026-126303
Description
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
1Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-8fx7-8jr8-84rvghsaADVISORY
- github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49bghsa
- github.com/nltk/nltk/pull/3895ghsa
- github.com/nltk/nltk/releases/tag/v3.10.4ghsa
- github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rvnvd
- nvd.nist.gov/vuln/detail/CVE-2026-126303ghsa
- www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parsenvd
News mentions
0No linked articles in our index yet.