Improper Input Validation in nltk/nltk (nltk nltk/nltk)

CVE-2026-12259
MEDIUM 5.3

En bref

Source
NVD
EPSS
EPSS 0.10 % · centile 1 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
@huntr_ai
Statut NVD
Analyzed

Description

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.

Faiblesses (CWE)

  • CWE-494 — Téléchargement de code sans contrôle d'intégrité

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 5.3CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N@huntr_ai
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.0MEDIUM 5.3CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · security@huntr.dev (Secondary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
nltk · nltk/nltkaffected unspecified ≤ latest

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD