CVE-2026-129232
Description
NLTK =3.10.3: XMLCorpusView.read_block re-joined the root-to-node path on every start tag — O(depth) each, unbounded nesting costs O(n^2) CPU while iterating an attacker XML file. Verbatim xmldocs.py 3.10.3 vs 3.10.4: a 20000-deep file burns ~1.5 s on vuln, bounded ValueError past MAX_XML_DEPTH=500 on fixed (002bcf71).
CVE-CVE-2026-129232 Details
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...
Related PoCs for CVE-2026-129232
No other PoCs found for this CVE.