CVE-2026-78681
CVE-2026-78681 is a high-severity vulnerability in Nltk with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 8.7
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-776
- Affected product: Nltk
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-78681?
- 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.
- How severe is CVE-2026-78681?
- CVE-2026-78681 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-78681 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-78681?
- CVE-2026-78681 affects Nltk. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-78681?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-78681 published?
- CVE-2026-78681 was published on 2026-08-25 and last updated on 2026-09-01.
References
- https://github.com/nltk/nltk/security/advisories/GHSA-97qj-x29f-37w7
- https://www.vulncheck.com/advisories/nltk-before-entity-expansion-dos-via-elementtree
Affected products (1)
- cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
More vulnerabilities in Nltk
- CVE-2026-0848 — Critical (CVSS 10.0): NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the…
- CVE-2026-79675 — Critical (CVSS 9.8): NLTK before 3.10.3 fails to validate JVM options passed through the per-call options parameter in the java() function,…
- CVE-2026-79657 — Critical (CVSS 9.8): NLTK versions before 3.10.3 contain a remote code execution vulnerability in allowlisted pickle loaders that trust…
- CVE-2026-78683 — Critical (CVSS 9.6): NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the…
- CVE-2026-71513 — High (CVSS 8.8): NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle…
- CVE-2025-14009 — High (CVSS 8.8): A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter…
Other CWE-776 vulnerabilities
- CVE-2019-19144 — Critical (CVSS 9.8): XML External Entity Injection vulnerability in Quantum DXi6702 2.3.0.3 (11449-53631 Build304) devices via…
- CVE-2022-23640 — Critical (CVSS 9.8): Excel-Streaming-Reader is an easy-to-use implementation of a streaming Excel reader using Apache POI. Prior to…
- CVE-2014-2228 — Critical (CVSS 9.8): The XStream extension in HP Fortify SCA before 2.2 RC3 allows remote attackers to execute arbitrary code via unsafe…
- CVE-2013-4335 — Critical (CVSS 9.8): opOpenSocialPlugin 0.8.2.1, > 0.9.9.2, 0.9.13, 1.2.6: Multiple XML External Entity Injection Vulnerabilities
- CVE-2021-23926 — Critical (CVSS 9.1): The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from…
- CVE-2020-24590 — Critical (CVSS 9.1): The Management Console in WSO2 API Manager through 3.1.0 and API Microgateway 2.2.0 allows XML Entity Expansion attacks.