CVE-2026-80206
published high CVSS 4.0 · 8.2NLTK 3.10.2 Regular Expression Denial of Service via tgrep
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk0 to < 3.10.3 (affected · semver) · 3.10.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 0 to < 3.10.3 (affected · semver)3.10.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1333 Inefficient Regular Expression Complexity
References
2- GitHub Security Advisory (GHSA-w3v8-gmh9-3wv7) https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7
- VulnCheck Advisory: NLTK 3.10.2 Regular Expression Denial of Service via tgrep https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep
Provider assertions
2VulnCheck · cna
NLTK 3.10.2 Regular Expression Denial of Service via tgrep
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50be73e7a5191481fb801ec540b9f20ba37fbea715f445b098e0e76342d603d7
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record