CVE-2026-128140
Awaiting Analysis Awaiting Analysis - Queue

Path Traversal in NLTK Downloader

Vulnerability report for CVE-2026-128140, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: GitHub, Inc.

Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6.7 until 3.10.4, nltk.downloader follows collection membership without tracking already visited collection nodes. A self-referencing or mutually referencing collection index can therefore make the package-closure walk loop indefinitely while its queue and memory usage grow, denying service when a victim processes the attacker-influenced index. This issue is fixed in version 3.10.4.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-20
AI Q&A
2026-11-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nltk nltk From 3.6.7 (inc) to 3.10.4 (inc)
nltk nltk 3.10.4

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects NLTK's downloader tool between versions 3.6.7 and 3.10.4. It allows a self-referencing or mutually referencing collection index to cause an infinite loop during package closure walks. This leads to unbounded queue and memory growth, eventually causing a denial of service when processing attacker-controlled index data.

Detection Guidance

This vulnerability can be detected by checking the installed version of NLTK. Run 'pip show nltk' to verify if the version is below 3.10.4. If it is, the system is vulnerable.

Impact Analysis

If you use NLTK versions 3.6.7 to 3.10.3, an attacker could exploit this to crash your application or system by providing a specially crafted collection index. This would consume excessive memory and CPU resources, making your system unresponsive.

Mitigation Strategies

Upgrade NLTK to version 3.10.4 or later using 'pip install --upgrade nltk'. Avoid processing untrusted collection indices until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128140. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...