{"id":"CVE-2026-129230","aliases":["GHSA-53pg-5qp8-mhvr"],"title":"NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoS","originalDescription":"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.","severity":{"cvss":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00234,"percentile":0.15356},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"nltk","range":"<= 3.10.3","fixed":"3.10.4"},{"ecosystem":"PyPI","name":"nltk","range":">=0, <3.10.4","fixed":"3.10.4"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-53pg-5qp8-mhvr","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/pull/3895","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/34adf1ee425b5c817d2a88c674bac68672e3ab26","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","type":"x_refsource_MISC"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129230","type":"other"},{"url":"https://github.com/advisories/GHSA-53pg-5qp8-mhvr","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-19T19:35:05.900Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129230","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.133Z"},{"name":"osv","at":"2026-11-20T01:01:59.398Z","url":"https://osv.dev/vulnerability/GHSA-53pg-5qp8-mhvr","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.905Z"},{"name":"ghsa","at":"2026-12-04T08:58:10.110Z","url":"https://github.com/advisories/GHSA-53pg-5qp8-mhvr","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.697Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:56.851Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129230","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T17:53:36.325Z"}],"firstSeenAt":"2026-11-19T17:53:36.325Z","publishedAt":"2026-11-19T17:27:04.694Z","modifiedAt":"2026-11-20T00:00:04.071Z"}