Skip to content
MediumVulnerability

CVE-2026-128136: NLTK pickle loading lets crafted models read or truncate local files

Identifier
CVE-2026-128136
Published
Record updated
View JSON
Affected
  • nltk >= 3.10.0, < 3.10.4
Fixed in
3.10.4
  • released October 21, 2026, 29 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

CVE-2026-128136 affects NLTK from 3.10.0 until 3.10.4. The allowlisted_pickle_load function keys dangerous NumPy globals by export name, so submodule-local numpy.lib file I/O callables evade the denylist under the broad module allowance used by TransitionParser. A crafted pickle can invoke recfromtxt to read a local file or open_memmap to create or truncate an attacker-selected file when a victim loads an untrusted model.

Mitigation

Fixed in version 3.10.4.