Remote Code Execution Vulnerability in NLTK by NLTK
CVE-2026-79657

9.3CRITICAL

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-79657?

Versions of NLTK prior to 3.10.3 include a significant remote code execution vulnerability that arises from their handling of allowlisted pickle loaders. These loaders trust entire module namespaces instead of restricting access to specific safe callables. This flaw allows attackers to craft malicious pickle payloads that can invoke potentially harmful functions from the namespace during the loading of model or tokenizer artifacts. Notably, functions like ReppTokenizer._execute and numpy.f2py.crackfortran.myeval can be exploited through the pickle REDUCE, enabling arbitrary command execution.

Affected Version(s)

nltk 0 < 3.10.3

nltk 3.10.3

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

leduckhuong
.