# CVE-2024-39705: ntlk unsafe deserialization vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-02)
- Published: 2024-06-27T00:00:00.000Z
- Modified: 2026-09-10T03:50:15.193Z
- Also known as: GHSA-cgvx-9447-vcch, PYSEC-2024-167
- Weaknesses: CWE-300, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nltk nltk: up to 3.8.1
- nltk (PyPI): before 3.9

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/nltk/nltk/issues/3266> (report, web)
- <https://github.com/nltk/nltk/issues/2522> (report, web)
- <https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39705> (advisory)
- <https://github.com/nltk/nltk/commit/441aecb7d33014bd08672232c6c8bb69c2ceaba2> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2024-167.yaml> (web)
- <https://github.com/advisories/GHSA-cgvx-9447-vcch> (advisory)

## Sources

- CVE List: [CVE-2024-39705](https://www.cve.org/CVERecord?id=CVE-2024-39705), CVE Terms of Use, modified 2024-09-15
- GitHub Advisory Database: [GHSA-cgvx-9447-vcch](https://github.com/advisories/GHSA-cgvx-9447-vcch), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39705](https://nvd.nist.gov/vuln/detail/CVE-2024-39705), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-167](https://osv.dev/vulnerability/PYSEC-2024-167), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-39705 · Whole record: https://cve.day/CVE-2024-39705.json · Rebuilt by cve.day 2026-11-25T22:58:42.304Z
