{"id":"CVE-2026-81725","published":"2026-08-27T14:51:18Z","modified":"2026-08-28T15:58:35Z","title":"NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00369,"percentile":0.22888,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader","tags":["third-party-advisory"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":4.58},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.3"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-27T18:24:00.717908Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.3"],"patched":["3.10.3"],"from":["GHSA-8mpw-7fpc-4gqj","PYSEC-2026-3752"],"provenance":"source"}],"summary":{"text":"The Pl196xCorpusReader component of the NLTK natural language toolkit, in versions before 3.10.3, contains a regular expression flaw in its read_block method that causes quadratic CPU consumption when processing malformed TEI blocks containing many unmatched opening tags. An unauthenticated remote attacker who can supply such input through public APIs such as words() or tagged_words(), with no user interaction required but a high-complexity attack condition, can cause repeated rescans that degrade availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:19Z"},"euvd":{"id":"EUVD-2026-67075","exploited":false,"provenance":"source"}}