# CVE-2026-126303: NLTK before 3.10.4 Denial of Service via SteppingRecursiveDescentParser.parse()

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:36:23.874Z
- Modified: 2026-11-18T00:45:13.871Z
- Also known as: GHSA-8fx7-8jr8-84rv
- Weaknesses: CWE-400, CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.4 (not affected: 3.10.4)
- nltk (PyPI): before 3.10.4

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rv> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parse> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2026-126303](https://www.cve.org/CVERecord?id=CVE-2026-126303), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-8fx7-8jr8-84rv](https://github.com/advisories/GHSA-8fx7-8jr8-84rv), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-126303](https://nvd.nist.gov/vuln/detail/CVE-2026-126303), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126303 · Whole record: https://cve.day/CVE-2026-126303.json · Rebuilt by cve.day 2026-11-25T22:59:50.634Z
