CVE-2026-126300

GHSA-ffr9-mgrr-wcvr · published 13 Nov 2026 · updated 18 Nov 2026

NLTK from 3.2.5 before 3.10.4 CPU Exhaustion via TreebankWordTokenizer.span_tokenize

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.4 and nltk 3.10.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nltk>=3.2.5 <3.10.43.10.4
pypi: nltk>=3.2.5 <3.10.4, >=3.2.5 <=3.10.33.10.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in nltk (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126300 severity on Zeptric[![CVE-2026-126300](https://zeptric.io/badge/cve/CVE-2026-126300.svg)](https://zeptric.io/cve/CVE-2026-126300)