Unbounded Recursion Vulnerability in NLTK Natural Language Toolkit
CVE-2026-129222

7.5HIGH

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129222?

The Natural Language Toolkit (NLTK), an essential suite for research and development in Natural Language Processing, is affected by a vulnerability prior to version 3.10.4. This vulnerability allows crafted CoNLL or Malt-TAB dependency files to exploit unbounded recursion in the DependencyGraph tree and triples methods. When a long chain is processed through these APIs, it may trigger RecursionError, which interrupts the current worker process. Users are urged to upgrade to version 3.10.4 or later to mitigate this issue.

Affected Version(s)

nltk < 3.10.4

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.