CVE-2026-79675
Received Received - Intake

NLTK Java Option Injection Vulnerability

Vulnerability report for CVE-2026-79675, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

Description

NLTK before 3.10.3 fails to validate JVM options passed through the per-call options parameter in the java() function, allowing attackers to inject dangerous JVM flags. Attackers can supply malicious options like -agentpath, -javaagent, or @argfile to Stanford wrapper classes to achieve arbitrary code execution.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nltk nltk to 3.10.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-79675 is a vulnerability in NLTK before 3.10.3 where the java() function fails to validate JVM options passed through the per-call options parameter. Attackers can inject malicious flags like -agentpath or -javaagent into Stanford wrapper classes, bypassing previous fixes and achieving arbitrary code execution.

Detection Guidance

To detect this vulnerability, inspect NLTK installations for versions before 3.10.3. Check for usage of affected Stanford wrapper classes with user-supplied java_options parameters. Review logs for suspicious JVM flags like -agentpath, -javaagent, or @argfile in subprocess.Popen calls.

Impact Analysis

If you use NLTK with Stanford wrappers in a service accepting user input, an attacker could exploit this to execute arbitrary code on your system. This could lead to data theft, system compromise, or further network infiltration depending on your environment.

Compliance Impact

This vulnerability could lead to unauthorized code execution, potentially violating GDPR's integrity principle or HIPAA's security rule by exposing sensitive data. Compliance may be impacted if the breach results in data loss or unauthorized access to protected health information.

Mitigation Strategies

Upgrade NLTK to version 3.10.3 or later. Review and sanitize all java_options inputs in Stanford wrapper classes. Implement strict validation for JVM options before passing them to subprocess.Popen.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79675. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart