---
title: "CVE-2022-29824"
canonical_url: "https://pkgseek.com/security/CVE-2022-29824"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2022-29824

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

CVE-2022-29824 is rated MEDIUM (6.5), with 22 indexed affected package builds across 4 distributions.

- **Severity / Score**: MEDIUM (6.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-12.0.1.al8 | 2.9.7-13.0.1.al8.1 |
| Alibaba Cloud Linux | 3 | libxml2-devel | 2.9.7-12.0.1.al8 | 2.9.7-13.0.1.al8.1 |
| Alibaba Cloud Linux | 3 | python3-libxml2 | 2.9.7-12.0.1.al8 | 2.9.7-13.0.1.al8.1 |
| Oracle Linux | 8 | libxml2 | 2.9.7-13.el8_6.1 | 2.9.7-15.el8 |
| Oracle Linux | 8 | libxml2-devel | 2.9.7-13.el8_6.1 | 2.9.7-15.el8 |
| Oracle Linux | 8 | python3-libxml2 | 2.9.7-13.el8_6.1 | 2.9.7-15.el8 |
| Oracle Linux | 9 | libxml2 | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Oracle Linux | 9 | libxml2-devel | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Oracle Linux | 9 | python3-libxml2 | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Red Hat Enterprise Linux | 9.8 | libxml2 | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Red Hat Enterprise Linux | 9.8 | libxml2-devel | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Red Hat Enterprise Linux | 9.8 | python3-libxml2 | 2.9.13-1.el9 | 2.9.13-1.el9_0.1 |
| Ubuntu | focal | libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | focal | libxml2-dev | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | focal | libxml2-doc | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | focal | libxml2-utils | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | focal | python3-libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | focal | python3-libxml2-dbg | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.3 |
| Ubuntu | jammy | libxml2 | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.1 |
| Ubuntu | jammy | libxml2-dev | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.1 |
| Ubuntu | jammy | libxml2-doc | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.1 |
| Ubuntu | jammy | libxml2-utils | 2.9.13+dfsg-1build1 | 2.9.13+dfsg-1ubuntu0.1 |
