MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-78681GHSA-97qj-x29f-37w7

NLTK before 3.10.3 Entity Expansion DoS via ElementTree

Not on CISA KEVCVSS 7.5 (v3.1)
  • Overview

Summary

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)