Security mailing lists by PureSourceCode

CVE-2026-12259

MEDIUM 6.5CVSS 3.1

NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection

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.

Published
3 Aug 2026
Last modified
23 Oct 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-494
Also known as
CVE-2026-63310GHSA-5wp5-5229-5g6qGHSA-gf32-cmjh-8m9vPYSEC-2026-3729PYSEC-2026-4318
Sources
NVDJSONOSV GHSA-5wp5-5229-5g6qJSONOSV GHSA-gf32-cmjh-8m9vJSONOSV PYSEC-2026-3729JSONOSV PYSEC-2026-4318JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

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

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 3 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 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.