CVE catalog

CVE-2026-12259

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. T

[CVE catalog]

Severity
Critical · CVSS 9.3CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.10% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannltksid3.10.3-1vulnerable
Debiannltkforky3.10.3-1vulnerable
Debiannltktrixie3.9.1-2vulnerable
Debiannltkbookworm3.8-1vulnerable
PipnltkNot reported3.9.3fixed
CpenltkNot reportedNot reportedunknown
PyPInltkNot reported0.8vulnerable
PyPInltkNot reported0.9vulnerable
PyPInltkNot reported0.9.3vulnerable
PyPInltkNot reported0.9.4vulnerable
PyPInltkNot reported0.9.5vulnerable
PyPInltkNot reported0.9.6vulnerable
PyPInltkNot reported0.9.7vulnerable
PyPInltkNot reported0.9.8vulnerable
PyPInltkNot reported0.9.9vulnerable
PyPInltkNot reported2.0.1vulnerable
PyPInltkNot reported2.0.1rc1vulnerable
PyPInltkNot reported2.0.1rc2-gitvulnerable
PyPInltkNot reported2.0.1rc3vulnerable
PyPInltkNot reported2.0.1rc4vulnerable
PyPInltkNot reported2.0.2vulnerable
PyPInltkNot reported2.0.3vulnerable
PyPInltkNot reported2.0.4vulnerable
PyPInltkNot reported2.0.5vulnerable
PyPInltkNot reported2.0b4vulnerable
PyPInltkNot reported2.0b5vulnerable
PyPInltkNot reported2.0b6vulnerable
PyPInltkNot reported2.0b7vulnerable
PyPInltkNot reported2.0b8vulnerable
PyPInltkNot reported2.0b9vulnerable
PyPInltkNot reported3.0.0vulnerable
PyPInltkNot reported3.0.0b1vulnerable
PyPInltkNot reported3.0.0b2vulnerable
PyPInltkNot reported3.0.1vulnerable
PyPInltkNot reported3.0.2vulnerable
PyPInltkNot reported3.0.3vulnerable
PyPInltkNot reported3.0.4vulnerable
PyPInltkNot reported3.0.5vulnerable
PyPInltkNot reported3.1vulnerable
PyPInltkNot reported3.2vulnerable
PyPInltkNot reported3.2.1vulnerable
PyPInltkNot reported3.2.2vulnerable
PyPInltkNot reported3.2.3vulnerable
PyPInltkNot reported3.2.4vulnerable
PyPInltkNot reported3.2.5vulnerable
PyPInltkNot reported3.3vulnerable
PyPInltkNot reported3.4vulnerable
PyPInltkNot reported3.4.1vulnerable
PyPInltkNot reported3.4.2vulnerable
PyPInltkNot reported3.4.3vulnerable
PyPInltkNot reported3.4.4vulnerable
PyPInltkNot reported3.4.5vulnerable
PyPInltkNot reported3.5vulnerable
PyPInltkNot reported3.5b1vulnerable
PyPInltkNot reported3.6vulnerable
PyPInltkNot reported3.6.1vulnerable
PyPInltkNot reported3.6.2vulnerable
PyPInltkNot reported3.6.3vulnerable
PyPInltkNot reported3.6.4vulnerable
PyPInltkNot reported3.6.5vulnerable
PyPInltkNot reported3.6.6vulnerable
PyPInltkNot reported3.6.7vulnerable
PyPInltkNot reported3.7vulnerable
PyPInltkNot reported3.8vulnerable
PyPInltkNot reported3.8.1vulnerable
PyPInltkNot reported3.9vulnerable
PyPInltkNot reported3.9.1vulnerable
PyPInltkNot reported3.9.2vulnerable
PyPInltkNot reported3.9.3vulnerable
PyPInltkNot reported3.9.4vulnerable
PyPInltkNot reported3.9b1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannltksourcesid(unfixed)not yet assignedNot reported[1144456]
Debiannltksourceforky(unfixed)not yet assignedNot reported[1144456]
Debiannltksourcetrixie(unfixed)not yet assignedNot reported[1144456]
Debiannltksourcebookworm(unfixed)not yet assignedNot reported[1144456]
PipnltkpipNot reported3.9.3Not reportedGHSA-5WP5-5229-5G6QNot reported

[Debian bug #1144456]

Notes

[trixie] nltk: Minor issue [bookworm] nltk: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-nltk]Affected

    Source package: [nltk]

    Details (2)
    • 3.8-1 · all · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

    • 3.8-1 · all · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

[Debian 13 (Trixie)]

  • [python3-nltk]Affected

    Source package: [nltk]

    Details (2)
    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

Observed:

References