NLTK: Downloader cyclic collection indices cause an infinite closure walk
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 12, 2026
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.7 until 3.10.4, nltk.downloader follows collection membership without tracking already visited collection nodes. A self-referencing or mutually referencing collection index can therefore make the package-closure walk loop indefinitely while its queue and memory usage grow, denying service when a victim processes the attacker-influenced index. This issue is fixed in version 3.10.4.
| Product | Versions |
|---|---|
| nltk nltk | >= 3.6.7, < 3.10.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | GitHub_M |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.