Skip to main content
VulnerabilityPublished

CVE-2026-129232: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags

Affects nltkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129232· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.10.4 when convenient.

Data as of 20 Nov 2026, 00:29 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 3.10.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade nltk to 3.10.4.

Affected software

ProductAffectedFixed in
PyPInltkAffected
  • <3.10.4
Fixed in
  • 3.10.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in NLTK version 3.10.4. Users should upgrade to version 3.10.4 or later to remediate this vulnerability. Until then, avoid processing untrusted or attacker-controlled XML corpus files with XMLCorpusView subclasses.

Description

NLTK's XMLCorpusView.read_block method suffers from a quadratic CPU exhaustion vulnerability when processing deeply nested XML corpus tags. This occurs because the method rebuilds the full root-to-node context path on every start tag while searching for a matching element, causing O(n^2) computational complexity relative to the nesting depth. An attacker who can supply or influence the XML corpus file can cause high CPU usage, leading to denial of service. The vulnerability affects versions prior to 3.10.4 and has no impact on confidentiality or integrity, only availability.

References

Community reviews

Loading reviews…