{"cve":"CVE-2024-39705","nvd":{"published":"2024-06-27T22:15:10.543","modified":"2026-06-17T07:42:30.657","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-502"],"references":["https://github.com/nltk/nltk/issues/2522","https://github.com/nltk/nltk/issues/3266","https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706","https://github.com/nltk/nltk/issues/2522","https://github.com/nltk/nltk/issues/3266"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-39705","score":0.01346,"percentile":0.7144,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cgvx-9447-vcch","url":"https://osv.dev/vulnerability/GHSA-cgvx-9447-vcch","summary":"ntlk unsafe deserialization vulnerability","modified":"2026-09-10T03:50:15.193241968Z","packages":[{"ecosystem":"PyPI","name":"nltk","purl":"pkg:pypi/nltk","ranges":["<3.9"],"fixed":["3.9"]}]},{"id":"PYSEC-2024-167","url":"https://osv.dev/vulnerability/PYSEC-2024-167","summary":"","modified":"2026-06-10T17:02:23.621937763Z","packages":[{"ecosystem":"PyPI","name":"nltk","purl":"pkg:pypi/nltk","ranges":["<3.9"],"fixed":["3.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}