CVE-2025-14009: Vulnerability in Nltk

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

PyPI, CWE-94

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-7p94-766c-hgjp
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-94
Published
18 Feb 2026
Last change
15 Jul 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Nltk Before 3.9.3. Fixed in 3.9.3

Affected packages

Vulnerable version ranges and fixed releases

  • nltk PyPI, Affected through 3.9.2. Fixed in 3.9.3

Advisories

Vendor and security advisories

Related