Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted CoNLL SRL corpus to ingestion surface
-
DeliveryApplication iterates it via srl_instances()
-
ExploitNested per-predicate span rescan invoked
-
ExecutionHead span in last column defeats inner break
-
PersistO(P^2*R) comparisons with no work cap
-
ImpactSustained single-core CPU exhaustion (availability loss)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application load an attacker-supplied CoNLL corpus and iterate it with the SRL-specific public API ConllCorpusReader(...).srl_instances(), with the corpus configured to include the 'words', 'pos', 'tree', and 'srl' columns. The malicious block must contain many predicates (P) and an equal number of SRL span columns, with the single 'V'/'C-V' head span placed in the last column so every earlier column is scanned in full for every predicate (defeating the inner break). Primary limiting factor: any deployment that never calls srl_instances() on untrusted CoNLL SRL data is unaffected, so this is not exploitable against NLTK installations generally - only against applications exposing that specific corpus-ingestion path. The NLTK regex wall-clock timeout does not cover this pure-Python nested loop, and the path-containment sandbox limits where files load but imposes no bound on parse cost, so neither mitigates the flaw. No authentication or user interaction is required once such an ingestion path exists. |
| Impact | This is a genuine but bounded availability issue, not a broad-impact emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) is network-reachable, low-complexity, and needs no privileges or user interaction, and impact is availability-only (VA:H; VC:N/VI:N - no data exposure or integrity loss), yielding the reported 8.7 ّHigh' score driven almost entirely by the DoS impact. The vuln.today Decision label is 'this_week' (prioritize but not an immediate act-now/emergency), which is consistent with a CPU-exhaustion flaw rather than code execution. No EPSS score was provided and the vulnerability is NOT on the CISA KEV list, so there is no confirmed active exploitation; the only exploitation signal is the detailed proof-of-concept and timing data published in the GHSA advisory. The critical real-world caveat, stated explicitly: the AV:N/PR:N/UI:N metrics describe the worst case, but exploitation only applies to applications that actually call the SRL-specific srl_instances() API on attacker-supplied CoNLL corpora containing words/pos/tree/srl columns - a deployment that never uses that API is entirely unaffected, which sharply narrows the realistic exposure below what the raw CVSS score implies. There is also a data conflict to verify: the description and EUVD list a fix in 3.10.4, while the GHSA advisory's own status note (dated 2026-09-28) says the fix was still on an open pull request with 'Release: none', so patch availability should be confirmed against the current PyPI release before relying on it. |
| Exploit ScenarioDerived | An attacker submits a crafted CoNLL SRL corpus (a few hundred KB to a few MB) to a service that ingests untrusted corpus files and iterates them with NLTK's ConllCorpusReader.srl_instances(). The block is built with many predicates and matching span columns and the single 'V' head span placed in the last column, so the nested per-predicate rescan performs O(P^2*R) work and pins a CPU core for tens of seconds to minutes, blocking the processing thread. A working proof-of-concept with reproduced timing scaling (e.g. ~10s for a ~619 KB input at n=320) is published in the GHSA advisory, though it is not packaged as a turnkey weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
CPU exhaustion in NLTK's ConllCorpusReader.srl_instances() lets an attacker who supplies a crafted CoNLL SRL corpus pin a single CPU core for tens of seconds to minutes: the instance builder rescans every SRL span column once per predicate, producing O(P^2 * R) work that is maximised by placing the single 'V' head span in the last column so the inner break never fires early. All releases through 3.10.3 are affected (CPE cpe:2.3:a:nltk:nltk, EUVD range 0 to <3.10.4), but only applications that load attacker-controlled CoNLL data and iterate it with the SRL-specific public API are reachable - deployments that never call srl_instances() are unaffected, making this a genuine but bounded availability issue rather than a broad-impact emergency. The vendor advisory documents a reproduction harness (a roughly 619 KB corpus costing about 10 seconds of CPU) and there is a public PoC reference; it is not verified as working exploit code, and no confirmed active exploitation or CISA KEV listing is reported. The vendor fix is NLTK 3.10.4, and the current priority label schedules remediation this week.
RemediationAI
Vendor-released patch: upgrade NLTK to 3.10.4, the release in which the one-pass wordnum-to-span index replaces the per-predicate rescan (upstream fix commit cf12a5e6a; probe nltk/test/unit/security_probes/ghsa_v8f3_6phw_6mh9.py shows the fixed path scaling about 3.9x over 4x predicates versus 45.8x on the unfixed develop head). Note that at the time of the fix-status note the change was still carried on an open pull request with no release tagged, so verify the installed version resolves to 3.10.4 or later (pip install -U nltk) and consult https://github.com/nltk/nltk/security/advisories/GHSA-v8f3-6phw-6mh9 for the authoritative fix list. If the upgrade cannot be applied immediately, the practical compensating controls are architectural: stop passing untrusted CoNLL data to srl_instances() (the API is only needed for SRL training/inference pipelines, so disabling that ingestion route removes exposure entirely, at the cost of losing SRL feature extraction for untrusted input), and for callers that must accept it, cap accepted corpus size and predicate/span counts and run the parsing worker in an isolated process under a CPU or wall-clock budget so a pinned core is killed rather than blocking the service thread - accepting the added latency and process-management overhead. The NLTK regular-expression timeout and the path-containment sandbox are not mitigations for this loop, and the advisory states that no configuration-only mitigation removes the exposure for a service that must read untrusted CoNLL SRL data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NLTK's ConllCorpusReader parses CoNLL-format column files into corpus views such as words, pos, tree and srl. The semantic-role-labeling view is built by _get_srl_instances (nltk/corpus/reader/conll.py:394-424, nested rescan at lines 405-419), reached through the public entry point srl_instances() (lines 158-169). For a block with P predicates and P SRL span columns, the builder iterates the predicates and, for each one, walks every span list and every span inside it until it finds a span tagged 'V' or 'C-V' containing the predicate word; the 'for ... else: continue' construct means a head placed in the last column forces a full traversal of every earlier column for every predicate, i.e. O(P^2 * R) span comparisons. The root cause class is CWE-400 (uncontrolled resource consumption) with CWE-407 (inefficient algorithmic complexity) also assigned by the advisory: the block is read whole with no size cap, and the grid-consistency check only enforces a uniform column count, not a bound on predicates, spans or total work. Two existing guards are irrelevant to this path - the NLTK regular-expression wall-clock timeout wraps regex matching only and does not cover the pure-Python nested loop, and the path-containment sandbox constrains where files load, not how much CPU a parsed block costs. The upstream fix commit cf12a5e6a replaces the per-predicate rescan with a one-pass wordnum-to-spanlist index, reducing the cost to about O(P * R); the GHSA also recommends bounding predicate/span counts per block and running untrusted corpora under a CPU or time budget. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a network-reachable, unauthenticated, no-interaction availability impact with no confidentiality or integrity effect.
Know when Nltk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable corpus-ingestion path, no privileges or user interaction, low complexity via deterministic last-column head placement; availability-only impact (CPU exhaustion), no confidentiality or integrity effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
NLTK before 3.10.4 contains a quadratic-time denial of service vulnerability in ConllCorpusReader._get_srl_instances that allows remote attackers to exhaust CPU through nested span rescans. Attackers can supply a crafted CoNLL SRL corpus with many predicates and span columns, placing the head span last, to pin a core for minutes.
Blast Radius
ecosystem impact- 6,309 pypi packages depend on nltk (3,111 direct, 3,281 indirect)
Ecosystem-wide dependent count for version 3.10.4.
Articles & Coverage 1
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with the secondary CWE-407 (Inefficient Algorithmic Complexity) that the advisory also assigns.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A high-severity CPU exhaustion vulnerability in NLTK's ConllCorpusReader.srl_instances() (CVE-2026-126297) allows an attacker to cause a single CPU core to be pinned for tens of seconds to minutes by supplying a crafted CoNLL SRL corpus. Only applications that directly call srl_instances() on untrusted data are affected, limiting the blast radius to natural language processing pipelines that ingest external CoNLL files. Leadership should care because service degradation in those specific systems could disrupt availability, but the impact is bounded and not enterprise-wide.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Arbitrary code execution in the Natural Language Toolkit (NLTK) before 3.10.3 allows attackers to bypass the library's p
Arbitrary code execution in NLTK (Natural Language Toolkit) through 3.9.4 allows attackers to run Python code when a vic
Arbitrary code execution in the NLTK (Natural Language Toolkit) Python library affects all versions through its data dow
StreamBackedCorpusView in NLTK before 3.10.0 allows arbitrary local file reads by calling Python's builtins.open() direc
Symlink-based path traversal in NLTK's FramenetCorpusReader before version 3.10.2 permits attackers with write access to
CPU exhaustion in NLTK's Tree.chomsky_normal_form() right-factor binarization affects NLTK through 3.10.3 and lets remot
Quadratic CPU exhaustion in NLTK's CCG lexicon parser (nltk.ccg.lexicon.fromstring, also re-exported as nltk.ccg.chart.f
Denial of service in NLTK before 3.10.4 allows remote attackers to pin a CPU core and exhaust bounded worker pools by ca
Unbounded recursion in NLTK's JSONTaggedDecoder.decode_obj() (nltk/jsontags.py) allows unauthenticated remote attackers
Path traversal and pickle deserialization protections in NLTK before 3.10.0 are effectively disabled by default - pathse
XML Entity Expansion (Billion Laughs) in NLTK before 3.10.3 allows unauthenticated remote attackers to cause denial of s
Server-side request forgery in NLTK before 3.10.3 allows unauthenticated remote attackers to reach internal HTTP service
EUVD-2026-125224
GHSA-qvhx-rvgc-jhwf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB