Vulnerability

CVE-2026-78681

highCVSS 4.0 8.7Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Nltk nltk

Weakness type

References

  • github.com /nltk/nltk/security/advisories/GHSA-97qj-x29f-37w7
  • www.vulncheck.com /advisories/nltk-before-entity-expansion-dos-via-elementtree

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning