CVE-2026-81725
MEDIUM 6.3CVSS 4.0NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
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.
- Published
- 27 Aug 2026
- Last modified
- 8 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-8mpw-7fpc-4gqjPYSEC-2026-3752
- Sources
- NVDJSONOSV GHSA-8mpw-7fpc-4gqjJSONOSV PYSEC-2026-3752JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nltk | nltkcpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* |
< 3.10.3 | 3.10.3 |
| OSV | PyPI | nltk | < 3.10.3 | 3.10.3 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-81725 · ADVISORY
- https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa · WEB
- https://github.com/nltk/nltk · PACKAGE
- https://github.com/nltk/nltk/releases/tag/v3.10.3 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3752.yaml · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2026)