CVE-2026-126299: NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring
CVE-2026-126299 · HIGH 7.5 NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring
Summary: NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring
EPSS: 0.6% probability of exploitation in the next 30 days (percentile 48.1).
NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.
HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2026-126299 · HIGH 7.5 NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring