---
title: "CVE-2026-74860"
canonical_url: "https://pkgseek.com/security/CVE-2026-74860"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-74860

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.

CVE-2026-74860 is rated HIGH (8.5), with 40 indexed affected package builds across 7 distributions.

- **Severity / Score**: HIGH (8.5)
- **Affected builds**: 40
- **Affected distros**: 7
- **Distros with fixed_in**: Alibaba Cloud Linux, AlmaLinux, OpenAnolis, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 4 | libxml2 | 2.11.5-17.alnx4 | 2.11.5-24.alnx4 |
| Alibaba Cloud Linux | 4 | libxml2-devel | 2.11.5-17.alnx4 | 2.11.5-24.alnx4 |
| Alibaba Cloud Linux | 4 | libxml2-static | 2.11.5-17.alnx4 | 2.11.5-24.alnx4 |
| Alibaba Cloud Linux | 4 | python3-libxml2 | 2.11.5-17.alnx4 | 2.11.5-24.alnx4 |
| AlmaLinux | 10 | libxml2 | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| AlmaLinux | 10 | libxml2-devel | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| AlmaLinux | 10 | python3-libxml2 | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| AlmaLinux | 9 | libxml2 | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| AlmaLinux | 9 | libxml2-devel | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| AlmaLinux | 9 | python3-libxml2 | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| Debian | trixie | libxml2 | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | — |
| Debian | trixie | libxml2-dev | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | — |
| Debian | trixie | libxml2-doc | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | — |
| Debian | trixie | libxml2-utils | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | — |
| Debian | trixie | python3-libxml2 | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | — |
| OpenAnolis | 8.10 | libxml2 | 2.9.7-21.0.1.an8.7 | 2.9.7-21.0.1.an8.9 |
| OpenAnolis | 8.10 | python3-libxml2 | 2.9.7-21.0.1.an8.7 | 2.9.7-21.0.1.an8.9 |
| Oracle Linux | 10 | libxml2 | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| Oracle Linux | 10 | libxml2-devel | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| Oracle Linux | 10 | python3-libxml2 | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| Oracle Linux | 8 | libxml2 | 2.9.7-21.el8_10.8 | 2.9.7-21.el8_10.9 |
| Oracle Linux | 8 | libxml2-devel | 2.9.7-21.el8_10.8 | 2.9.7-21.el8_10.9 |
| Oracle Linux | 8 | python3-libxml2 | 2.9.7-21.el8_10.8 | 2.9.7-21.el8_10.9 |
| Oracle Linux | 9 | libxml2 | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| Oracle Linux | 9 | libxml2-devel | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| Oracle Linux | 9 | python3-libxml2 | 2.9.13-14.el9_8.5 | 2.9.13-18.el9_9.1 |
| Rocky Linux | 10 | libxml2 | 2.12.5-10.el10_2.4 | 0:2.12.5-15.el10_3.2 |
| Rocky Linux | 10 | libxml2-devel | 2.12.5-10.el10_2.4 | 0:2.12.5-15.el10_3.2 |
| Rocky Linux | 10 | python3-libxml2 | 2.12.5-10.el10_2.4 | 2.12.5-15.el10_3.2 |
| Rocky Linux | 9 | libxml2 | 2.9.13-14.el9_8.5 | 2.9.13-14.el9_8.5 |
| Rocky Linux | 9 | libxml2-devel | 2.9.13-14.el9_8.5 | 0:2.9.13-18.el9_9.1 |
| Rocky Linux | 9 | python3-libxml2 | 2.9.13-14.el9_8.5 | 0:2.9.13-18.el9_9.1 |
| Ubuntu | jammy | libxml2 | 2.9.13+dfsg-1build1 | — |
| Ubuntu | jammy | libxml2-dev | 2.9.13+dfsg-1build1 | — |
| Ubuntu | jammy | libxml2-doc | 2.9.13+dfsg-1build1 | — |
| Ubuntu | jammy | libxml2-utils | 2.9.13+dfsg-1build1 | — |
| Ubuntu | noble | libxml2 | 2.9.14+dfsg-1.3ubuntu3 | — |
| Ubuntu | noble | libxml2-dev | 2.9.14+dfsg-1.3ubuntu3 | — |
| Ubuntu | noble | libxml2-doc | 2.9.14+dfsg-1.3ubuntu3 | — |
| Ubuntu | noble | libxml2-utils | 2.9.14+dfsg-1.3ubuntu3 | — |
