NetSight
high7.5

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.

Impact

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

EcosystemPackageAffectedFixed in
pipnltk<= 3.10.23.10.3

Affected products

VendorProductAffected versions
NltkNltk
before 3.10.3

Weakness classification

References