CVE-2024-39705
criticalpriority · track · 0EPSS 0.013 · 71 %ileEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-cgvx-9447-vcchntlk unsafe deserialization vulnerability2024-06-28ghsa · osvUS
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.
- PYSEC-2024-1672024-06-27vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-39705/cnnvd
- https://github.com/nltk/nltk/issues/2522cnnvd
- https://github.com/nltk/nltk/issues/3266cnnvd
- https://vigilance.fr/vulnerability/NLTK-code-execution-via-Integrated-Data-Package-Download-44818cnnvd
- https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706cnnvd
- https://github.com/nltk/nltk/issues/2522enisa_euvd
- https://github.com/nltk/nltk/issues/3266enisa_euvd
- https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan