10

CVE-2025-14009: nltk Code Injection

CVSS: 10.0v3.0CriticalModified
AliasesGHSA-7p94-766c-hgjpPYSEC-2026-96UBUNTU-CVE-2025-14009
Published 18-02-2026Last modified 15-07-2026

Vulnerability summary

CVE-2025-14009 is a critical (CVSS 10.0) Code Injection vulnerability in nltk. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 63.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.0 (CVE.org)
EPSS score
1.04%
0%100%
Low · +0.23 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 18-02-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

1.04%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

+0.23 pp

From 0.80% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.04%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Chainguard8 products
  • apache-beam-python-3.11-sdk< 2.71.0-r5
  • kubeflow-pipelines-visualization-server< 2.16.0-r0
  • label-studio< 1.22.0-r6
  • nemo< 2.6.2-r3
  • open-webui< 0.8.9-r0
Wolfi5 products
  • kubeflow-pipelines-visualization-server< 2.16.0-r0
  • open-webui< 0.8.9-r0
  • py3.11-nltk< 3.9.3-r0
  • py3.12-nltk< 3.9.3-r0
  • py3.13-nltk< 3.9.3-r0
Nltk2 products
Debian1 product
  • nltkAll versions (No fix recorded) | < 3.9.3-1
Opensuse1 product
  • python-nltk&distro=openSUSE Tumbleweed< 3.9.1-3.1
PyPI1 product
  • nltk< 3.9.3
Ubuntu1 product
  • nltk< 2.0~b9-0ubuntu4.1~esm5 | < 3.1-1ubuntu0.1+esm3 | < 3.2.5-1ubuntu0.1+esm3 | < 3.4.5-2ubuntu0.1~esm3 | < 3.7-1ubuntu0.1~esm1 | < 3.8.1-1ubuntu0.1~esm1 | All versions (No fix recorded) | < 3.9.2-1ubuntu0.1~esm1

7 vendors · 19 products

References

19 links
Show all 19 references