Skip to main content
CVE-2024-39705VulnerabilityPublished Updated

NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used

Affects nltkSource GCVE Database

0
Compare
Authoritative record:CVE-2024-39705· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 24 Nov 2026, 19:27 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jun 2024

  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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=nobleOther threatsAffected
  • =3.8.1-1
Fixed in–
Ubuntu 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=jammyOther threatsAffected
  • 3.5-1 – 3.7-1
4 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 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 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 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–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used. This affects, for example, averaged_perceptron_tagger and punkt.

References

Community reviews

Loading reviews…