CVE Catalog

CVE-2026-74860

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.66%

49th percentile - higher than 49% of all known CVEs

Summary

In libxml2 with Python bindings enabled, a remote attacker could exploit a specially crafted XML document containing a DTD with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.

Risk Assessment

Risk of crashing Python applications processing XML data, potentially leading to service disruption and denial of service.

Recommendation

Recommend updating libxml2 to a patched version and avoiding processing untrusted XML documents with DTDs if possible.

Other vulnerabilities in libxml2

See all
Original NVD description (English source)

A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS