# What is CVE-2022-23308?

> CVE-2022-23308 is a high-severity flaw (CVSS 7.5) in Libxml2 from Xmlsoft, published on 26 February 2022. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 5.1%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2022-23308

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **Precursor Intelligence risk score:** 48 out of 100 (Medium); action: Plan remediation. Kept up to date as the evidence changes.
- **Severity:** High (CVSS 7.5 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 5.1% (latest exploit-likelihood forecast)
- **Published:** 26 February 2022
- **Record last updated:** 5 May 2025
- **Main product:** Libxml2 from Xmlsoft
- **Affected products:** 44

## What is CVE-2022-23308? In plain terms

It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### The official description

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

### What kind of flaw is it?

- CWE-416: Use After Free

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: No login needed
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can take it offline

Severity vector: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## Is CVE-2022-23308 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 5.1%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 5.1%, 5.1%, 5.1%, 5.1%, 5.1%, 5.1%, 5.1%.

### Timeline

- 26 February 2022: Published
- 5 May 2025: Record last updated

### How Precursor Intelligence ranks it

CVE-2022-23308 scores **48 out of 100 (Medium)**, with the action "Plan remediation".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2022-23308?

The published record lists 44 products. Versions are as published: "before 2.9.13" means every version up to, but not including, 2.9.13.

- [Libxml2](https://www.precursorintelligence.com/product/xmlsoft/libxml2) by [Xmlsoft](https://www.precursorintelligence.com/vendors/xmlsoft) (Application): before 2.9.13
- [Mac OS X](https://www.precursorintelligence.com/product/apple/mac_os_x) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): 10.15.0 to before 10.15.7, 10.15.7, 10.15.7-security_update_2020-001, 10.15.7-security_update_2021-001, 10.15.7-security_update_2021-002, 10.15.7-security_update_2021-003, 10.15.7-security_update_2021-004, 10.15.7-security_update_2021-005, 10.15.7-security_update_2021-006, 10.15.7-security_update_2021-007, 10.15.7-security_update_2021-008, 10.15.7-security_update_2022-001, 10.15.7-security_update_2022-003
- [Communications Cloud Native Core Network Repository Function](https://www.precursorintelligence.com/product/oracle/communications_cloud_native_core_network_repository_function) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 22.1.2, 22.2.0
- [macOS](https://www.precursorintelligence.com/product/apple/macos) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): 11.6.0 to before 11.6.6, 12.0 to before 12.4
- [Active Iq Unified Manager](https://www.precursorintelligence.com/product/netapp/active_iq_unified_manager) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Bootstrap OS](https://www.precursorintelligence.com/product/netapp/bootstrap_os) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [Clustered Data Ontap](https://www.precursorintelligence.com/product/netapp/clustered_data_ontap) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Clustered Data Ontap Antivirus Connector](https://www.precursorintelligence.com/product/netapp/clustered_data_ontap_antivirus_connector) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Communications Cloud Native Core Binding Support Function](https://www.precursorintelligence.com/product/oracle/communications_cloud_native_core_binding_support_function) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 22.2.0
- [Communications Cloud Native Core Network Function Cloud Native Environment](https://www.precursorintelligence.com/product/oracle/communications_cloud_native_core_network_function_cloud_native_environment) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 22.1.0
- [Communications Cloud Native Core Network Slice Selection Function](https://www.precursorintelligence.com/product/oracle/communications_cloud_native_core_network_slice_selection_function) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 22.1.1
- [Communications Cloud Native Core Unified Data Repository](https://www.precursorintelligence.com/product/oracle/communications_cloud_native_core_unified_data_repository) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 22.2.0
- [Debian Linux](https://www.precursorintelligence.com/product/debian/debian_linux) by [Debian](https://www.precursorintelligence.com/vendors/debian) (Operating system): 9.0
- [Fedora](https://www.precursorintelligence.com/product/fedoraproject/fedora) by [Fedoraproject](https://www.precursorintelligence.com/vendors/fedoraproject) (Operating system): 34
- [H300e](https://www.precursorintelligence.com/product/netapp/h300e) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H300e Firmware](https://www.precursorintelligence.com/product/netapp/h300e_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H300s](https://www.precursorintelligence.com/product/netapp/h300s) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H300s Firmware](https://www.precursorintelligence.com/product/netapp/h300s_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H410c](https://www.precursorintelligence.com/product/netapp/h410c) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H410c Firmware](https://www.precursorintelligence.com/product/netapp/h410c_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H410s](https://www.precursorintelligence.com/product/netapp/h410s) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H410s Firmware](https://www.precursorintelligence.com/product/netapp/h410s_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H500e](https://www.precursorintelligence.com/product/netapp/h500e) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H500e Firmware](https://www.precursorintelligence.com/product/netapp/h500e_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H500s](https://www.precursorintelligence.com/product/netapp/h500s) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H500s Firmware](https://www.precursorintelligence.com/product/netapp/h500s_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H700e](https://www.precursorintelligence.com/product/netapp/h700e) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H700e Firmware](https://www.precursorintelligence.com/product/netapp/h700e_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [H700s](https://www.precursorintelligence.com/product/netapp/h700s) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [H700s Firmware](https://www.precursorintelligence.com/product/netapp/h700s_firmware) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Operating system): version not specified
- [Hci Compute Node](https://www.precursorintelligence.com/product/netapp/hci_compute_node) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Hardware): version not specified
- [iPadOS](https://www.precursorintelligence.com/product/apple/ipados) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): before 15.5
- [iOS](https://www.precursorintelligence.com/product/apple/iphone_os) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): before 15.5
- [Manageability Software Development Kit](https://www.precursorintelligence.com/product/netapp/manageability_software_development_kit) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Mysql Workbench](https://www.precursorintelligence.com/product/oracle/mysql_workbench) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): up to 8.0.29
- [Ontap Select Deploy Administration Utility](https://www.precursorintelligence.com/product/netapp/ontap_select_deploy_administration_utility) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Smi-S Provider](https://www.precursorintelligence.com/product/netapp/smi-s_provider) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Snapdrive](https://www.precursorintelligence.com/product/netapp/snapdrive) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [Snapmanager](https://www.precursorintelligence.com/product/netapp/snapmanager) by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- Solidfire & Hci Management Node by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- Solidfire, Enterprise Sds & Hci Storage Node by [Netapp](https://www.precursorintelligence.com/vendors/netapp) (Application): version not specified
- [tvOS](https://www.precursorintelligence.com/product/apple/tvos) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): before 15.5
- [watchOS](https://www.precursorintelligence.com/product/apple/watchos) by [Apple](https://www.precursorintelligence.com/vendors/apple) (Operating system): before 8.6
- [Zfs Storage Appliance Kit](https://www.precursorintelligence.com/product/oracle/zfs_storage_appliance_kit) by [Oracle](https://www.precursorintelligence.com/vendors/oracle) (Application): 8.8

## How do I fix CVE-2022-23308?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [github.com](https://github.com/GNOME/libxml2/commit/652dd12a858989b14eed4e84e453059cd3ba340e) (Patch, Third-party advisory)
- [oracle.com](https://www.oracle.com/security-alerts/cpujul2022.html) (Patch, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/33) (Mailing list, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/34) (Mailing list, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/35) (Mailing list, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/36) (Mailing list, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/37) (Mailing list, Third-party advisory)
- [seclists.org](http://seclists.org/fulldisclosure/2022/May/38) (Mailing list, Third-party advisory)
- [gitlab.gnome.org](https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.9.13/NEWS) (Release notes, Third-party advisory)
- [lists.debian.org](https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html) (Mailing list, Third-party advisory)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LA3MWWAYZADWJ5F6JOUBX65UZAMQB7RF/)
- [security.gentoo.org](https://security.gentoo.org/glsa/202210-03) (Third-party advisory)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20220331-0008/) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213253) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213254) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213255) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213256) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213257) (Third-party advisory)
- [support.apple.com](https://support.apple.com/kb/HT213258) (Third-party advisory)

## Questions

### What is CVE-2022-23308?

CVE-2022-23308 is a high-severity flaw in Libxml2 from Xmlsoft, published on 26 February 2022. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### How serious is CVE-2022-23308?

It scores 7.5 out of 10 on the CVSS severity scale, which is high. Our risk score for CVE-2022-23308 is 48 out of 100, which is Medium. Its action is "Plan remediation". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2022-23308 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 5.1%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2022-23308 affect?

For Libxml2 from Xmlsoft: before 2.9.13. The record lists 44 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2022-23308?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2022-23308 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

