# CVE-2026-126299: NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring

- 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.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-13T09:36:26.544Z
- Modified: 2026-11-14T00:15:03.205Z
- Also known as: GHSA-89p3-fcch-88ph
- 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 a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.

(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-89p3-fcch-88ph> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.4-quadratic-time-denial-of-service-via-ccg-lexicon-fromstring> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126299> (advisory)
- <https://github.com/nltk/nltk/pull/3944> (web)
- <https://github.com/nltk/nltk/commit/0bb5b947bd235b950cf2f90e893a498e16da0fe3> (web)
- <https://github.com/nltk/nltk/commit/cf12a5e6a> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)

## Sources

- CVE List: [CVE-2026-126299](https://www.cve.org/CVERecord?id=CVE-2026-126299), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-89p3-fcch-88ph](https://github.com/advisories/GHSA-89p3-fcch-88ph), CC-BY-4.0, modified 2026-11-14
- NVD: [CVE-2026-126299](https://nvd.nist.gov/vuln/detail/CVE-2026-126299), Public domain, modified 2026-11-13

---

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