7.5Hoch
CVE-2026-126298NLTK before 3.10.4 Quadratic CPU Denial of Service via Tree.chomsky_normal_form
Beschreibung
NLTK before 3.10.4 contains a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU through quadratic-time right-factor binarization using list.pop(0). Attackers can supply a wide flat treebank tree parsed by Tree.fromstring to force tens of seconds of single-threaded CPU consumption, blocking the processing thread.
Schwachstellentyp (CWE):
CWE-400
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
Referenzen und Patches
- GitHub Security Advisory (GHSA-r53h-rw34-8h97) vendor-advisory
- VulnCheck Advisory: NLTK before 3.10.4 Quadratic CPU Denial of Service via Tree.chomsky_normal_form third-party-advisory