Skip to content
Threat Feed
low advisory PoC

NLTK: Denial of Service in Tree.chomsky_normal_form (CVE-2026-126298)

NLTK versions prior to 3.10.4 contain a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU resources via crafted treebank input.

CVE search metadata

CVE search record: CVE-2026-126298. Severity: high. CVSS: 7.5. EPSS: 0.58%. KEV: no. Brief: NLTK: Denial of Service in Tree.chomsky_normal_form (CVE-2026-126298). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nltk-dos-cve-2026-126298/

Triage facts

Revision 2
Evidence
Unknown
Severity
Low
Sources
2 public sources
Freshness
Revision 2Nov 14, 02:29 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance
Revision history 1 entry · Revision 2
  1. Revision 2

    poc_available

    Changed: affected_vendors, claim_state, cves, has_poc, lastmod, references, updates

    Sources: 1

NLTK before 3.10.4 contains a denial of service vulnerability in the Tree.chomsky_normal_form method. Remote attackers can exhaust CPU resources by supplying a wide flat treebank tree, parsed by Tree.fromstring, which triggers quadratic-time right-factor binarization using list.pop(0). This process consumes single-threaded CPU resources for tens of seconds, effectively blocking the processing thread.