CVE-2026-126298

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNltk
PublishedNov 13, 2026
First seenNov 13, 2026

How to fix

Update
  • nltk nltk3.10.4 or later
  • nltk3.10.4 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.10.43.10.4
nltkPyPIv ≤ 3.10.33.10.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-126298 · Nltk · Vulnerabilities · Dark Radar