CVE-2026-128140
NLTK: Downloader cyclic collection indices cause an infinite closure walk
- Severity
- medium CVSS 6.5 (v3.1)
- Affects
- nltk
- Weakness
- CWE-835: Loop with Unreachable Exit Condition
- Published
- 19 November 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.