CVE-2026-81725
published medium CVSS 4.0 · 6.3NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk0 to < 3.10.3 (affected · semver) · 3.10.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 0 to < 3.10.3 (affected · semver)3.10.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-400 Uncontrolled Resource Consumption
References
2- GitHub Security Advisory (GHSA-8mpw-7fpc-4gqj) https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj
- VulnCheck Advisory: 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
Provider assertions
2VulnCheck · cna
NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dddd4f517663bc48619685940f2ff3edaecab50472cb665f8dcccf9532109a24
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record