CVE-2022-40303 Integer overflow in n/a
An attacker can cause a segmentation fault and denial of service by parsing a large XML document with the HUGE parser option enabled in libxml2.
- 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-40303?
CVE-2022-40303 is a high-severity vulnerability in Apple Ipados, published on 22 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2022-40303?
It affects 17 products.
Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Watchos, Netapp Active Iq Unified Manager and 11 more.
How do I fix CVE-2022-40303?
Upgrade to a fixed version.
Is CVE-2022-40303 being exploited?
There is no known exploitation of CVE-2022-40303 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 A-260709824, ALPINE-CVE-2022-40303, AZL-11471, DEBIAN-CVE-2022-40303, ECHO-c83a-37b7-febd, GHSA-94m8-rgr8-rg5g and 3 more.