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% (52nd 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% (52nd 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-06-30.
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-2026-12243 — High (CVSS 7.5): NLTK version 3.9.4 is vulnerable to a path traversal attack due to an incomplete fix for GitHub Issue #3504. The…
- 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…
- CVE-2026-0846 — High (CVSS 7.5): A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.