CVE-2026-129232
Deeply nested corpus tags could stall an NLTK XML reader
NLTK project · Natural Language Toolkit · XML corpus reader
First documented disclosure · Review checkpoint
Summary
A deeply nested XML corpus could take disproportionately long to read, delaying other text processing.
Severity and exploitation evidence
Medium · 5.3/10 · CVSS 3.1. Severity source.
Exploitation not established: The NLTK advisory describes the vulnerability and its preconditions. The reviewed sources identify no malicious use.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The reader repeatedly rebuilt the full element path while searching deeply nested XML.
Conditions required
An application reads a corpus containing externally controlled XML.
Potential impact
A corpus read could consume disproportionate CPU and delay other work.
Affected versions and configurations
<= 3.10.3
Fix and mitigation status
3.10.4.
Practical next steps
Upgrade to NLTK 3.10.4 or a later fixed release.
Operating lesson
Bound XML depth and path size when ingesting external corpora.
Evidence and limits
The issue-specific patch was public by 2026-09-15. The fixed release shipped October 21. The November 15 maintainer advisory supplies the identifier and affected versions. This is a historical addition.
Sources
- NLTK public patch for XML corpus reader
Primary source ·
- NLTK 3.10.4 release notes
Primary source ·
- NLTK advisory GHSA-cj8f-5fp3-6m88
Primary source ·