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

# CVE-2024-25062

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

CVE-2024-25062 is rated HIGH (7.5), with 22 indexed affected package builds across 4 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 22
- **Affected distros**: 4
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | libxml2 | 2.9.7-18.0.2.al8 | 2.9.7-18.0.3.al8 |
| Alibaba Cloud Linux | 3 | libxml2-devel | 2.9.7-18.0.2.al8 | 2.9.7-18.0.3.al8 |
| Alibaba Cloud Linux | 3 | python3-libxml2 | 2.9.7-18.0.2.al8 | 2.9.7-18.0.3.al8 |
| Oracle Linux | 8 | libxml2 | 2.9.7-18.el8_10.2 | 2.9.7-19.el8_10 |
| Oracle Linux | 8 | libxml2-devel | 2.9.7-18.el8_10.2 | 2.9.7-19.el8_10 |
| Oracle Linux | 8 | python3-libxml2 | 2.9.7-18.el8_10.2 | 2.9.7-19.el8_10 |
| Oracle Linux | 9 | libxml2 | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Oracle Linux | 9 | libxml2-devel | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Oracle Linux | 9 | python3-libxml2 | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Red Hat Enterprise Linux | 9.8 | libxml2 | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Red Hat Enterprise Linux | 9.8 | libxml2-devel | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Red Hat Enterprise Linux | 9.8 | python3-libxml2 | 2.9.13-5.el9_3 | 2.9.13-6.el9_4 |
| Ubuntu | focal | libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | focal | libxml2-dev | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | focal | libxml2-doc | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | focal | libxml2-utils | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | focal | python3-libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | focal | python3-libxml2-dbg | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.7 |
| Ubuntu | jammy | libxml2 | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.4 |
| Ubuntu | jammy | libxml2-dev | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.4 |
| Ubuntu | jammy | libxml2-doc | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.4 |
| Ubuntu | jammy | libxml2-utils | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.4 |
