CVE-2026-79657

NLTK before 3.10.3 Remote Code Execution via Unsafe Pickle Deserialization

State
Published
Severity
9.3 Critical
Published
Aug 25, 2026
Updated
Oct 8, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

Description

NLTK versions before 3.10.3 contain a remote code execution vulnerability in allowlisted pickle loaders that trust entire module namespaces instead of specific safe callables. Attackers can craft malicious pickle payloads invoking dangerous in-namespace functions like ReppTokenizer._execute and numpy.f2py.crackfortran.myeval through pickle REDUCE to execute arbitrary commands during model or tokenizer artifact loading.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
nltknltk
  • before 3.10.3Affected
  • 3.10.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.