Skip to main content
CVE-2026-129223VulnerabilityPublished Updated

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research

Affects nltkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129223· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 3.10.4 soon.

Data as of 25 Nov 2026, 23:50 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu Pro 14.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 2.0~b9-0ubuntu4 – 2.0~b9-0ubuntu4.1~esm6
5 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • 3.0.4-1 – 3.1-1ubuntu0.1+esm4
8 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 3.2.4-1 – 3.2.5-1ubuntu0.1+esm4
7 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focalOther threatsAffected
  • 3.4.5-1 – 3.4.5-2ubuntu0.1~esm4
6 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 3.5-1 – 3.7-1ubuntu0.1~esm2
6 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =3.8.1-1
  • =3.8.1-1ubuntu0.1~esm1
  • =3.8.1-1ubuntu0.1~esm2
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. Until then, avoid loading untrusted or attacker-controlled WordNet-format lexical resources to prevent triggering the recursion limit.

Description

NLTK versions prior to 3.10.4 contain a vulnerability in the WordNet Synset.tree and acyclic_tree functions, which traverse relation graphs recursively without a depth limit. An attacker can exploit this by supplying a malicious WordNet-format lexical resource with excessively deep relation graphs, causing the traversal to exceed Python's recursion limit and crash the application. This issue does not affect the bundled WordNet 3.0 corpus. The vulnerability is fixed in version 3.10.4.

References

Community reviews

Loading reviews…