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.1-6.el7_9.20 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.7-9.el8_4.20 and below * is unaffected.
- Version 0:2.9.7-9.el8_4.20 and below * is unaffected.
- Version 0:2.9.7-13.el8_6.24 and below * is unaffected.
- Version 0:2.9.7-13.el8_6.24 and below * is unaffected.
- Version 0:2.9.7-16.el8_8.24 and below * is unaffected.
- Version 0:2.9.7-16.el8_8.24 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-3.el9_2.20 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 1793041986 and below * is unaffected.
- Version 1793041981 and below * is unaffected.
- Version 1793042072 and below * is unaffected.
- Version 1793042067 and below * is unaffected.
- Version 1793041987 and below * is unaffected.
- Version 1793329709 and below * is unaffected.
- Version 1793328358 and below * is unaffected.
- Version 1793042006 and below * is unaffected.
- Version 1793042145 and below * is unaffected.
- Version 1793042006 and below * is unaffected.
- Version 1793042011 and below * is unaffected.
- Version 1793042086 and below * is unaffected.
- Version 1793042088 and below * is unaffected.
- Version 1793041995 and below * is unaffected.
- Version 1793042074 and below * is unaffected.
- Version 1793042008 and below * is unaffected.
- Version 1793326837 and below * is unaffected.
- Version 1793042010 and below * is unaffected.
- Version 1793042162 and below * is unaffected.
- Version 1793042004 and below * is unaffected.
- Version 1793042092 and below * is unaffected.
- Version 1793042117 and below * is unaffected.
- Version 1793042093 and below * is unaffected.
- Version 1793042114 and below * is unaffected.
- Version 1793042024 and below * is unaffected.
- Version 1793042008 and below * is unaffected.
- Version 1793327660 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.