CVE-2026-81723
published medium CVSS 4.0 · 6.3NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView
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 versions before 3.10.3 contain a quadratic CPU exhaustion vulnerability in XMLCorpusView._read_xml_fragment() that rescans accumulated XML fragments on every 1 KiB block read. Attackers can provide malformed XML corpus files to cause severe CPU consumption and denial of service through affected readers like BNCCorpusReader.
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-vp2x-qp44-57v7) https://github.com/nltk/nltk/security/advisories/GHSA-vp2x-qp44-57v7
- VulnCheck Advisory: NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView https://www.vulncheck.com/advisories/nltk-before-3.10.3-quadratic-cpu-exhaustion-via-xmlcorpusview
Provider assertions
2VulnCheck · cna
NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 688a1b9c831643f6a54dcaa60b9ce78c0734d25d9c8fadd51b16d689038aec3b
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record