CVE-2026-81723nltk
Medium 6.3 No auth needed
Follow: this CVE · nltk · nltk We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 27, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for nltk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nltk |
< 3.10.3 |
3.10.3 |
pip install "nltk>=3.10.3" |
| PyPI | nltk |
< 3.10.3 |
3.10.3 |
pip install "nltk>=3.10.3" |
Per OSV / GitHub Advisories (GHSA-vp2x-qp44-57v7, PYSEC-2026-3871). Check the version in your lockfile before upgrading.
Affected products
- nltk · nltk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.