← Vulnerability feed

Vulnerability record · CVE-2016-4657 · published 25 August 2016

CVE-2016-4657: Apple iOS WebKit out-of-bounds write enables remote code execution

Apple · Iphone Os

WebKit in Apple iOS before 9.3.5 contains an out-of-bounds write (CWE-787) that lets a crafted web site corrupt memory and execute arbitrary code or crash the browser. Because the flaw sits in the rendering engine reached by ordinary web browsing, it is a potent remote attack vector against unpatched iPhones and iPads.

8.8 CVSS 3.1 High CISA KEV since 24 May 2022 EPSS 67% · top 0.7% CWE-787 · Out-of-bounds write
8.8CVSS 3.1 base score, v2 6.8
67%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
15References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

WebKit in Apple iOS before 9.3.5 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted web site.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw is remotely reachable via browsing, has public exploit code, is in CISA KEV, and carries a very high EPSS score, though exploitation requires user interaction and the affected iOS versions are now old.

What it is

WebKit in Apple iOS before 9.3.5 contains an out-of-bounds write (CWE-787) that lets a crafted web site corrupt memory and execute arbitrary code or crash the browser. Because the flaw sits in the rendering engine reached by ordinary web browsing, it is a potent remote attack vector against unpatched iPhones and iPads.

Impact

An attacker who gets the victim to load a malicious page can run arbitrary code in the WebKit process, potentially leading to full device compromise, or cause a denial of service.

Attack surface

Reached over the network when the user visits a crafted web site; no authentication is required but user interaction (loading the page) is needed, per the CVSS vector AV:N/AC:L/PR:N/UI:R.

Exploitation

CVE-2016-4657 is listed in CISA KEV (added 2022-05-24) and has a high EPSS 30-day probability of roughly 0.67 (99th percentile); public exploit references exist, including an Exploit-DB entry and a video, and the flaw was linked to the Pegasus/Trident campaign.

What to do

  • Update iOS to 9.3.5 or later per Apple's advisory (HT207107); this is the only complete fix.
  • Inventory and prioritize any remaining iOS devices below 9.3.5, especially those in high-risk roles.
  • Restrict or monitor web browsing on unpatched devices and block known malicious domains where feasible.
  • Treat unpatched devices as compromised if they may have been exposed to targeted web content and consider device reset.
  • Track KEV remediation deadlines and verify patching through MDM or asset reporting.

Detection

  • Monitor for Safari/WebKit crashes or unexpected process terminations on iOS devices, which can indicate memory corruption attempts.
  • Hunt for devices reporting iOS versions below 9.3.5 in MDM or asset inventory.
  • Review network or proxy logs for connections to known exploit or Pegasus-related infrastructure.
  • Watch for anomalous outbound traffic or process behavior from mobile devices that visited suspicious sites.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2016-4657 to the Known Exploited Vulnerabilities catalog on 24 May 2022 as "Apple iOS Webkit Memory Corruption Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 14 June 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2016-4657 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-43300Apple iOS, iPadOS and macOS out-of-bounds write via malicious imageAn out-of-bounds write in Apple iOS, iPadOS and macOS is triggered when processing a malicious image file, causing memory corruption. Apple states th…KEVEPSS 32%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2025-24085Apple iOS, iPadOS, macOS, tvOS, visionOS, watchOS Use-After-Free Privilege EscalationA use-after-free flaw in Apple's operating systems was fixed through improved memory management in iOS 18.3, iPadOS 18.3 and 17.7.6, macOS Sequoia 15…KEVEPSS 18%analysed9.8CVE-2025-31200Apple OS media parsing memory corruption allows code executionA memory corruption flaw in Apple's audio stream processing was fixed with improved bounds checking across iOS, iPadOS, macOS, tvOS, visionOS and wat…KEVEPSS 19%analysed9.8CVE-2025-31201Apple OS Pointer Authentication bypass via arbitrary read/writeApple removed vulnerable code that allowed an attacker holding arbitrary read and write capability to bypass Pointer Authentication across iOS, iPadO…KEVEPSS 14%analysed9.8CVE-2022-22587Apple iOS, iPadOS and macOS kernel memory corruption via out-of-bounds writeAn out-of-bounds write (CWE-787) in Apple iOS, iPadOS and macOS is caused by insufficient input validation and can corrupt memory. Apple states it is…KEVEPSS 12%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed

Source: NIST National Vulnerability Database (record CVE-2016-4657), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.