CVE-2026-126299
Published:November 13, 2026
Updated:November 23, 2026
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.
Affected Packages
nltk (CONDA):
Affected version(s) >=3.0.0b1 <3.10.4 || >=2.0.3 <3.10.4Fix Suggestion:
Update to version 3.10.4https://github.com/nltk/nltk.git (GITHUB):
Affected version(s) >=2.0.1rc1 <v3.10.4 || >=3.0a1 <v3.10.4 || >=v3.10.0-rc1 <v3.10.4Fix Suggestion:
Update to version v3.10.4nltk (PYTHON):
Affected version(s) >=3.0.0b1 <3.10.4 || >=2.0b4 <3.10.4Fix Suggestion:
Update to version 3.10.4Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.58