CVE-2026-78681Nltk
High 8.7 No auth needed
Follow: this CVE · Nltk · Nltk We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Aug 25, 2026
- Updated
- Oct 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-776
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.
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-97qj-x29f-37w7, PYSEC-2026-3748). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.10.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- www.vulncheck.com Third Party Advisory