CVE-2026-74860

Libxml2: double-free/uaf in libxml2 python bindings

8.5 high EPSS 0.66%

Published 8 Sep 2026 Updated 30 Nov 2026 CNA: redhat

Check your servers for CVE-2026-74860

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74860 affects libxml2, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

8.5 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.66%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 Sep 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-763 Release of Invalid Pointer or Reference

Affected products

As the CNA lists them.

ProductVersions
Red Hat Enterprise Linux 10
package libxml2
unaffected 0:2.12.5-10.el10_2.4 and later
Other versions: affected
Red Hat Enterprise Linux 10
package libxml2
unaffected 0:2.12.5-15.el10_3.2 and later
Other versions: affected
Red Hat Enterprise Linux 10.0 Extended Update Support
package libxml2
unaffected 0:2.12.5-9.el10_0.9 and later
Other versions: affected
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package libxml2
unaffected 0:2.9.1-6.el7_9.20 and later
Other versions: affected
Red Hat Enterprise Linux 8
package libxml2
unaffected 0:2.9.7-21.el8_10.9 and later
Other versions: affected
Red Hat Enterprise Linux 8
package libxml2
unaffected 0:2.9.7-21.el8_10.9 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package libxml2
unaffected 0:2.9.7-9.el8_4.20 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package libxml2
unaffected 0:2.9.7-9.el8_4.20 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package libxml2
unaffected 0:2.9.7-13.el8_6.24 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package libxml2
unaffected 0:2.9.7-13.el8_6.24 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package libxml2
unaffected 0:2.9.7-16.el8_8.24 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package libxml2
unaffected 0:2.9.7-16.el8_8.24 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libxml2
unaffected 0:2.9.13-14.el9_8.5 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libxml2
unaffected 0:2.9.13-18.el9_9.1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libxml2
unaffected 0:2.9.13-14.el9_8.5 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libxml2
unaffected 0:2.9.13-18.el9_9.1 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package libxml2
unaffected 0:2.9.13-3.el9_2.20 and later
Other versions: affected
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package libxml2
unaffected 0:2.9.13-13.el9_4.10 and later
Other versions: affected
Red Hat Enterprise Linux 9.6 Extended Update Support
package libxml2
unaffected 0:2.9.13-13.el9_6 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/jetstack-cert-manager-rhel9
unaffected 1790589912 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-istio-csr-rhel9
unaffected 1790589914 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-operator-rhel9
unaffected 1790589855 and later
Other versions: affected
Red Hat Cost Management On-Premise 1
package costmanagement/costmanagement-ui-rhel10
unaffected 1791460851 and later
Other versions: affected
Red Hat Discovery 2
package discovery/discovery-server-rhel9
unaffected 1795537005 and later
Other versions: affected
Red Hat Discovery 2
package discovery/discovery-ui-rhel9
unaffected 1795539844 and later
Other versions: affected
Red Hat Hardened Images
package libxml2-main
unaffected 2.15.4-0.1.hum1 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-spyre-rhel9
unaffected 1793041986 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-rocm-rhel9
unaffected 1793041981 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cpu-rhel9
unaffected 1793042072 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cuda-rhel9
unaffected 1793042067 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-tpu-rhel9
unaffected 1793041987 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cpu-rhel9
unaffected 1793329709 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cuda-rhel9
unaffected 1793328358 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-rocm-7.1-rhel9
unaffected 1793042006 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cuda-12.9-rhel9
unaffected 1793042145 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-tpu-rhel9
unaffected 1793042006 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-gaudi-rhel9
unaffected 1793042011 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cuda-13.0-rhel9
unaffected 1793042086 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cpu-rhel9
unaffected 1793042088 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-rocm-6.4-rhel9
unaffected 1793041995 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-spyre-rhel9
unaffected 1793042074 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-neuron-rhel9
unaffected 1793042008 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cuda-13.0-rhel9
unaffected 1793326837 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-tpu-rhel9
unaffected 1793042010 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cpu-rhel9
unaffected 1793042162 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-gaudi-rhel9
unaffected 1793042004 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-rubin-rhel9
unaffected 1793042092 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cuda-12.9-rhel9
unaffected 1793042117 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cuda-13.0-rhel9
unaffected 1793042093 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-spyre-rhel9
unaffected 1793042114 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-rocm-7.14-rhel9
unaffected 1793042024 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-neuron-rhel9
unaffected 1793042008 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cuda-12.9-rhel9
unaffected 1793327660 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-kubernetes-rhel9
unaffected 1791978534 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-rhel9
unaffected 1791978528 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/haproxy-rhel9
unaffected 1791978528 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/installer-rhel9
unaffected 1791964013 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/rhua-rhel9
unaffected 1791978693 and later
Other versions: affected
Red Hat Enterprise Linux 10
package podman
unaffected the record does not list versions
Red Hat Enterprise Linux 6
package libxml2
unknown the record does not list versions
Red Hat Enterprise Linux 8
package container-tools:rhel8/podman
unaffected the record does not list versions
Red Hat Enterprise Linux 9
package podman
unaffected the record does not list versions
Red Hat Hardened Images
package swift-lang
unaffected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-kserve-controller-rhel9
unaffected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-kserve-llmisvc-controller-rhel9
unaffected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-llama-stack-k8s-operator-rhel9
unaffected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-model-serving-api-rhel9
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift/ose-rhel-coreos-8
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift/ose-rhel-coreos-9
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package podman
unaffected the record does not list versions
Red Hat OpenShift Container Platform 5
package openshift/ose-rhel-coreos-9
unaffected the record does not list versions

Is my server affected?

Find the installed version of libxml2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i libxml2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-74860 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-74860

RHEL, Rocky, Alma, Fedora

rpm -q libxml2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-74860

Alpine

apk list --installed | grep -i libxml2

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74860
trivy image --scanners vuln IMAGE | grep CVE-2026-74860

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

37 more

Source: the record CVE-2026-74860 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.