CVE-2021-30666: WebKit buffer overflow enabling arbitrary code execution
- Vendor
- Apple
CVE-2021-30666 is a buffer-overflow vulnerability in WebKit, including WebKitGTK and WPE WebKit, caused by improper bounds checking. Processing specially crafted web content can trigger memory corruption, allowing a remote attacker to execute arbitrary code or crash the affected application. The issue was addressed through improved memory handling in iOS 12.5.3 and upstream WebKitGTK and WPE WebKit 2.26.0. Apple acknowledged a report of possible active exploitation, and the vulnerability is included in CISA's Known Exploited Vulnerabilities Catalog.
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 can execute arbitrary code on the victim system or cause the affected application to crash. The vulnerability may also permit unauthorized memory modification and access to memory or files. The available information does not establish sandbox escape or elevated execution privileges.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, reduce exposure to untrusted web content, restrict browsing to untrusted sites where operationally feasible, and use browser/application sandboxing and endpoint protections to limit the consequences of code execution. Updating is the primary mitigation.
Remediation
Patch, then assume compromise.
Update affected Apple devices to iOS 12.5.3 or a later supported release. Update WebKitGTK and WPE WebKit to version 2.26.0 or later, preferably the latest supported stable release. For Red Hat deployments, install the applicable vendor-fixed packages, including RHSA-2025:10364 for RHEL 7 Extended Lifecycle Support and RHSA-2020:4451 for RHEL 8. Verify vendor package status rather than relying solely on upstream version comparisons, because security fixes may be backported.
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.
Frequently asked questions
- Is CVE-2021-30666 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-30666?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-30666.
- Is there a patch for CVE-2021-30666?
- Update affected Apple devices to iOS 12.5.3 or a later supported release. Update WebKitGTK and WPE WebKit to version 2.26.0 or later, preferably the latest supported stable release.
- What products are affected by CVE-2021-30666?
- Apple Iphone Os.
- How severe is CVE-2021-30666?
- CVE-2021-30666 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 3.0% (88th percentile) as of Oct 16, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.