CVE-2026-74860
Libxml2: double-free/uaf in libxml2 python bindings
Reported by redhat · Published September 8, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxml2-debuginfo | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.s390x, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.x86_64, 0:2.9.13-18.el9_9.1.s390x, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.i686, 0:2.9.13-18.el9_9.1.aarch64 |
| python3-libxml2-debuginfo | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.x86_64, 0:2.12.5-15.el10_3.2.s390x, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.s390x, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.aarch64 |
| libxml2 | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.src, 0:2.12.5-15.el10_3.2.s390x, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.x86_64, 0:2.9.13-18.el9_9.1.src, 0:2.9.13-18.el9_9.1.s390x, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.i686, 0:2.9.13-18.el9_9.1.aarch64 |
| python3-libxml2 | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.x86_64, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.x86_64, 0:2.9.13-18.el9_9.1.s390x, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.aarch64 |
| libxml2-static | errata.rockylinux.org | 2.12.5-10.el10, 0:2.12.5-15.el10_3.2.x86_64, 0:2.12.5-15.el10_3.2.s390x, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64 |
| libxml2-debugsource | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.x86_64, 0:2.12.5-15.el10_3.2.s390x, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.aarch64 |
| libxml2 | Amazon Linux | 2.10.4-1.amzn2023.0.21, 2.9.1-6.amzn2.5.27 |
| libxml2-devel | errata.rockylinux.org | 2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8, 0:2.12.5-15.el10_3.2.x86_64, 0:2.12.5-15.el10_3.2.ppc64le, 0:2.12.5-15.el10_3.2.aarch64, 0:2.9.13-18.el9_9.1.x86_64, 0:2.9.13-18.el9_9.1.s390x, 0:2.9.13-18.el9_9.1.ppc64le, 0:2.9.13-18.el9_9.1.i686, 0:2.9.13-18.el9_9.1.aarch64 |
| libxml2-static | Amazon Linux | 2.9.1-6.amzn2.5.27 |
| libxml2-devel | Amazon Linux | 2.10.4-1.amzn2023.0.21 |
| libxml2-python | Amazon Linux | 2.9.1-6.amzn2.5.27 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.12.5-10.el10_2.4 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.12.5-15.el10_3.2 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:2.12.5-9.el10_0.9 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.9.1-6.el7_9.20 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.9.7-21.el8_10.9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.9.7-21.el8_10.9 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:2.9.7-9.el8_4.20 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:2.9.7-9.el8_4.20 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:2.9.7-13.el8_6.24 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | 0:2.9.7-13.el8_6.24 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:2.9.7-16.el8_8.24 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:2.9.7-16.el8_8.24 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-14.el9_8.5 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-18.el9_9.1 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-14.el9_8.5 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.9.13-18.el9_9.1 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:2.9.13-3.el9_2.20 |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 0:2.9.13-13.el9_4.10 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:2.9.13-13.el9_6 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.20 | 1790589912 |
…and 119 more
Timeline
- Sep 8, 2026 CVE Published
- Sep 9, 2026 EPSS Score (30 in total, the first dated here)
- Sep 24, 2026 Distribution Patch (53 in total, the first dated here)
- Sep 24, 2026 Security Advisory (49 in total, the first dated here)
- Nov 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74860
vulnetix vdb fixes CVE-2026-74860
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74860/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:64463 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71585 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71586 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71641 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:72470 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:72475 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:72476 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:79357 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82939 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:89750 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:89759 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:90309 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91202 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91204 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91206 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91207 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91217 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91218 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91219 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91224 vendor-advisoryx_refsource_REDHAT
…and 28 more