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 X

PYSEC-2026-3748
HIGH 8.7OSV

En bref

Source
OSV
Publiée
Mise à jour
CVE
CVE-2026-78681
Alias
GHSA-97qj-x29f-37w7
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Criticité de la CVE
HIGH 8.7 · CVE-2026-78681

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.

Références

Paquets affectés

PaquetVersions
PyPI · nltkintroduced 0, fixed 3.10.3

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database