{"id":"CVE-2026-129232","aliases":["GHSA-cj8f-5fp3-6m88"],"title":"NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags","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, XMLCorpusView.read_block rebuilds the full root-to-node context path with \"/\".join(context) for every start tag while searching for a matching element. Deeply nested attacker-influenced corpus XML therefore causes quadratic pure-Python work and can pin a processing worker, resulting in denial of service. 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.00536,"percentile":0.4673},"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-cj8f-5fp3-6m88","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/pull/3895","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412","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-129232","type":"other"},{"url":"https://github.com/advisories/GHSA-cj8f-5fp3-6m88","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129232.json","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T22:28:15.396Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129232","license":"NVD terms of use","firstSeenAt":"2026-11-19T17:23:08.995Z"},{"name":"osv","at":"2026-11-21T00:07:42.840Z","url":"https://osv.dev/vulnerability/CVE-2026-129232","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.411Z"},{"name":"ghsa","at":"2026-12-04T09:31:11.823Z","url":"https://github.com/advisories/GHSA-cj8f-5fp3-6m88","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.710Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:14.330Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129232","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T17:20:38.393Z"}],"firstSeenAt":"2026-11-19T17:20:38.393Z","publishedAt":"2026-11-19T17:10:28.027Z","modifiedAt":"2026-11-20T22:45:34.564Z"}