CVE-2026-12259CWE-494

CVE-2026-12259

Medium · published August 3, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
0.9
In the wild
Unconfirmed
What it is

In nltk version 3.9.4, the `nltk.downloader.Downloader._download_package()` function writes downloaded package bytes to disk and may extract them before enforcing SHA-256 or MD5 checksum validation. This allows an attacker to tamper with the package response body for `info.url` through a compromised mirror, malicious proxy, or other source-substitution condition, leading to the installation of attacker-controlled package bytes. The vulnerability can result in malicious corpus or model content being trusted by downstream users or applications.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00101 · 0.9th percentile
Weakness
CWE-494 · Download of Code Without Integrity Check
Published
2026-08-03T12:17Z
Affected products (1)
ProductVersionsFixed in
nltk/nltkall versions—
References (1)
EPSS history
Timeline
  • 03 AUG 07:09Z
    Improper Input Validation in nltk/nltk
    cvelistv5