CVE-2026-128140: NLTK · Downloader cyclic collection indices cause an infinite closure walk
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 3.10.4 when convenient.
Data as of 20 Nov 2026, 00:28 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 3.10.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade nltk to 3.10.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPInltk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in NLTK version 3.10.4 that fixes this vulnerability. Users should upgrade to version 3.10.4 or later to remediate the issue. Until patched, avoid using untrusted or third-party mirrors for the downloader index URL to reduce the risk of receiving malicious index data. The vendor advisory confirms the fix in 3.10.4.
Description
A vulnerability in the NLTK Python package downloader affects versions 3.6.7 through 3.10.3. The downloader's index update function performs a breadth-first search to compute package closures without cycle detection or depth limits. Malicious or compromised index data containing self-referencing or mutually referencing collections causes an infinite loop, leading to 100% CPU usage and unbounded memory growth until process termination. This flaw can cause denial of service during downloader operations that rely on index parsing.
References
- github.com/nltk/nltk/security/advisories/GHSA-pcm8-fqjx-rvx8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-128140 (opens in a new tab)
- github.com/nltk/nltk/pull/3767 (opens in a new tab)
- github.com/nltk/nltk/commit/b77d329db934711e053520588b22b4ac73539fa2 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)