CVE-2026-81725

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*

History

01 Sep 2026, 20:06

Type Values Removed Values Added
CPE cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
First Time Nltk nltk
Nltk
References () https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj - () https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader - () https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader - Third Party Advisory

27 Aug 2026, 17:21

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-27 17:21

Updated : 2026-09-01 20:06


NVD link : CVE-2026-81725

Mitre link : CVE-2026-81725

CVE.ORG link : CVE-2026-81725


JSON object : View

Products Affected

nltk

  • nltk
CWE
CWE-400

Uncontrolled Resource Consumption