CVE-2026-126300

Medium

Description

NLTK from 3.2.5 before 3.10.4 contains an algorithmic complexity vulnerability in TreebankWordTokenizer.span_tokenize that allows remote attackers to cause quadratic CPU consumption through repeated list.pop(0) calls. Attackers can submit long runs of double-quote characters to services span-tokenizing untrusted text, exhausting a CPU core and degrading availability.

SeverityMedium
CVSS5.3
Exploit probability—
ProductNltk
PublishedNov 13, 2026
First seenNov 13, 2026
Weakness typeCWE-407CWE-407

How to fix

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

Affected products

ProductAffected versionsFixed in
nltk nltk3.2.5 ≤ v < 3.10.43.10.4
nltkPyPI3.2.5 ≤ v ≤ 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.