patchminder
Proof of concept · GitHub CVE-2026-129232

Denial of servicein nltk.

Published 19 Nov 2026 · Updated 20 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 3.10.4 or later
In plain words

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.

What to do now
  • Upgrade nltk to 3.10.4 or later.
  • Upgrade nltk (PyPI) to 3.10.4 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
nltk
before 3.10.4
3.10.4
CVE record
nltk (PyPI)
before 3.10.4
3.10.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Nov 2026
    CVE ID reserved by GitHub_M.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 20 Nov 2026
    CVE record last updated.
  4. 22 Nov 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1292320 stars · created 22 Nov 2026NLTK <=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.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other nltk vulnerabilities

Same weakness: Uncontrolled resource consumption

All CWE-400 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-129232: Denial of service in nltk. https://patchminder.com/cve/cve-2026-129232/ (accessed 5 December 2026).