{"id":"CVE-2026-129226","aliases":["GHSA-w3pv-xfw4-ghr7"],"title":"NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings","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, the semantic-logic read_type parser recursively processes both halves of nested complex type strings without applying LogicParser.MAX_PARSE_DEPTH. An attacker-controlled type string or signature with excessive nesting can raise RecursionError through Type.fromstring or type-checking entry points and abort the current 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-w3pv-xfw4-ghr7","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/pull/3885","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/2f4f0d47e2c452c89cabc2a5f761332d51066ea8","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/a8036c5e7f820ac09c96b969d6e7f19bfa6e6aeb","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-129226","type":"other"},{"url":"https://github.com/advisories/GHSA-w3pv-xfw4-ghr7","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-19T19:35:05.897Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129226","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.125Z"},{"name":"osv","at":"2026-11-20T01:01:59.136Z","url":"https://osv.dev/vulnerability/GHSA-w3pv-xfw4-ghr7","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.678Z"},{"name":"ghsa","at":"2026-12-04T08:58:10.096Z","url":"https://github.com/advisories/GHSA-w3pv-xfw4-ghr7","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.671Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:54.092Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129226","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T17:53:36.322Z"}],"firstSeenAt":"2026-11-19T17:53:36.322Z","publishedAt":"2026-11-19T17:30:20.002Z","modifiedAt":"2026-11-20T00:00:04.082Z"}