CVE-2026-128140: NLTK: Downloader cyclic collection indices cause an infinite closure walk

Published Nov 19, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/nltk>=3.6.7<3.10.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade NLTK to a version that resolves this vulnerability.

    Fixed in 3.10.4

Event History

Nov 19, 2026
CVE Published
via MITRE·05:23 PM
Data Sourced
via MITRE·05:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

Applications using NLTK Downloader versions from 3.6.7 through 3.10.3 are exposed if they process an attacker-influenced collection index. The affected operation is the downloader's package-closure walk for collection membership.

2

What must an attacker provide to trigger the issue?

The attacker needs to cause the victim to process a collection index containing a self-reference or mutual references between collections. No authentication is required, but user interaction is required according to the supplied CVSS vector.

3

How can I remediate the issue?

Upgrade NLTK to version 3.10.4, which fixes the collection traversal behavior. Until upgrading is possible, avoid processing untrusted or attacker-influenced collection indices.

4

What is the impact if exploitation succeeds?

The downloader can loop indefinitely while its queue and memory consumption grow. This can deny service to the process handling the malicious collection index.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203