CVE-2026-128139: NLTK - Denial of Service
- Cve: CVE-2026-128139
- Name: NLTK - Denial of Service
- Description: NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6 to 3.10.3, XMLCorpusView._read_xml_fragment accumulates 1 KiB blocks and repeatedly applies whole-buffer XML validation while a comment or CDATA terminator remains ahead. A large comment in an attacker-controlled corpus file causes quadratic CPU consumption through documented XML corpus readers across the affected range. On 3.6 and 3.9.2, a large CDATA section incurs the quadratic scan before rejection, while on 3.10.3 both comment and CDATA documents are read successfully. This vulnerability is fixed in 3.10.4.
- Impact: Attackers can cause quadratic CPU consumption, leading to denial of service by exhausting system resources.
- Remediation: Upgrade to version 3.10.4 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0051
- Epss percentile: 0.44089
- Assignee: [email protected]
- Published at: 2026-11-19T18:18:06Z
- Age in days: 5
- Modified at: 2026-11-20T22:17:48Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-128139
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/googlesky/CVE-2026-128139 | poc-in-github | 2026-11-23 |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://github.com/nltk/nltk/commit/9cacbb95d97eaac7debb30d6e7decbe74d2c635f |
| https://github.com/nltk/nltk/releases/tag/v3.10.4 |
| https://github.com/nltk/nltk/security/advisories/GHSA-j8g8-j4j7-8j54 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nltk:nltk | >= 3.6, < 3.10.4 | no | cna_alias_text | /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: 678
- Repositories high signal: 340
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-11-23
- 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