CVE-2021-30851 Memory corruption in Safari
Attackers can execute arbitrary code by tricking users into visiting malicious web content in Safari or Apple operating systems.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-30851?
CVE-2021-30851 is a high-severity memory corruption vulnerability in Apple Ipados, published on 24 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A memory corruption vulnerability was addressed with improved locking. This issue is fixed in Safari 15, tvOS 15, watchOS 8, iOS 15 and iPadOS 15. Processing maliciously crafted web content may lead to code execution.
Weakness: CWE-787
Which versions are affected by CVE-2021-30851?
It affects 8 products.
Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, Apple Watchos and 2 more.
How do I fix CVE-2021-30851?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-30851 being exploited?
There is no known exploitation of CVE-2021-30851 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 DEBIAN-CVE-2021-30851, UBUNTU-CVE-2021-30851.