ADVISORIES

Vulnerability

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.

22 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALPINE-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…

    CVE-2025-14009 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2025-14009
    CVE-2025-14009 Alpine Updated 18 November 2026
  • CGA-4f3w-xxqf-3xr3
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-4j2h-jvvm-wrf2
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-5j96-7hf2-cq29
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-75qv-9gxc-9mf6
    CVE-2025-14009 Chainguard Updated 5 November 2026
  • CGA-7mwm-hcrg-fh8c
    CVE-2025-14009 Chainguard Updated 5 November 2026
  • CGA-96cv-jh2q-cfc4
    CVE-2025-14009 Chainguard Updated 5 November 2026
  • CGA-98m7-9j95-95h5
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-fqxj-r2jp-6jr7
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-hq6j-mgxg-68fp
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-q98q-3rrh-p8hq
    CVE-2025-14009 Chainguard Updated 5 November 2026
  • CGA-rhh2-535c-j65p
    CVE-2025-14009 Chainguard Updated 5 November 2026
  • CGA-vhc7-r77w-2vcg
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-vwgh-gjj9-4j78
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • CGA-x9vc-x79r-f3hw
    CVE-2025-14009 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-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…

    CVE-2025-14009 Debian Updated 1 September 2026
  • GHSA-7p94-766c-hgjp

    NLTK has a Zip Slip Vulnerability

    Critical CVE-2025-14009 PyPI Updated 10 September 2026
  • PYSEC-2026-96

    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…

    CVE-2025-14009 PyPI Updated 10 June 2026
  • UBUNTU-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…

    CVE-2025-14009 Ubuntu Updated 17 October 2026
  • USN-8214-1

    nltk vulnerability

    Ubuntu Updated 30 June 2026
  • openSUSE-SU-2026:10226-1

    python311-nltk-3.9.1-3.1 on GA media

    CVE-2025-14009 openSUSE Updated 23 March 2026

References