JVM Argument Injection Vulnerability in NLTK by NLTK Foundation
CVE-2026-79675
9.3CRITICAL
What is CVE-2026-79675?
NLTK prior to version 3.10.3 contains a vulnerability where it does not properly validate JVM options within the per-call options parameter of the java() function. This oversight allows attackers to inject harmful JVM flags, such as -agentpath and -javaagent, which can lead to arbitrary code execution through the manipulation of Stanford wrapper classes. It is crucial for users of NLTK to update to the latest version to mitigate this risk.
Affected Version(s)
nltk 0 < 3.10.3
nltk 3.10.3
