WebKit memory corruption leading to arbitrary code execution
CVE-2021-30761 is a memory-corruption vulnerability in WebKit that can allow arbitrary code execution when the engine processes maliciously crafted web content. It affects legacy Apple devices and WebKitGTK and WPE WebKit versions before 2.26.0. The flaw was addressed through improved state management, including in iOS 12.5.4. Apple acknowledged a report that the vulnerability may have been actively exploited.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can execute attacker-controlled code on the victim system. Potential consequences include unauthorized memory modification, confidential-data access, application crashes, and resource exhaustion. A sandbox escape or elevation of privileges is not established.
If you can’t patch tonight, do this now.
Until updates are deployed, reduce exposure to untrusted web content and prevent users from visiting potentially malicious websites. Restrict or disable applications and embedded components that render WebKit content where operationally feasible, and use network security controls to limit access to known malicious web destinations.
Patch, then assume compromise.
Install iOS 12.5.4 or a later applicable security update on affected Apple devices. Update WebKitGTK and WPE WebKit to the latest supported stable releases; version 2.26.0 contains the upstream fix. For Red Hat deployments, install the applicable vendor-fixed packages, including updates covered by RHSA-2020:4451 for RHEL 8 and RHSA-2025:10364 for RHEL 7 Extended Lifecycle Support.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.