Denial of Service Vulnerability in NLTK by NLTK Project
CVE-2026-128140

6.5MEDIUM

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-128140?

The NLTK (Natural Language Toolkit) library, widely used for natural language processing in Python, is susceptible to a denial of service attack due to an issue within its downloader module. Specifically, versions from 3.6.7 to 3.10.4 fail to track already visited collection nodes during the package-closure walk. This flaw can result in an infinite loop when processing self-referencing or mutually referencing collection indices, leading to increased memory usage and potential service denial. This vulnerability has been addressed in version 3.10.4, highlighting the importance of upgrading to maintain security.

Affected Version(s)

nltk >= 3.6.7, < 3.10.4

References

CVSS V3.1

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.