CVE-2026-80206: NLTK - Denial of Service
- Cve: CVE-2026-80206
- Name: NLTK - Denial of Service
- 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.
- Impact: Attackers can cause indefinite CPU saturation, leading to denial of service by blocking the Python process.
- Remediation: Update to version 3.10.3 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirements: Attacker needs control over tgrep pattern input
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0044
- Epss percentile: 0.39043
- Assignee: [email protected]
- Published at: 2026-08-26T11:16:40Z
- Age in days: 90
- Modified at: 2026-09-01T20:07:46Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-80206
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7 | nvd | 2026-08-26 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7 | nvd | Exploit, Vendor Advisory |
| https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nltk:nltk | < 3.10.3 | no | nvd | /v1/products/nltk/nltk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nltk/nltk | commit, fix, package, releases, security_advisory | yes | /v1/repositories/nltk/nltk |
Index
- Repositories: 801
- Repositories high signal: 400
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-08-26
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts