Recursive Depth Limit Vulnerability in Natural Language Toolkit by NLTK
CVE-2026-129223

7.5HIGH

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129223?

The Natural Language Toolkit (NLTK) contains a vulnerability that allows for excessive recursion depth when processing specific WordNet-format lexical resources. Prior to version 3.10.4, certain operations involving WordNet Synset traversals lacked a depth-bound check, enabling attackers to craft custom resources that could lead to system crashes. While the bundled WordNet 3.0 corpus does not reach this threshold, adopted external resources could exploit this flaw. The issue has been addressed in version 3.10.4, reinforcing stability against improperly structured lexical data.

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

.