Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-39705

NLTK through 3.8.1 allows remote code execution if untrusted packages ...

Overview

Published
27 Jun 2024
Modified
17 Jun 2026
Critical CVE
1 Registry packages
9 OS packages
5 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-502

Affected packages · 1

Packages affected by CVE-2024-39705
EcosystemPackageVulnerableFixed in
PyPI nltk <3.9 3.9

Open a package to see all its vulnerabilities.

Operating systems · 11 fixes

chainguard 1 release · 3 packages

fixed 3
nemo apache-beam-python-3-11-sdk py3-nltk
chainguard fixes for CVE-2024-39705
ReleasePackageFixed in
nemo 1.23.0-r12
apache-beam-python-3-11-sdk 2.58.1-r0
py3-nltk 3.8.2-r0

debian 4 releases · 1 package

affected 2 fixed 2
nltk
debian fixes for CVE-2024-39705
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk 3.9.1-1
14 nltk 3.9.1-1

echo 1 release · 1 package

fixed 1
nltk
echo fixes for CVE-2024-39705
ReleasePackageFixed in
nltk 3.9.1-1

openSUSE 1 release · 2 packages

fixed 2
python313-nltk python310-nltk
openSUSE fixes for CVE-2024-39705
ReleasePackageFixed inAdvisory
Tumbleweed python313-nltk +1 3.10.1-1.1 openSUSE-SU-2026:11469-1
Tumbleweed python310-nltk +2 3.8.1-2.1 openSUSE-SU-2024:14103-1

wolfi 1 release · 1 package

fixed 1
py3-nltk
wolfi fixes for CVE-2024-39705
ReleasePackageFixed in
py3-nltk 3.8.2-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.