9.6Kritisch

CVE-2026-78683NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization

nltk nltk Veröffentlicht: (vor 2 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-502

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
nltk nltk < 3.10.0, fixed 3.10.0

Referenzen und Patches

CPE-Treffer (NVD) (1)

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