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.