CVEfocus › CVE database › CVE-2026-74860

CVE-2026-74860Libxml2: double-free/uaf in libxml2 python bindings

CVSS 8.5 HighEPSS 0.8% (higher than 55% of CVEs)Published 2026-09-08Updated 2026-11-23Assigner: redhat

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.

CWE-763

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

32Fixed
6Fix pending
4Will not fix
19Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libxml2Fixed2.15.2+dfsg-0.1ubuntu0.2UBUNTU-CVE-2026-74860
Ubuntu 24.04libxml2Fixed2.9.14+dfsg-1.3ubuntu3.9UBUNTU-CVE-2026-74860
Ubuntu 22.04libxml2Fixed2.9.13+dfsg-1ubuntu0.13UBUNTU-CVE-2026-74860
Ubuntu 20.04libxml2Fix pending2.9.10+dfsg-5ubuntu0.20.04.10+esm5 (Ubuntu Pro)UBUNTU-CVE-2026-74860
Ubuntu 18.04libxml2Fix pending2.9.4+dfsg1-6.1ubuntu1.9+esm8 (Ubuntu Pro)UBUNTU-CVE-2026-74860
Ubuntu 16.04libxml2Fix pending2.9.3+dfsg1-1ubuntu0.7+esm13 (Ubuntu Pro)UBUNTU-CVE-2026-74860
Ubuntu 14.04libxml2Fix pending2.9.1+dfsg1-3ubuntu4.13+esm12 (Ubuntu Pro)UBUNTU-CVE-2026-74860
Debian 14libxml2Fixed2.15.3+dfsg-1DEBIAN-CVE-2026-74860
Debian 13libxml2Fix pendingDEBIAN-CVE-2026-74860
Debian 12libxml2Fix pendingDEBIAN-CVE-2026-74860
Red Hat Enterprise Linux 10libxml2Fixed0:2.12.5-10.el10_2.4RHSA-2026:98572
Red Hat Enterprise Linux 10libxml2-develFixed0:2.12.5-10.el10_2.4RHSA-2026:98572
Red Hat Enterprise Linux 10libxml2-staticFixed0:2.12.5-10.el10_2.4RHSA-2026:98572
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 10python3-libxml2Fixed0:2.12.5-15.el10_3.2RHSA-2026:71586
Red Hat Enterprise Linux 9libxml2Fixed0:2.9.13-18.el9_9.1RHSA-2026:71585
Red Hat Enterprise Linux 9libxml2-develFixed0:2.9.13-18.el9_9.1RHSA-2026:71585
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 9python3-libxml2Fixed0:2.9.13-18.el9_9.1RHSA-2026:71585
Red Hat Enterprise Linux 8libxml2Fixed0:2.9.7-21.el8_10.9RHSA-2026:71641
Red Hat Enterprise Linux 8libxml2-develFixed0:2.9.7-21.el8_10.9RHSA-2026:71641
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8python3-libxml2Fixed0:2.9.7-21.el8_10.9RHSA-2026:71641
Red Hat Enterprise Linux 6libxml2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libxml2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libxml2-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6libxml2-staticWill not fix
Out of support scope
AlmaLinux 10libxml2Fixed2.12.5-15.el10_3.2ALSA-2026:71586
AlmaLinux 10libxml2-develFixed2.12.5-15.el10_3.2ALSA-2026:71586
AlmaLinux 10libxml2-staticFixed2.12.5-15.el10_3.2ALSA-2026:71586
AlmaLinux 10python3-libxml2Fixed2.12.5-10.el10_2.4ALSA-2026:98572
AlmaLinux 9libxml2Fixed2.9.13-18.el9_9.1ALSA-2026:71585
AlmaLinux 9libxml2-develFixed2.9.13-14.el9_8.5ALSA-2026:98468
AlmaLinux 9python3-libxml2Fixed2.9.13-18.el9_9.1ALSA-2026:71585
AlmaLinux 8libxml2Fixed2.9.7-21.el8_10.9ALSA-2026:71641
AlmaLinux 8libxml2-develFixed2.9.7-21.el8_10.9ALSA-2026:71641
AlmaLinux 8python3-libxml2Fixed2.9.7-21.el8_10.9ALSA-2026:71641
Rocky Linux 10libxml2Fixed0:2.12.5-15.el10_3.2RLSA-2026:98572
Rocky Linux 10libxml2-develFixed0:2.12.5-15.el10_3.2RLSA-2026:98572
Rocky Linux 10libxml2-staticFixed0:2.12.5-15.el10_3.2RLSA-2026:98572
Rocky Linux 10python3-libxml2Fixed0:2.12.5-15.el10_3.2RLSA-2026:98572
Rocky Linux 9libxml2Fixed0:2.9.13-18.el9_9.1RLSA-2026:98468
Rocky Linux 9libxml2-develFixed0:2.9.13-18.el9_9.1RLSA-2026:98468
Rocky Linux 9python3-libxml2Fixed0:2.9.13-18.el9_9.1RLSA-2026:98468
Rocky Linux 8libxml2Fixed0:2.9.7-21.el8_10.9RLSA-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.

Vendor advisories:

References

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.