{"id":"CVE-2026-129232","published":"2026-11-19T17:10:28Z","modified":"2026-11-20T21:24:21Z","title":"NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags","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, 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.","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.00536,"percentile":0.46069,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-cj8f-5fp3-6m88","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/pull/3895","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":9.21},{"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-129232","repos":[{"name":"googlesky/CVE-2026-129232","url":"https://github.com/googlesky/CVE-2026-129232","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-129232"},"provenance":"source"},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-20T21:24:15.800040Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.4"],"patched":["3.10.4"],"from":["GHSA-cj8f-5fp3-6m88"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-130477","exploited":false,"provenance":"source"}}