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

# CVE-2022-23308

valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

CVE-2022-23308 is rated HIGH (7.5), with 16 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 16
- **Affected distros**: 3
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | libxml2 | 2.9.7-9.1.al8.2 | 2.9.7-12.0.1.al8 |
| Alibaba Cloud Linux | 3 | libxml2-devel | 2.9.7-9.1.al8.2 | 2.9.7-12.0.1.al8 |
| Alibaba Cloud Linux | 3 | python3-libxml2 | 2.9.7-9.1.al8.2 | 2.9.7-12.0.1.al8 |
| Oracle Linux | 8 | libxml2 | 2.9.7-9.0.2.el8_4.2 | 2.9.7-12.el8_5 |
| Oracle Linux | 8 | libxml2-devel | 2.9.7-9.0.2.el8_4.2 | 2.9.7-12.el8_5 |
| Oracle Linux | 8 | python3-libxml2 | 2.9.7-9.0.2.el8_4.2 | 2.9.7-12.el8_5 |
| Ubuntu | focal | libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| Ubuntu | focal | libxml2-dev | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| Ubuntu | focal | libxml2-doc | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| Ubuntu | focal | libxml2-utils | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| Ubuntu | focal | python3-libxml2 | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| Ubuntu | focal | python3-libxml2-dbg | 2.9.10+dfsg-5 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| 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 |
