freenode

← CVE tracker

CVE-2026-126298

NLTK before 3.10.4 Quadratic CPU Denial of Service via Tree.chomsky_normal_form

Severity
high CVSS 8.7 (v4.0)
Affects
nltk
Weakness
CWE-400: Uncontrolled Resource Consumption
Published
13 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.