9.8Critical

CVE-2026-79657NLTK before 3.10.3 Remote Code Execution via Unsafe Pickle Deserialization

nltk nltk Published: (2 months ago)

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.

Weakness (CWE): CWE-502

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nltk nltk < 3.10.3, fixed 3.10.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* < 3.10.3