Home / CVE-2024-39705
CVE-2024-39705: is it exploited, and which versions of nltk are affected and fixed?
CVE-2024-39705 is a deserialization of untrusted data vulnerability in nltk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: nltk before 3.9 (GitHub advisory GHSA-cgvx-9447-vcch). Fixed in 3.9 (GitHub advisory GHSA-cgvx-9447-vcch). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-39705?
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.
From the CVE record by mitre, last updated September 15, 2024, 19:27 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | nltk | < 3.9 | 3.9 | GHSA-cgvx-9447-vcch |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 21, 2025. Summary: ntlk unsafe deserialization vulnerability.
How severe is CVE-2024-39705?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-39705 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 28, 2024)
- EPSS
- 1.35% probability of exploitation activity in the next 30 days, percentile 72.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/nltk/nltk/issues/3266
- https://github.com/nltk/nltk/issues/2522
- https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706
When was it published, and where is the official record?
- Reserved
- June 27, 2024
- Published
- June 27, 2024, 00:00 UTC
- CVE record updated
- September 15, 2024, 19:27 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:42 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on June 27, 2024?
- Jun 27, 2024CVE-2024-6071 PTC Creo Elements/Direct License: missing authorization
- Jun 27, 2024CVE-2024-4395 Jamf Compliance Editor: privilege escalation (improper privilege management)
- Jun 27, 2024CVE-2024-5642 Python Software Foundation CPython: CWE-noinfo Not enough information
- Jun 27, 2024CVE-2024-22276 VMware Cloud Director Object Storage Extension: sensitive information written to log files
- Jun 27, 2024CVE-2024-22272 VMware Cloud Director: missing authorization
- Jun 27, 2024CVE-2024-22260 VMware Workspace One UEM: information disclosure
- Jun 27, 2024CVE-2024-2973 Juniper Networks Session Smart Router: authentication bypass through another path
- Jun 27, 2024CVE-2024-6127 BC Security Empire: path traversal (reading or writing files outside the intended folder)
Every CVE published on June 27, 2024
Questions about CVE-2024-39705
Is CVE-2024-39705 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of nltk are affected by CVE-2024-39705?
nltk before 3.9, per the GitHub advisory GHSA-cgvx-9447-vcch. The tables above give every range the sources list.
Which version fixes CVE-2024-39705?
3.9, per the GitHub advisory GHSA-cgvx-9447-vcch. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-39705?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-39705?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.