What’s Vulnerable › Vulnerabilities
CVE-2022-40304
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-11-23 · updated 2026-10-14
- Weakness: CWE-415
Description
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
Affected products
- Apple iPadOS: before 15.7.2 — fixed in 15.7.2
- Apple Iphone Os: before 15.7.2 — fixed in 15.7.2
- Apple macOS: from 11.0 before 11.7.2; from 12.0 before 12.6.2 — fixed in 11.7.2, 12.6.2
- Apple tvOS: before 16.2 — fixed in 16.2
- Apple watchOS: before 9.2 — fixed in 9.2
- Active IQ Unified Manager for VMware vSphere, Linux, and Microsoft Windows: all versions
- Clustered Data ONTAP: all versions
- NetApp Clustered Data Ontap Antivirus Connector: all versions
- NetApp H300S Firmware: all versions
- NetApp H410C Firmware: all versions
- NetApp H410S Firmware: all versions
- NetApp H500S Firmware: all versions
- NetApp H700S Firmware: all versions
- NetApp Manageability Software Development Kit: all versions
- NetApp Smi-S Provider: all versions
- SnapManager for Oracle: all versions
- xmlsoft libxml2: before 2.10.3 — fixed in 2.10.3
How to fix
Upgrade to a fixed version: Apple iPadOS 15.7.2; Apple Iphone Os 15.7.2; Apple macOS 11.7.2, 12.6.2; Apple tvOS 16.2; Apple watchOS 9.2; xmlsoft libxml2 2.10.3. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Dec/21
- http://seclists.org/fulldisclosure/2022/Dec/24
- http://seclists.org/fulldisclosure/2022/Dec/25
- http://seclists.org/fulldisclosure/2022/Dec/26
- http://seclists.org/fulldisclosure/2022/Dec/27
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b
- https://gitlab.gnome.org/GNOME/libxml2/-/tags
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3
- https://security.netapp.com/advisory/ntap-20221209-0003/
- https://support.apple.com/kb/HT213531
- https://support.apple.com/kb/HT213533
- https://support.apple.com/kb/HT213534
Get alerted when CVE-2022-40304 or the next vulnerability affects your stack