Security mailing lists by PureSourceCode

CVE-2025-14009

HIGH 8.8CVSS 3.1

NLTK has a Zip Slip Vulnerability

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.

Published
18 Feb 2026
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-7p94-766c-hgjpPYSEC-2026-96
Sources
NVDJSONOSV GHSA-7p94-766c-hgjpJSONOSV PYSEC-2026-96JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nltk nltk
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
< 3.9.3 3.9.3
OSV PyPI nltk < 3.9.3 3.9.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Feb 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Feb 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.