ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-78681

Details

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

EcosystemPackageAffected versions
Debian:12nltk
All versions, no fix listed
Debian:13nltk
All versions, no fix listed
Debian:14nltk
All versions before 3.10.3-1 (fixed in 3.10.3-1)

References