{"id":"CVE-2026-129223","aliases":["GHSA-8846-p9w9-5frf"],"title":"Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal","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.tree and acyclic_tree traverse relation graphs through recursive utility helpers without a depth bound. Exploitation requires the host application to load an attacker-influenced custom or foreign WordNet-format lexical resource; no relation in NLTK's bundled WordNet 3.0 corpus reaches the crash threshold. An excessively deep relation graph in such a resource can exceed the Python recursion limit and terminate the traversal or request worker. This issue is fixed in version 3.10.4.","severity":{"cvss":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00543,"percentile":0.47096},"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-8846-p9w9-5frf","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/commit/0e474a7d73c95b42aa2c792f364e4f9bf4096c56","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-129223","type":"other"},{"url":"https://github.com/advisories/GHSA-8846-p9w9-5frf","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129223.json","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T22:28:15.411Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129223","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.118Z"},{"name":"osv","at":"2026-11-21T00:07:43.109Z","url":"https://osv.dev/vulnerability/CVE-2026-129223","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.500Z"},{"name":"ghsa","at":"2026-12-04T08:58:10.086Z","url":"https://github.com/advisories/GHSA-8846-p9w9-5frf","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.650Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:14.597Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129223","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T18:26:37.248Z"}],"firstSeenAt":"2026-11-19T18:26:37.248Z","publishedAt":"2026-11-19T18:00:46.945Z","modifiedAt":"2026-11-20T22:45:27.145Z"}