What’s Vulnerable › Vulnerabilities
CVE-2022-40303
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 41.4% 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-190
Description
An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.
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 Sdk: all versions
- NetApp ONTAP Select Deploy administration utility: 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/c846986356fc149915a74972bf198abc266bc2c0
- 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
- https://support.apple.com/kb/HT213535
Get alerted when CVE-2022-40303 or the next vulnerability affects your stack