CVE-2021-30807 — Apple Multiple Products Memory Corruption Vulnerability

CVE-2021-30807

Apple iOS/iPadOS/macOS — IOMobileFrameBuffer OOB Write Enables Malicious App to Execute Code with Kernel Privileges; Emergency Zero-Day Patch

What is IOMobileFrameBuffer?

IOMobileFrameBuffer is a kernel extension (kext) in iOS, iPadOS, macOS, and watchOS responsible for managing the display frame buffer — the region of memory that stores the image currently displayed on screen. As a kernel-mode component, IOMobileFrameBuffer runs with the highest privilege level on Apple platforms. Memory corruption vulnerabilities in kernel extensions like IOMobileFrameBuffer are among the most severe iOS security bugs because they break out of the iOS app sandbox and achieve kernel code execution — bypassing all application-level security boundaries, SEP (Secure Enclave Processor), and allowing full device control. IOMobileFrameBuffer has been a recurring target for iOS exploit chains, including multiple vulnerabilities in 2021 alone.

Overview

CVE-2021-30807 is an out-of-bounds write vulnerability (CWE-787) in the IOMobileFrameBuffer kernel extension, affecting iOS, iPadOS, macOS Big Sur, and watchOS. A malicious application running on the device can exploit this memory corruption to execute arbitrary code with kernel privileges — breaking the iOS sandbox and achieving full device control. Apple released emergency out-of-band patches on July 26, 2021 (iOS 14.7.1, macOS 11.5.1, watchOS 7.6.1), acknowledging that the vulnerability "may have been actively exploited." CISA added it to KEV in November 2021.

The local attack vector (AV:L) reflects the requirement for a malicious application to be running on the device — typically delivered via a second-stage exploit chain following an initial renderer or WebKit vulnerability, or via a malicious App Store/sideloaded application.

Affected Versions

Product Vulnerable Fixed
iOS before 14.7.1 Yes iOS 14.7.1
iPadOS before 14.7.1 Yes iPadOS 14.7.1
macOS Big Sur before 11.5.1 Yes macOS 11.5.1
watchOS before 7.6.1 Yes watchOS 7.6.1

Technical Details

  • Root cause: Out-of-bounds write (CWE-787) in the IOMobileFrameBuffer kernel extension — a memory corruption bug in the kernel component responsible for display frame buffer management
  • Kernel code execution: Exploiting the OOB write achieves arbitrary code execution in kernel context — the highest privilege level on iOS/macOS, bypassing the iOS app sandbox, SELinux-equivalent protections, and all user-space security boundaries
  • Attack path: A malicious app (AV:L, PR:N) running in the iOS app sandbox triggers the IOMobileFrameBuffer vulnerability to break out to kernel context. This is typically the second stage in a complete device exploit chain: stage 1 exploits a WebKit/renderer bug for initial code execution in app context, stage 2 uses a kernel bug like CVE-2021-30807 for sandbox escape and persistence
  • No user interaction after app launch: Once a malicious app is running, the kernel exploit executes without further user interaction
  • Cross-platform: The vulnerability affects both mobile (iOS/iPadOS/watchOS) and desktop (macOS) due to shared IOMobileFrameBuffer code

Discovery

Reported by an anonymous researcher. Apple's security advisories for iOS 14.7.1 and macOS 11.5.1 stated the vulnerability "may have been actively exploited," confirming zero-day exploitation at the time of the patch.

Exploitation Context

IOMobileFrameBuffer zero-days are among the most valuable iPhone vulnerabilities — they provide the kernel access needed for complete device compromise. Commercial mobile spyware vendors (Pegasus, Predator, and others) and nation-state mobile exploitation teams routinely seek these kernel-level vulnerabilities to complete their iOS exploit chains. The emergency July 2021 out-of-band patch (separate from the regular monthly iOS update cycle) signals Apple's assessment that the risk of continued exploitation was high enough to warrant immediate action. CISA's November 2021 KEV addition (retroactively added well after the July patch) reflects the continued relevance of unpatched iOS devices and the confirmed exploitation record.

Remediation

  1. Update iOS/iPadOS to 14.7.1 or later (Settings → General → Software Update)
  2. Update macOS to Big Sur 11.5.1 or later, or upgrade to a later macOS release
  3. Update watchOS to 7.6.1 or later (Watch app → General → Software Update)
  4. Enable automatic software updates on all Apple devices: Settings → General → Software Update → Automatic Updates
  5. For enterprise iOS fleet management: enforce minimum OS version via MDM (Mobile Device Management) policy and quarantine non-compliant devices

Key Details

PropertyValue
CVE ID CVE-2021-30807
Vendor / Product Apple — Multiple Products
NVD Published2021-10-19
NVD Last Modified2025-10-23
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-787 find similar ↗
CISA KEV Added2021-11-03
CISA KEV Deadline2021-11-17
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2021-11-17. Apply updates per vendor instructions.

Timeline

DateEvent
2021-07-26Apple releases iOS 14.7.1 and iPadOS 14.7.1 as emergency out-of-band updates patching CVE-2021-30807 — confirmed active exploitation
2021-07-26Apple releases macOS Big Sur 11.5.1 and watchOS 7.6.1 addressing CVE-2021-30807
2021-10-19CVE formally published
2021-11-03Added to CISA Known Exploited Vulnerabilities catalog
2021-11-17CISA BOD 22-01 remediation deadline