CVE-2026-74860Libxml2: 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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libxml2 | Fixed | 2.15.2+dfsg-0.1ubuntu0.2 | UBUNTU-CVE-2026-74860 |
| Ubuntu 24.04 | libxml2 | Fixed | 2.9.14+dfsg-1.3ubuntu3.9 | UBUNTU-CVE-2026-74860 |
| Ubuntu 22.04 | libxml2 | Fixed | 2.9.13+dfsg-1ubuntu0.13 | UBUNTU-CVE-2026-74860 |
| Ubuntu 20.04 | libxml2 | Fix pending | 2.9.10+dfsg-5ubuntu0.20.04.10+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-74860 |
| Ubuntu 18.04 | libxml2 | Fix pending | 2.9.4+dfsg1-6.1ubuntu1.9+esm8 (Ubuntu Pro) | UBUNTU-CVE-2026-74860 |
| Ubuntu 16.04 | libxml2 | Fix pending | 2.9.3+dfsg1-1ubuntu0.7+esm13 (Ubuntu Pro) | UBUNTU-CVE-2026-74860 |
| Ubuntu 14.04 | libxml2 | Fix pending | 2.9.1+dfsg1-3ubuntu4.13+esm12 (Ubuntu Pro) | UBUNTU-CVE-2026-74860 |
| Debian 14 | libxml2 | Fixed | 2.15.3+dfsg-1 | DEBIAN-CVE-2026-74860 |
| Debian 13 | libxml2 | Fix pending | DEBIAN-CVE-2026-74860 | |
| Debian 12 | libxml2 | Fix pending | DEBIAN-CVE-2026-74860 | |
| Red Hat Enterprise Linux 10 | libxml2 | Fixed | 0:2.12.5-10.el10_2.4 | RHSA-2026:98572 |
| Red Hat Enterprise Linux 10 | libxml2-devel | Fixed | 0:2.12.5-10.el10_2.4 | RHSA-2026:98572 |
| Red Hat Enterprise Linux 10 | libxml2-static | Fixed | 0:2.12.5-10.el10_2.4 | RHSA-2026:98572 |
| Red Hat Enterprise Linux 10 | podman | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RHSA-2026:71586 |
| Red Hat Enterprise Linux 9 | libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RHSA-2026:71585 |
| Red Hat Enterprise Linux 9 | libxml2-devel | Fixed | 0:2.9.13-18.el9_9.1 | RHSA-2026:71585 |
| Red Hat Enterprise Linux 9 | podman | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RHSA-2026:71585 |
| Red Hat Enterprise Linux 8 | libxml2 | Fixed | 0:2.9.7-21.el8_10.9 | RHSA-2026:71641 |
| Red Hat Enterprise Linux 8 | libxml2-devel | Fixed | 0:2.9.7-21.el8_10.9 | RHSA-2026:71641 |
| Red Hat Enterprise Linux 8 | podman | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-libxml2 | Fixed | 0:2.9.7-21.el8_10.9 | RHSA-2026:71641 |
| Red Hat Enterprise Linux 6 | libxml2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Will not fix Out of support scope | ||
| AlmaLinux 10 | libxml2 | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:71586 |
| AlmaLinux 10 | libxml2-devel | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:71586 |
| AlmaLinux 10 | libxml2-static | Fixed | 2.12.5-15.el10_3.2 | ALSA-2026:71586 |
| AlmaLinux 10 | python3-libxml2 | Fixed | 2.12.5-10.el10_2.4 | ALSA-2026:98572 |
| AlmaLinux 9 | libxml2 | Fixed | 2.9.13-18.el9_9.1 | ALSA-2026:71585 |
| AlmaLinux 9 | libxml2-devel | Fixed | 2.9.13-14.el9_8.5 | ALSA-2026:98468 |
| AlmaLinux 9 | python3-libxml2 | Fixed | 2.9.13-18.el9_9.1 | ALSA-2026:71585 |
| AlmaLinux 8 | libxml2 | Fixed | 2.9.7-21.el8_10.9 | ALSA-2026:71641 |
| AlmaLinux 8 | libxml2-devel | Fixed | 2.9.7-21.el8_10.9 | ALSA-2026:71641 |
| AlmaLinux 8 | python3-libxml2 | Fixed | 2.9.7-21.el8_10.9 | ALSA-2026:71641 |
| Rocky Linux 10 | libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | libxml2-devel | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | libxml2-static | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 10 | python3-libxml2 | Fixed | 0:2.12.5-15.el10_3.2 | RLSA-2026:98572 |
| Rocky Linux 9 | libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 9 | libxml2-devel | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 9 | python3-libxml2 | Fixed | 0:2.9.13-18.el9_9.1 | RLSA-2026:98468 |
| Rocky Linux 8 | libxml2 | Fixed | 0:2.9.7-21.el8_10.9 | RLSA-2026:71641 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:64463 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:71585 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:71586 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:71641 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:72470 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:72475 (vendor-advisory)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.