cve.bz

CVE-2024-39705 Deserialization of Untrusted Data

9.8 criticalEPSS 1.3%Fix available

Critical (9.8). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in nltk 3.9.

On this page
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.

Severity

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
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-06-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-39705 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-39705?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-39705?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-39705 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cgvx-9447-vcchPyPInltk<3.93.9
PYSEC-2024-167PyPInltk<3.93.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nltkno fix listedDEBIAN-CVE-2024-39705
Debian13, 14nltk3.9.1-1DEBIAN-CVE-2024-39705
Ubuntu22.04:LTS, 24.04:LTS, Pro:14.04:LTS and 3 morenltkno fix listedUBUNTU-CVE-2024-39705
SUSEPackage Hub 15 SP5python-nltk3.7-bp155.3.3.1openSUSE-SU-2024:0222-1
SUSEPackage Hub 15 SP6python-nltk3.7-bp156.4.3.1openSUSE-SU-2024:0221-1
openSUSELeap 15.5python-nltk3.7-bp155.3.3.1openSUSE-SU-2024:0222-1
openSUSELeap 15.6python-nltk3.7-bp156.4.3.1openSUSE-SU-2024:0221-1
openSUSETumbleweedpython-nltk3.10.1-1.1openSUSE-SU-2026:11469-1
openSUSETumbleweedpython-nltk3.8.1-2.1openSUSE-SU-2024:14103-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON