CVE-2026-129222
Published:November 19, 2026
Updated:November 23, 2026
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, DependencyGraph.tree and DependencyGraph.triples walk parsed dependency edges through unbounded Python recursion and do not use a working cycle or depth guard. A crafted CoNLL or Malt-TAB dependency file containing a sufficiently long chain can raise RecursionError when the documented traversal APIs are called, aborting the current worker. This issue is fixed in version 3.10.4.
Affected Packages
nltk (CONDA):
Affected version(s) >=2.0.3 <3.10.4 || >=3.0.0b1 <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 || >=3.9.2 <v3.10.4Fix Suggestion:
Update to version v3.10.4nltk (PYTHON):
Affected version(s) >=2.0b4 <3.10.4 || >=3.0.0b1 <3.10.4 || >=0.8 <3.10.4Fix Suggestion:
Update to version 3.10.4Related Resources (7)
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)
Uncontrolled Recursion
EPSS
Base Score:
0.57