Live threats

All CVEs / Nltk

CVE-2025-14009Nltk

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Feb 18, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfile.extractall() without performing path validation or security checks. This allows attackers to craft malicious zip packages that, when downloaded and extracted by NLTK, can execute arbitrary code. The vulnerability arises because NLTK assumes all downloaded packages are trusted and extracts them without validation. If a malicious package contains Python files, such as __init__.py, these files are executed automatically upon import, leading to remote code execution. This issue can result in full system compromise, including file system access, network access, and potential persistence mechanisms.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nltk.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nltk < 3.9.3 3.9.3 pip install "nltk>=3.9.3"
PyPI nltk < 3.9.3 3.9.3 pip install "nltk>=3.9.3"

Per OSV / GitHub Advisories (GHSA-7p94-766c-hgjp, PYSEC-2026-96). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nltknltk< 3.9.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.