# CVE-2026-129230: NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoS

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/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.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T17:27:04.694Z
- Modified: 2026-11-20T00:00:04.071Z
- Also known as: GHSA-53pg-5qp8-mhvr
- Weaknesses: CWE-400, CWE-674
- 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. Prior to 3.10.4, WordNet Synset.max_depth, min_depth, hypernym_paths, and hypernym_distances recursively follow attacker-controlled corpus pointers without a visited-node set or depth cap. A cyclic or excessively deep hypernym graph can raise RecursionError and terminate traversal APIs and similarity operations that depend on them. This issue is fixed in version 3.10.4.

(As written by CVE List.)

## Affected

- nltk nltk: < 3.10.4
- nltk (PyPI): before 3.10.4

## Every score

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

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-53pg-5qp8-mhvr> (exploit, web)
- <https://github.com/nltk/nltk/pull/3895> (web)
- <https://github.com/nltk/nltk/commit/34adf1ee425b5c817d2a88c674bac68672e3ab26> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-129230> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

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

---

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