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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-19T17:23:24.876Z
- Modified: 2026-11-20T00:00:04.063Z
- Also known as: GHSA-pcm8-fqjx-rvx8
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: >= 3.6.7, < 3.10.4
- nltk (PyPI): from 3.6.7 before 3.10.4

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-pcm8-fqjx-rvx8> (web)
- <https://github.com/nltk/nltk/pull/3767> (web)
- <https://github.com/nltk/nltk/commit/b77d329db934711e053520588b22b4ac73539fa2> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128140> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-128140](https://www.cve.org/CVERecord?id=CVE-2026-128140), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-pcm8-fqjx-rvx8](https://github.com/advisories/GHSA-pcm8-fqjx-rvx8), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-128140](https://nvd.nist.gov/vuln/detail/CVE-2026-128140), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-128140 · Whole record: https://cve.day/CVE-2026-128140.json · Rebuilt by cve.day 2026-11-25T22:59:52.160Z
