CVE-2026-78681

published 25 Aug 2026 · updated 26 Aug 2026

NLTK before 3.10.3 Entity Expansion DoS via ElementTree

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nltk<3.10.33.10.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-78681 severity on Zeptric[![CVE-2026-78681](https://zeptric.io/badge/cve/CVE-2026-78681.svg)](https://zeptric.io/cve/CVE-2026-78681)