Vulnerability

CVE-2026-81725

mediumCVSS 4.0 6.3Published 27 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Nltk nltk

Weakness type

References

  • github.com /nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj
  • www.vulncheck.com /advisories/nltk-before-3.10.3-regular-expression-denial-of…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning