CVE-2022-23308 Use after free in n/a
A use-after-free vulnerability in libxml2 allows attackers to execute arbitrary code or cause denial of service via crafted XML documents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23308?
CVE-2022-23308 is a high-severity use after free vulnerability in Apple Ipados, published on 26 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
Weakness: CWE-416
Which versions are affected by CVE-2022-23308?
It affects 35 products.
Linux distribution packages (40)
libxml2-devel AlmaLinux:8 | All versions | 2.9.7-12.el8_5 |
libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-12.el8_5 |
libxml2-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-12.el8_5 |
libxml2-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-12.el8_5 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-12.el8_5 |
libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-12.el8_5 |
libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-12.el8_5 |
libxml2-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-12.el8_5 |
python3-libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-12.el8_5 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-12.el8_5 |
libxml2 Rocky Linux:8 | All versions | 0:2.9.7-12.el8_5 |
python-libxml2-python SUSE:Enterprise Storage 6 | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Enterprise Storage 7 | All versions | 2.9.7-3.40.1 |
libxml2 SUSE:HPE Helion OpenStack 8 | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:HPE Helion OpenStack 8 | All versions | 2.9.4-46.49.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise Micro 5.2 | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 2.9.7-3.40.1 |
python-libxml2-python SUSE:Linux Enterprise Module for Python 2 15 SP3 | All versions | 2.9.7-3.40.1 |
libxml2 SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.7.6-0.77.43.1 |
libxml2-python SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.7.6-0.77.43.1 |
python-libxml2-python SUSE:Linux Enterprise Real Time 15 SP2 | All versions | 2.9.7-3.40.1 |
libxml2 SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 2.7.6-0.77.43.1 |
libxml2-python SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 2.7.6-0.77.43.1 |
libxml2 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 2.9.4-46.49.1 |
libxml2 SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 2.9.4-46.49.1 |
libxml2 SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 2.9.4-46.49.1 |
libxml2 SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 2.9.4-46.49.1 |
libxml2 SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.9.4-46.49.1 |
python-libxml2 SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.9.4-46.49.1 |
python-libxml2-python SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 2.9.7-3.40.1 |
Products include Apple Ipados, Apple Iphone Os, Apple Mac Os X, Apple Macos, Apple Tvos, Apple Watchos and 29 more.
How do I fix CVE-2022-23308?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-23308 being exploited?
There is no known exploitation of CVE-2022-23308 in the wild and no public exploit code.
Other vulnerabilities in Apple Ipados
- CVE-2025-43300 Apple iOS, iPadOS, and macOS Out-of-Bounds Write
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write
- CVE-2025-24085 Apple Multiple Products Use-After-Free
- CVE-2025-31200 Apple Multiple Products Memory Corruption
- CVE-2025-31201 Apple Multiple Products Arbitrary Read and Write
Sources
Also known as ALPINE-CVE-2022-23308, ALSA-2022:0899, AZL-8862, CLSA-2022-1647254642, CLSA-2022-1647255690, CLSA-2022-1647255880 and 18 more.