Shellfeed logo Shellfeed

CVE-2026-126303 · HIGH (CVSS 7.5)

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

EPSS: 0.6% probability of exploitation in the next 30 days (percentile 47.1).

Details

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.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • PyPI nltk [0 – 3.10.4]
  • GIT github.com/nltk/nltk [0 – 5c41fc04a45e95577a83f3914acda211a994be00]

References

Posts about CVE-2026-126303