CVE-2024-39705nltk
Critical 9.8 No auth needed
Follow: this CVE · nltk · nltk We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Jun 27, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for nltk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nltk |
< 3.9 |
3.9 |
pip install "nltk>=3.9" |
| PyPI | nltk |
< 3.9 |
3.9 |
pip install "nltk>=3.9" |
Per OSV / GitHub Advisories (GHSA-cgvx-9447-vcch, PYSEC-2024-167). Check the version in your lockfile before upgrading.
Affected products
- nltk · nltk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-nltk-3.10.1-1.1 on GA media · SUSE · openSUSE-SU-2026:11469-1 · Aug 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.