Improper Validation of Integrity Check Value Affecting nltk package, versions [,3.10.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-NLTK-19639601
  • published7 Sept 2026
  • disclosed3 Aug 2026
  • creditUnknown

Introduced: 3 Aug 2026

CVE-2026-12259  (opens in a new tab)
CWE-354  (opens in a new tab)

How to fix?

Upgrade nltk to version 3.10.0 or higher.

Overview

nltk is a Natural Language Toolkit (NLTK) is a Python package for natural language processing.

Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value in nltk/downloader.py through the Downloader._download_package() download-and-extract flow. An attacker can install malicious package contents by tampering with the archive response, such as through a compromised mirror, HTTP interception, or a substituted download source. The downloader writes the fetched package to disk and then proceeds to extract it without verifying the final file against the expected checksum, so a modified archive can be unpacked as if it were trusted. This can lead to attacker-controlled corpus or model files being installed on systems that use nltk.download().

CVSS Base Scores

version 4.0
version 3.1