{"id":"CVE-2026-129225","aliases":["GHSA-xfcv-m889-fmqg"],"title":"NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chains","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. In 3.10.3 and earlier, DependencyGraph._tree and triples recurse once per dependency edge without a depth bound, and get_cycle_path also lacks a visited-set termination guard. A deeply chained or cyclic attacker-controlled CoNLL or Malt-TAB dependency structure can raise RecursionError and abort a parse worker. This issue is fixed in version 3.10.4.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.0048,"percentile":0.43082},"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-xfcv-m889-fmqg","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/pull/3885","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff","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-129225","type":"other"},{"url":"https://github.com/advisories/GHSA-xfcv-m889-fmqg","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-19T19:35:05.894Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129225","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.122Z"},{"name":"osv","at":"2026-11-20T01:01:59.302Z","url":"https://osv.dev/vulnerability/GHSA-xfcv-m889-fmqg","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.805Z"},{"name":"ghsa","at":"2026-12-04T08:58:10.092Z","url":"https://github.com/advisories/GHSA-xfcv-m889-fmqg","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.660Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:56.099Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129225","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T17:53:36.590Z"}],"firstSeenAt":"2026-11-19T17:53:36.590Z","publishedAt":"2026-11-19T17:21:53.823Z","modifiedAt":"2026-11-20T00:00:04.079Z"}