cve.bz

CVE-2026-12259

6.5 mediumEPSS 0.1%

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.

CVSS 3.1
6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.1% chance of exploitation in the next 30 days; higher than 0% of CVEs (scores of 2026-10-25)
CWE
CWE-494
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5wp5-5229-5g6qPyPInltk<3.9.33.9.3
PYSEC-2026-3729PyPInltk<3.9.33.9.3
PYSEC-2026-4318PyPInltk<=3.9.4no fix published

References

Check your stackJSON