CVE-2026-129225
Published:November 19, 2026
Updated:November 21, 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. In 3.10.3 and earlier, DependencyGraph._tree and triples recurse once per dependency edge without a depth bound, and get_cycle_path also lacks a visited-set termination guard. A deeply chained or cyclic attacker-controlled CoNLL or Malt-TAB dependency structure can raise RecursionError and abort a parse 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 || >=0.8 <3.10.4 || >=3.0.0b1 <3.10.4Fix Suggestion:
Update to version 3.10.4Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
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
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.48