MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-71408GHSA-848c-c2cx-j7qx

NLTK < 3.9.3 Eval Injection via collocations.py Command-Line Arguments

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)