NLTK: Downloader cyclic collection indices cause an infinite closure walk (nltk nltk)

CVE-2026-128140
MEDIUM 6.5

At a glance

Source
NVD
EPSS
EPSS 0.40 % Β· percentile 36 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
nltk Β· nltk
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-835 β€” Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HNVD Β· security-advisories@github.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
nltk Β· nltk
affected : >= 3.6.7, < 3.10.4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD