CVE-2026-128136
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing.
- Severity: Medium
- CVSS 6.1
- EPSS 0.36%
- Public exploit
- P4 · Track
Why P4: track.
Description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, allowlisted_pickle_load keys dangerous NumPy globals by export name, allowing submodule-local numpy.lib file input/output callables to 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. This issue is fixed in version 3.10.4.
Affected products
- pip nltk >= 3.10.0, < 3.10.4; first patched: 3.10.4
Weakness
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub