{"id":"CVE-2026-78683","published":"2026-08-25T01:30:39Z","modified":"2026-08-25T15:19:32Z","title":"NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transitionparser.py). The method calls pickle_load() with the default restricted=False, routing deserialization through WarningUnpickler, which does not override find_class() and therefore permits arbitrary class resolution. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application. NLTK provides a RestrictedUnpickler for safe deserialization, but it is not used by production code paths. Fixed in 3.10.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0051,"percentile":0.44449,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization","tags":["third-party-advisory"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":8.89},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.0"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-25T15:19:21.370761Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.0"],"patched":["3.10.0"],"from":["GHSA-rhp5-r9x4-f5g2","PYSEC-2026-3734"],"provenance":"source"}],"summary":{"text":"The NLTK natural language processing library, before version 3.10.0, has an unsafe pickle deserialization flaw in the TransitionParser.parse() method of its parsing component (nltk/parse/transitionparser.py), where pickle loading does not use the restricted unpickler. An attacker who can get an application to load a crafted model file can execute arbitrary Python code with the privileges of the user running that application, which requires user interaction to load the malicious file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:57Z"},"euvd":{"id":"EUVD-2026-65229","exploited":false,"provenance":"source"}}