{"id":"CVE-2026-78681","published":"2026-08-25T01:30:37Z","modified":"2026-08-26T16:12:19Z","title":"NLTK before 3.10.3 Entity Expansion DoS via ElementTree","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00521,"percentile":0.37573,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-97qj-x29f-37w7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-entity-expansion-dos-via-elementtree","tags":["third-party-advisory"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":7.51},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.3"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-26T15:58:37.215656Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.3"],"patched":["3.10.3"],"from":["GHSA-97qj-x29f-37w7","PYSEC-2026-3748"],"provenance":"source"}],"summary":{"text":"NLTK versions before 3.10.3 have a flaw in multiple modules that parse XML with xml.etree.ElementTree, which honors entity declarations in document DTDs. An attacker who can supply a crafted XML document with nested entity declarations can cause those entities to expand from hundreds of bytes into megabytes in memory, resulting in a denial of service, and this requires no privileges or user interaction over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:00Z"},"euvd":{"id":"EUVD-2026-65227","exploited":false,"provenance":"source"}}