CVE-2026-74860
Libxml2: double-free/uaf in libxml2 python bindings
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| libxml2Red Hat | unaffected: 0:2.12.5-10.el10_2.4 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.12.5-9.el10_0.9 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.1-6.el7_9.20 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-21.el8_10.9 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-21.el8_10.9 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-9.el8_4.20 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-9.el8_4.20 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-13.el8_6.24 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-13.el8_6.24 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-16.el8_8.24 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.7-16.el8_8.24 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.13-14.el9_8.5 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.13-14.el9_8.5 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.13-3.el9_2.20 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.13-13.el9_4.10 to < * | See vendor advisory |
| libxml2Red Hat | unaffected: 0:2.9.13-13.el9_6 to < * | See vendor advisory |
| cert-manager/jetstack-cert-manager-rhel9Red Hat | unaffected: 1790589912 to < * | See vendor advisory |
| cert-manager/cert-manager-istio-csr-rhel9Red Hat | unaffected: 1790589914 to < * | See vendor advisory |
| cert-manager/cert-manager-operator-rhel9Red Hat | unaffected: 1790589855 to < * | See vendor advisory |
| costmanagement/costmanagement-ui-rhel10Red Hat | unaffected: 1791460851 to < * | See vendor advisory |
| libxml2-mainRed Hat | unaffected: 2.15.4-0.1.hum1 to < * | See vendor advisory |
| rhai/base-image-spyre-rhel9Red Hat | unaffected: 1793041986 to < * | See vendor advisory |
| rhai/base-image-rocm-rhel9Red Hat | unaffected: 1793041981 to < * | See vendor advisory |
| rhai/base-image-cpu-rhel9Red Hat | unaffected: 1793042072 to < * | See vendor advisory |
| rhai/base-image-cuda-rhel9Red Hat | unaffected: 1793042067 to < * | See vendor advisory |
| rhai/base-image-tpu-rhel9Red Hat | unaffected: 1793041987 to < * | See vendor advisory |
| rhai/base-image-cpu-rhel9Red Hat | unaffected: 1793329709 to < * | See vendor advisory |
| rhai/base-image-cuda-rhel9Red Hat | unaffected: 1793328358 to < * | See vendor advisory |
| rhai/base-image-rocm-7.1-rhel9Red Hat | unaffected: 1793042006 to < * | See vendor advisory |
| rhai/base-image-cuda-12.9-rhel9Red Hat | unaffected: 1793042145 to < * | See vendor advisory |
| rhai/base-image-tpu-rhel9Red Hat | unaffected: 1793042006 to < * | See vendor advisory |
| rhai/base-image-gaudi-rhel9Red Hat | unaffected: 1793042011 to < * | See vendor advisory |
| rhai/base-image-cuda-13.0-rhel9Red Hat | unaffected: 1793042086 to < * | See vendor advisory |
| rhai/base-image-cpu-rhel9Red Hat | unaffected: 1793042088 to < * | See vendor advisory |
| rhai/base-image-rocm-6.4-rhel9Red Hat | unaffected: 1793041995 to < * | See vendor advisory |
| rhai/base-image-spyre-rhel9Red Hat | unaffected: 1793042074 to < * | See vendor advisory |
| rhai/base-image-neuron-rhel9Red Hat | unaffected: 1793042008 to < * | See vendor advisory |
| rhai/base-image-cuda-13.0-rhel9Red Hat | unaffected: 1793326837 to < * | See vendor advisory |
| rhai/base-image-tpu-rhel9Red Hat | unaffected: 1793042010 to < * | See vendor advisory |
| rhai/base-image-cpu-rhel9Red Hat | unaffected: 1793042162 to < * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-74860
- https://access.redhat.com/errata/RHSA-2026:64463
- https://access.redhat.com/errata/RHSA-2026:71585
- https://access.redhat.com/errata/RHSA-2026:71586
- https://access.redhat.com/errata/RHSA-2026:71641
- https://access.redhat.com/errata/RHSA-2026:72470
- https://access.redhat.com/errata/RHSA-2026:72475
- https://access.redhat.com/errata/RHSA-2026:72476
- https://access.redhat.com/errata/RHSA-2026:79357
- https://access.redhat.com/errata/RHSA-2026:82939
- https://access.redhat.com/errata/RHSA-2026:89750
- https://access.redhat.com/errata/RHSA-2026:89759
- https://access.redhat.com/errata/RHSA-2026:90309
- https://access.redhat.com/errata/RHSA-2026:91202
- https://access.redhat.com/errata/RHSA-2026:91204
- https://access.redhat.com/errata/RHSA-2026:91206
- https://access.redhat.com/errata/RHSA-2026:91207
- https://access.redhat.com/errata/RHSA-2026:91217
- https://access.redhat.com/errata/RHSA-2026:91218
- https://access.redhat.com/errata/RHSA-2026:91219
- https://access.redhat.com/errata/RHSA-2026:91224
- https://access.redhat.com/errata/RHSA-2026:91232
- https://access.redhat.com/errata/RHSA-2026:91233
- https://access.redhat.com/errata/RHSA-2026:91234
- https://access.redhat.com/errata/RHSA-2026:91235
- https://access.redhat.com/errata/RHSA-2026:91236
- https://access.redhat.com/errata/RHSA-2026:91237
- https://access.redhat.com/errata/RHSA-2026:91238
- https://access.redhat.com/errata/RHSA-2026:91241
- https://access.redhat.com/errata/RHSA-2026:91242