CVE-2026-128140
Medium 6.5No known exploitationFix availableNLTK: Downloader cyclic collection indices cause an infinite closure walk
Vendor advisory: GHSA-pcm8-fqjx-rvx8
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 30% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-835
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| nltk | nltk | >= 3.6.7, < 3.10.4 | Not documented | CVE Program |
| pip | nltk | from 3.6.7 before 3.10.4 | 3.10.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-pcm8-fqjx-rvx8 (opens in a new tab)github-advisory
- https://github.com/nltk/nltk/commit/b77d329db934711e053520588b22b4ac73539fa2 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/pull/3767 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)x_refsource_misc
- https://github.com/nltk/nltk/security/advisories/GHSA-pcm8-fqjx-rvx8 (opens in a new tab)x_refsource_confirm