ADVISORIES

Vulnerability

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. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All PyPI 2Debian 1

Advisories

  • DEBIAN-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. Attackers can craft XML payloads with nested entity declarations that expand…

    CVE-2026-78681 Debian Updated 13 October 2026
  • GHSA-97qj-x29f-37w7

    NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses

    High CVE-2026-78681 PyPI Updated 8 September 2026
  • PYSEC-2026-3748

    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…

    CVE-2026-78681 PyPI Updated 2 September 2026

References