{"id":"CVE-2026-129226","published":"2026-11-19T17:30:20Z","modified":"2026-11-19T19:09:55Z","title":"NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00479,"percentile":0.42227,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-w3pv-xfw4-ghr7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/pull/3885","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/2f4f0d47e2c452c89cabc2a5f761332d51066ea8","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/a8036c5e7f820ac09c96b969d6e7f19bfa6e6aeb","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":8.45},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/googlesky/CVE-2026-129226","repos":[{"name":"googlesky/CVE-2026-129226","url":"https://github.com/googlesky/CVE-2026-129226","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-129226"},"provenance":"source"},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-19T19:09:15.094821Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.4"],"patched":["3.10.4"],"from":["GHSA-w3pv-xfw4-ghr7"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-130432","exploited":false,"provenance":"source"}}