# CVE-2026-80206: NLTK 3.10.2 Regular Expression Denial of Service via tgrep

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-26T10:28:15.035Z
- Modified: 2026-09-08T20:45:04.333Z
- Also known as: GHSA-w3v8-gmh9-3wv7, PYSEC-2026-3751
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK before 3.10.3 contains a regular expression denial of service (ReDoS) vulnerability in the tgrep module. The _tgrep_node_action function compiles user-supplied regular expressions embedded in /regex/ pattern nodes and executes them via re.search against tree node labels without any validation or timeout. An attacker who controls the tgrep pattern (e.g., via tgrep_positions() or tgrep_compile() exposed to external input) can supply a pattern that triggers catastrophic backtracking, causing indefinite CPU saturation that blocks the Python process.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-80206> (advisory)
- <https://github.com/nltk/nltk/commit/0072ea2fb8be22e038a36e887b7061bb6b9339d9> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.3> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3751.yaml> (web)

## Sources

- CVE List: [CVE-2026-80206](https://www.cve.org/CVERecord?id=CVE-2026-80206), CVE Terms of Use, modified 2026-08-26
- GitHub Advisory Database: [GHSA-w3v8-gmh9-3wv7](https://github.com/advisories/GHSA-w3v8-gmh9-3wv7), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-80206](https://nvd.nist.gov/vuln/detail/CVE-2026-80206), Public domain, modified 2026-09-01
- PyPA Advisory Database: [PYSEC-2026-3751](https://osv.dev/vulnerability/PYSEC-2026-3751), CC-BY-4.0, modified 2026-09-02

---

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