CVE-2026-74860

Libxml2: double-free/uaf in libxml2 python bindings

Published Sep 8, 2026 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw (CWE‑763) exists in libxml2 when Python bindings are enabled. A remote attacker can supply a crafted XML document that includes a DTD with enumerated attribute values. This causes the SAX attributeDecl callback to free a string twice, leading to a null pointer dereference and a crash. The result is a denial‑of‑service because the affected Python application will terminate.

Affected Systems

Red Hat’s Red Enterprise Linux 6, 7, 8, 9, and 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are affected when libxml2 with Python bindings is used.

Risk and Exploitability

The CVSS score of 8.5 marks this flaw as high severity. EPSS is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector is remote: an attacker can send a malicious XML payload to a vulnerable Python program that uses libxml2 with the bindings enabled. Because the flaw leads only to a crash and not to arbitrary code execution, the primary risk is a denial of service to the affected service or application. However, repeated crashes could be leveraged in a larger denial‑of‑service campaign, especially in a managed platform environment such as OpenShift.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s libxml2 update that addresses the double‑free bug.
  • If a patch is yet available, disable the Python bindings for libxml2 in the application configuration.
  • Implement strict XML validation or block external DTD processing to avoid triggering the defect when parsing untrusted XML.

Generated by OpenCVE AI on September 8, 2026 at 13:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:64463 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:71585 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:71586 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:71641 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72470 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72475 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72476 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:79357 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82939 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:89750 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:89759 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:90309 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91202 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91204 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91206 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91207 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91217 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91218 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91219 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91224 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91232 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91233 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91234 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91235 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91236 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91237 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91238 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91241 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91242 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91243 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91244 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91245 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91246 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91248 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:91249 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92352 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92589 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:93463 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:93473 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:93791 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94459 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94468 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94474 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94476 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:98468 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:98572 cve-icon cve-icon
https://access.redhat.com/security/cve/CVE-2026-74860 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2529697 cve-icon cve-icon
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
References
Type Values Removed Values Added
First Time appeared Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
Vendors & Products Redhat rhel Tus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
cpe:/o:redhat:rhel_aus:8.4::baseos
cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/a:redhat:openshift:5
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_eus_long_life:8.6::baseos
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/o:redhat:rhel_e4s:9.2::baseos
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/o:redhat:rhel_eus:9.6::baseos
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/o:redhat:enterprise_linux_eus:10.0
cpe:/o:redhat:rhel_e4s:9.4::baseos
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:5::el9
Vendors & Products Redhat rhui
References
Type Values Removed Values Added
First Time appeared Redhat cost Management On Premise
CPEs cpe:/a:redhat:cost_management_on_premise:1::el10
Vendors & Products Redhat cost Management On Premise
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/o:redhat:enterprise_linux:8::baseos
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Libxml2: double-free/uaf in libxml2 python bindings
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-763
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}