CVE-2016-4657: WebKit Memory Corruption RCE in Apple iOS
- Vendor
- Apple
CVE-2016-4657 is a memory-corruption vulnerability in WebKit affecting Apple iOS versions before 9.3.5. Processing a crafted website can allow remote attackers to execute arbitrary code within the Safari browser context or cause a denial of service. It was exploited as the initial stage of Trident, a three-vulnerability chain used to install NSO Group's Pegasus spyware. The subsequent stages exploited CVE-2016-4655 for kernel information disclosure and CVE-2016-4656 for kernel-level code execution.
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 compromise the Safari execution context or crash the affected browser through memory corruption. When combined with the other Trident vulnerabilities, it enabled remote jailbreaking and spyware installation, supporting access to communications, credentials, location information, camera, and microphone. Those device-wide surveillance capabilities depended on the complete exploit chain and payload, not CVE-2016-4657 alone.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid opening unsolicited links and restrict access to untrusted web content on affected devices. The observed exploitation used SMS links to malicious websites, so filtering suspicious messages and web destinations can reduce exposure but does not correct the underlying vulnerability.
Remediation
Patch, then assume compromise.
Upgrade affected devices to iOS 9.3.5 or a later supported release containing the fix. Devices that cannot receive a fixed release should be retired from sensitive use.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
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-2016-4657 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 24, 2022.
- Is there a public exploit for CVE-2016-4657?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2016-4657, the earliest disclosed Aug 25, 2016.
- Is there a patch for CVE-2016-4657?
- Upgrade affected devices to iOS 9.3.5 or a later supported release containing the fix. Devices that cannot receive a fixed release should be retired from sensitive use.
- What products are affected by CVE-2016-4657?
- Apple Iphone Os.
- How severe is CVE-2016-4657?
- CVE-2016-4657 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 69.0% (100th percentile) as of Nov 28, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.