CVE-2026-81723
nltk: NLTK: Denial of Service via malformed XML corpus files
Overview
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.
Source: OX vulnerability database
Severity
3.7 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-400
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | nltk | <3.10.3 | 3.10.3 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.3-r1 | |
| nemo | 2.7.3-r27 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nltk | affected |
| 12 | nltk | affected |
| 13 | nltk | affected |
| 14 | nltk | 3.10.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nltk | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| label-studio | 1.23.1-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.3-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-81723
- github.com https://github.com/nltk/nltk
- github.com https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa
- github.com https://github.com/nltk/nltk/releases/tag/v3.10.3
- github.com https://github.com/nltk/nltk/security/advisories/GHSA-vp2x-qp44-57v7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-81723
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-81723
- www.vulncheck.com https://www.vulncheck.com/advisories/nltk-before-3.10.3-quadratic-cpu-exhaustion-via-xmlcorpusview
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.