libxml2 Python SAX Binding Double-Free DoS CVE-2026-74860
CVE-2026-74860 Published on September 8, 2026
Libxml2: double-free/uaf in libxml2 python bindings
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 Analysis
CVE-2026-74860 is exploitable with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
Release of Invalid Pointer or Reference
The application attempts to return a memory resource to the system, but calls the wrong release function or calls the appropriate release function incorrectly.
Products Associated with CVE-2026-74860
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-74860 are published in these products:
Affected Versions
Red Hat Enterprise Linux 10:- Version 0:2.12.5-10.el10_2.4 and below * is unaffected.
- Version 0:2.12.5-9.el10_0.9 and below * is unaffected.
- Version 0:2.9.7-21.el8_10.9 and below * is unaffected.
- Version 0:2.9.7-21.el8_10.9 and below * is unaffected.
- Version 0:2.9.13-14.el9_8.5 and below * is unaffected.
- Version 0:2.9.13-14.el9_8.5 and below * is unaffected.
- Version 0:2.9.13-13.el9_4.10 and below * is unaffected.
- Version 0:2.9.13-13.el9_6 and below * is unaffected.
- Version 1790589912 and below * is unaffected.
- Version 1790589914 and below * is unaffected.
- Version 1790589855 and below * is unaffected.
- Version 1791460851 and below * is unaffected.
- Version 2.15.4-0.1.hum1 and below * is unaffected.
- Version 1791978534 and below * is unaffected.
- Version 1791978528 and below * is unaffected.
- Version 1791978528 and below * is unaffected.
- Version 1791964013 and below * is unaffected.
- Version 1791978693 and below * is unaffected.