---
title: "CVE-2025-14009"
canonical_url: "https://pkgseek.com/security/CVE-2025-14009"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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, lea…

CVE-2025-14009 is rated HIGH (8.8), with 2 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 2
- **Affected distros**: 2
- **Distros with fixed_in**: openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-nltk | 3.9.1-2 | — |
| openSUSE | 15.6 | python3-nltk | 3.7-bp156.4.3.1 | 3.7-bp156.4.6.1 |
