NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader
cve-program · CVE-2026-81725
PublishedNLTK 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-81725 · CVE overview and exploitation status
cve-program · CVE-2026-81725
Related changes
Linked by CVE identifierNo related changes are available here.