NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 3.10.4 soon.
Data as of 25 Nov 2026, 23:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 3.10.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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 25 Nov 2026.
What to do
Upgrade nltk to 3.10.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 14.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/nobleOther threats | 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
Upgrade NLTK to version 3.10.4 or later where this issue is fixed. No other mitigation is specified.
Description
NLTK versions prior to 3.10.4 contain a vulnerability in the DependencyGraph.tree and DependencyGraph.triples methods, which traverse parsed dependency edges using unbounded recursion without cycle or depth guards. A crafted dependency file with a long chain can cause a RecursionError, aborting the worker process. This issue is fixed in version 3.10.4.
References
- ubuntu.com/security/CVE-2026-129222 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-129222 (opens in a new tab)
- github.com/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff (opens in a new tab)
- github.com/nltk/nltk/pull/3885 (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)
- github.com/nltk/nltk/security/advisories/GHSA-rh8m-wqhc-qmrf (opens in a new tab)