Skip to content
Threat Feed
medium advisory PoC updated

NLTK: Quadratic-time denial of service in ConllCorpusReader (CVE-2026-126297)

NLTK versions prior to 3.10.4 contain a quadratic-time complexity vulnerability in the ConllCorpusReader component that allows attackers to trigger CPU exhaustion via crafted CoNLL SRL corpus inputs.

CVE search metadata

CVE search record: CVE-2026-126297. Severity: high. CVSS: 7.5. EPSS: 0.58%. KEV: no. Product: NLTK. Brief: NLTK: Quadratic-time denial of service in ConllCorpusReader (CVE-2026-126297). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nltk-dos-cve-2026-126297/

Triage facts

Revision 3
Applicability
NLTK
Evidence
Unknown
Severity
Medium
Action
Elevated
Sources
6 public sources
Freshness
Revision 3Nov 19, 16:43 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely
Revision history 2 entries · Revision 3
  1. Revision 3

    added coverage for nltk (< 3.10.4)

    Changed: action_plan, affected_os, claim_state, lastmod, references, updates

    Sources: 1

  2. Revision 2

    added coverage for NLTK (< 3.10.4)

    Changed: action_plan, affected_products, claim_state, cves, has_poc, lastmod, priority_signals, references, severity, updates

    Sources: 1

Overview

NLTK versions before 3.10.4 contain a denial of service vulnerability in the ConllCorpusReader._get_srl_instances method. The vulnerability arises from nested span rescans, resulting in quadratic-time complexity. Attackers can exploit this by supplying a crafted CoNLL SRL corpus containing a high number of predicates and span columns, with the head span positioned last, causing the processing thread or process to pin the CPU for minutes.

Impact

An attacker can trigger excessive CPU consumption, leading to a denial of service by exhausting resources on systems or applications processing untrusted CoNLL SRL data.

Recommendation

Upgrade NLTK to version 3.10.4 or later immediately. Organizations should audit applications that process external CoNLL corpus files and implement strict size or schema validation for ingested data.


Immediate actions

Upgrade NLTK to 3.10.4 or later on all systems utilizing this library

IT Operations 48h

Threat Hunt

Monitor application-level CPU spikes in processes invoking NLTK ConllCorpusReader for sustained periods

T1499 medium medium confidence hunt now

Data: Process CPU usage telemetry, Application performance monitoring logs

Mitigations

Upgrade NLTK to 3.10.4

immediate IT Operations

CVE-2026-126297

Upgrade NLTK to 3.10.4 or later.

immediate IT Operations

NLTK (< 3.10.4)

Upgrade nltk to 3.10.4 or later

immediate