PatchSiren cyber security CVE debrief
CVE-2026-78681 nltk CVE debrief
The CVE-2026-78681 vulnerability affects NLTK versions before 3.10.3, which use xml.etree.ElementTree to parse XML in multiple modules. This allows entity declarations in document DTDs to be honored, enabling attackers to craft XML payloads with nested entity declarations. These payloads can expand from hundreds of bytes to megabytes in memory, causing denial of service. Users of affected NLTK versions should be aware of this HIGH severity vulnerability and take steps to mitigate it. The CVE record was published on 2026-08-25T02:16:52.750Z and has not been modified since then. To address this vulnerability, users should assess their NLTK installations, apply vendor-provided patches or updates, and implement compensating controls.
- Vendor
- nltk
- Product
- Unknown
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-25
- Original CVE updated
- 2026-09-01
- Advisory published
- 2026-08-25
- Advisory updated
- 2026-09-01
Who should care
Users of NLTK versions before 3.10.3, including developers, security teams, and operators, should be aware of this HIGH severity vulnerability. They should assess their installations, apply vendor-provided patches or updates, and implement compensating controls to mitigate potential attacks. Additionally, they should monitor NLTK installations for suspicious activity and implement exception tracking to detect potential security incidents related to this vulnerability. Security teams should prioritize patching and mitigation efforts based on the HIGH severity of this vulnerability and the potential for denial of service attacks. Operators of affected systems should also review their configurations and ensure that compensating controls are in place to prevent exploitation. Vulnerability management and security teams should track exceptions and retest remediated assets to ensure that the vulnerability is fully addressed. This vulnerability may impact various platforms and environments, so a thorough review of affected scope and severity is necessary to ensure effective mitigation. The HIGH severity of this vulnerability and its potential impact on affected systems make it essential for users to take immediate action to address this vulnerability. Users should also consider upgrading to a version of NLTK that is not vulnerable to ensure long-term security and stability. By taking these steps, users can help prevent denial of service attacks and ensure the security and integrity of their systems. This vulnerability highlights the importance of keeping software up-to-date and implementing robust security controls to prevent exploitation. Users should review the official CVE record and vendor advisories for more information on this vulnerability and to stay informed about any updates or patches that may become available. Overall, users of affected NLTK versions should prioritize patching and mitigation efforts to address this HIGH severity vulnerability and prevent potential security incidents. The vulnerability's impact on affected systems and its potential for denial of service attacks make it essential for users to take immediate action to address this vulnerability
Technical summary
NLTK versions before 3.10.3 are vulnerable due to their use of xml.etree.ElementTree for parsing XML in multiple modules. This vulnerability allows entity declarations in document DTDs to be processed, which can lead to denial of service attacks. Attackers can create XML payloads with nested entity declarations that expand significantly in memory. Users of affected versions should assess their installations, apply patches or updates, and implement compensating controls such as input validation and content filtering.
Defensive priority
High-priority defensive actions are required to address this HIGH severity vulnerability.
Recommended defensive actions
- Inventory and assess NLTK installations for version 3.10.3 or later
- Apply vendor-provided patches or updates to NLTK
- Implement compensating controls, such as input validation and content filtering, to mitigate potential attacks
- Monitor NLTK installations for suspicious activity and implement exception tracking
- Consider upgrading to a version of NLTK that is not vulnerable
Evidence notes
The CVE-2026-78681 record indicates a HIGH severity vulnerability in NLTK versions before 3.10.3. The vulnerability is caused by the use of 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-78681 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-78681
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-78681 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-78681
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/nltk/nltk/security/advisories/GHSA-97qj-x29f-37w7
[email protected] - Exploit, Vendor Advisory
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/nltk-before-entity-expansion-dos-via-elementtree
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.