CVE-2025-14009
CVE-2025-14009 is a high-severity vulnerability in Nltk with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-207820
- Weakness: CWE-94
- Affected product: Nltk
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-14009?
- 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.
- How severe is CVE-2025-14009?
- CVE-2025-14009 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-14009 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-14009?
- CVE-2025-14009 affects Nltk. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-14009?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-14009 have an EU (EUVD) identifier?
- Yes. CVE-2025-14009 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-207820.
- When was CVE-2025-14009 published?
- CVE-2025-14009 was published on 2026-02-18 and last updated on 2026-07-15.
References
- https://huntr.com/bounties/49ecbc02-054e-4470-b2e0-b267936cc4e4
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/security/cve/CVE-2025-14009
- https://bugzilla.redhat.com/show_bug.cgi?id=2440724
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14009.json
Affected products (1)
- cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
More vulnerabilities in Nltk
- CVE-2026-0848 — Critical (CVSS 10.0): NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the…
- CVE-2026-33236 — High (CVSS 8.1): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
- CVE-2025-71408 — High (CVSS 7.8): NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the nltk.collocations…
- CVE-2026-12252 — High (CVSS 7.8): In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger,…
- CVE-2026-54293 — High (CVSS 7.5): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
- CVE-2026-33231 — High (CVSS 7.5): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…