
CVE catalog
CVE-2025-14009
NLTK vulnerability
- Severity
- Critical · CVSS 10
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.04% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nltk | sid | 3.10.3-1 | fixed |
| Debian | nltk | forky | 3.10.3-1 | fixed |
| Debian | nltk | trixie | 3.9.1-2 | vulnerable |
| Debian | nltk | bookworm | 3.8-1 | vulnerable |
| Ubuntu | nltk | noble | Not reported | vulnerable |
| PyPI | nltk | Not reported | Not reported | unknown |
| Ubuntu | nltk | noble | 3.8.1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-nltk | noble | 3.8.1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | nltk | pro | 3.9.1-2 | vulnerable |
| Ubuntu | nltk | pro | 3.9.1-2build1 | vulnerable |
| Ubuntu | nltk | pro | 3.9.2-1 | vulnerable |
| Ubuntu | nltk | pro | 3.9.2-1ubuntu0.1~esm1 | fixed |
| Opensuse | python-nltk | tumbleweed | 3.9.1-3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nltk | source | sid | 3.9.3-1 | not yet assigned | Not reported | [1128474] |
| Debian | nltk | source | forky | 3.9.3-1 | not yet assigned | Not reported | [1128474] |
| Debian | nltk | source | trixie | (unfixed) | not yet assigned | Not reported | [1128474] |
| Debian | nltk | source | bookworm | (unfixed) | not yet assigned | Not reported | [1128474] |
| Ubuntu | nltk | deb | noble | 3.8.1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-nltk | deb | noble | 3.8.1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | nltk | deb | pro | 3.9.2-1ubuntu0.1~esm1 | Not reported | USN-8214-1 | Not reported |
| Opensuse | python-nltk | rpm | tumbleweed | 3.9.1-3.1 | Not reported | OPENSUSE-SU-2026:10226-1 | Not reported |
Notes
[trixie] nltk: Minor issue [bookworm] nltk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.8-1· all · bookwormAffected
usn · nltk · debian · bookworm; usn · nltk · debian · 12
3.8-1· all · bookwormAffected
usn · nltk · debian · bookworm; usn · nltk · debian · 12
[Debian 13 (Trixie)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.9.1-2· all · trixieAffected
usn · nltk · debian · 13
3.9.1-2· all · trixieAffected
usn · nltk · debian · 13
[openSUSE Tumbleweed]
- [python313-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.9.1-3.1Version impact unknown
usn · python-nltk · opensuse · tumbleweed
- [python314-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.9.1-3.1Version impact unknown
usn · python-nltk · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10226-1.json]
- [https://github.com/advisories/GHSA-7p94-766c-hgjp]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-14009]
- [https://osv.dev/vulnerability/USN-8214-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10226-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-14009]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14009.json]
- [https://ubuntu.com/security/notices/USN-8214-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]