CVE-2026-81725

Low

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.

SeverityLow
CVSS3.7
Exploit probability—
ProductNltk
PublishedAug 27, 2026
First seenAug 27, 2026

How to fix

Update
  • nltk nltk3.10.3 or later
  • nltk3.10.3 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.10.33.10.3
nltkPyPIv < 3.10.33.10.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.