CVE catalog

CVE-2026-12261

A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corp

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 2026

A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corpora/` and `taggers/` instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.

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
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
PyPInltkNot reported3.10.0fixed
PipnltkNot reported3.10.0fixed

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]
PyPInltkPyPINot reported3.10.0Not reportedPYSEC-2026-3954Not reported
PipnltkpipNot reported3.10.0Not reportedGHSA-FFJ6-66C4-86GWNot 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