- Accueil
- Vulnérabilités
- CVE-2025-71408
CVE-2025-71408
NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the…
Résumé
NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the nltk.collocations module that allows an attacker who controls command-line arguments to execute arbitrary Python code. When collocations.py is invoked directly, the __main__ block passes command-line arguments directly to eval() as suffixes of BigramAssocMeasures without allowlist validation or sanitization, enabling an attacker to supply a Python expression that escapes the intended attribute lookup and executes arbitrary code including OS commands via the os module.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Nltk (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Nltk | avant 3.9.3 (exclu) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
Références
- https://github.com/nltk/nltk/commit/66f14096d952ec8f04934f515e027534bd4eb0acPatch
- https://github.com/nltk/nltk/pull/3465Issue Tracking, Patch
- https://www.vulncheck.com/advisories/nltk-eval-injection-via-collocations-py-command-line-argumentsPatch, Third Party Advisory
- https://aydinnyunus.github.io/2026/06/07/command-injection-nltk-collocations-eval/Exploit, Press/Media Coverage, Third Party Advisory
- https://github.com/nltk/nltk/releases/tag/3.9.3Release Notes
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:disclosure@vulncheck.com)- Faiblesse
- CWE-95 · Injection de commandes / code