CVE-2026-81725
Severity CVSS v4.0:
MEDIUM
Type:
CWE-400
Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
27/08/2026
Last modified:
28/08/2026
Description
NLTK before 3.10.3 contains a regular expression denial of service vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags. Attackers can exploit lazy regex patterns in the read_block method through public APIs like words() and tagged_words() to force repeated rescans and achieve near-quadratic runtime growth.
Impact
Base Score 4.0
6.30
Severity 4.0
MEDIUM
Base Score 3.x
3.70
Severity 3.x
LOW



