CVE-2026-126298
Published:November 13, 2026
Updated:November 23, 2026
NLTK before 3.10.4 contains a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU through quadratic-time right-factor binarization using list.pop(0). Attackers can supply a wide flat treebank tree parsed by Tree.fromstring to force tens of seconds of single-threaded CPU consumption, blocking the processing thread.
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