CVE-2026-126303

GHSA-8fx7-8jr8-84rv · published 13 Nov 2026 · updated 18 Nov 2026

NLTK before 3.10.4 Denial of Service via SteppingRecursiveDescentParser.parse()

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.4 and nltk 3.10.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nltk<3.10.43.10.4
pypi: nltk<3.10.4, <=3.10.33.10.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in nltk (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126303 severity on Zeptric[![CVE-2026-126303](https://zeptric.io/badge/cve/CVE-2026-126303.svg)](https://zeptric.io/cve/CVE-2026-126303)