CVE-2021-30661: Use-after-free in WebKit Storage
- Vendor
- Apple
CVE-2021-30661 is a use-after-free vulnerability in WebKit Storage. Processing maliciously crafted web content can trigger the flaw and lead to arbitrary code execution. It affects Apple products incorporating vulnerable WebKit versions, as well as WebKitGTK and WPE WebKit versions before 2.30.0. Apple addressed the issue through improved memory management and acknowledged a report that it may have been actively exploited.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow arbitrary code execution when an affected WebKit implementation processes maliciously crafted web content. The execution privilege level and any ability to escape a sandbox are not established.
Mitigation
If you can’t patch tonight, do this now.
Until updates can be deployed, reduce exposure to untrusted web content and restrict use of applications that render externally supplied web content. Enforce supported browser and operating-system versions, and prioritize patching systems used to access email, messaging, or Internet-hosted content.
Remediation
Patch, then assume compromise.
Install the applicable Apple security update: Safari 14.1, iOS 12.5.3, iOS 14.5, iPadOS 14.5, watchOS 7.4, tvOS 14.5, or macOS Big Sur 11.3, or a later supported release. For WebKitGTK and WPE WebKit, update to the latest stable release; versions before 2.30.0 are identified as affected. For affected Rocky Linux 8 packages, apply the updates specified in CIQ advisory CRLSA-2021:1586.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-30661 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-30661?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-30661.
- Is there a patch for CVE-2021-30661?
- Install the applicable Apple security update: Safari 14.1, iOS 12.5.3, iOS 14.5, iPadOS 14.5, watchOS 7.4, tvOS 14.5, or macOS Big Sur 11.3, or a later supported release. For WebKitGTK and WPE WebKit, update to the latest stable release; versions before 2.30.0 are identified as affected.
- What products are affected by CVE-2021-30661?
- Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, and 1 more.
- How severe is CVE-2021-30661?
- CVE-2021-30661 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 4.5% (92nd percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.