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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.10.3 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-x99w-6fgc-pmfwExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/nltk-before-3.10.3-remote-code-execution-via-unsafe-pickle-deserializationThird Party Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-x99w-6fgc-pmfwExploit, Vendor Advisory
Timeline
- Published
- Aug 25, 2026
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed