Vulnerability · Published Aug 25, 2026 · Assigned by VulnCheck

CVE-2026-78681NLTK before 3.10.3 Entity Expansion DoS via ElementTree

High 7.5

In plain English

A high-severity security flaw in nltk from nltk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 55.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nltkno fix listedDEBIAN-CVE-2026-78681
Debian:13nltkno fix listedDEBIAN-CVE-2026-78681
Debian:14nltk3.10.3-1DEBIAN-CVE-2026-78681
PyPInltk3.10.3GHSA-97qj-x29f-37w7
PyPInltk3.10.3PYSEC-2026-3748

Affected products (as reported)

VendorProductVersions
nltk nltk 0 – before 3.10.3

Weakness: CWE-776 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References