← CVE Intelligence

CVE-2026-78681

NLTK before 3.10.3 Entity Expansion DoS via ElementTree PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
nltk / nltkaffected 0 before 3.10.3; unaffected 3.10.3

CWE

CWE-776

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.