The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-30799

CVE-2021-30799: Apple iPhone OS RCE Vulnerability

CVE-2021-30799 is a remote code execution vulnerability in Apple iPhone OS caused by memory corruption issues. Attackers can exploit malicious web content to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2021-30799 Overview

CVE-2021-30799 is a memory corruption vulnerability affecting Apple's iOS and macOS operating systems. The vulnerability exists within Apple's web content processing components, where multiple memory corruption issues allow attackers to execute arbitrary code on affected systems. When a user visits a maliciously crafted webpage, the vulnerability can be exploited to achieve remote code execution with the privileges of the current user.

Critical Impact

Processing maliciously crafted web content may lead to arbitrary code execution, potentially allowing attackers to gain full control of affected Apple devices including iPhones and Macs.

Affected Products

  • Apple iOS versions prior to 14.7
  • Apple macOS Big Sur versions prior to 11.5
  • Apple macOS Catalina (requires Security Update 2021-004)
  • Apple macOS Mojave (requires Security Update 2021-005)
  • Apple Mac OS X versions 10.14.6 and 10.15.7 with various security update states

Discovery Timeline

  • September 8, 2021 - CVE-2021-30799 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-30799

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory corruption issue that occurs when software writes data past the boundaries of allocated memory. In the context of Apple's web content processing engine, the flaw allows malicious web content to corrupt memory in ways that can be leveraged for code execution.

The network-based attack vector requires user interaction, specifically visiting a malicious webpage or loading malicious web content within an application. Once triggered, the memory corruption can overwrite critical data structures, function pointers, or return addresses, enabling an attacker to redirect program execution to attacker-controlled code.

The vulnerability affects both mobile (iOS) and desktop (macOS) platforms, significantly expanding the attack surface across Apple's device ecosystem.

Root Cause

The root cause stems from improper memory handling within Apple's web content processing components. Specifically, the software fails to adequately validate or constrain memory operations when processing certain types of web content, leading to out-of-bounds write conditions.

When the web rendering engine processes specially crafted content, it can write data beyond the intended memory buffer boundaries. This out-of-bounds write corrupts adjacent memory regions, which an attacker can exploit to gain control over program execution flow.

Attack Vector

The attack is network-based and requires user interaction. An attacker must convince a victim to visit a malicious website or interact with web content containing the exploit payload. The attack scenario typically involves:

  1. Attacker hosts malicious web content on a controlled server or compromises a legitimate website
  2. Victim navigates to the malicious content using Safari or another application that renders web content
  3. The malicious content triggers the memory corruption vulnerability
  4. The attacker achieves arbitrary code execution in the context of the vulnerable process

The exploitation does not require authentication or special privileges, making it accessible to remote attackers who can lure victims to malicious web content.

Detection Methods for CVE-2021-30799

Indicators of Compromise

  • Unusual WebKit or Safari process crashes followed by unexpected system behavior
  • Network connections to suspicious domains immediately after browsing activity
  • Unexpected child processes spawned from web browser or web content processes
  • Memory allocation anomalies or crash reports indicating out-of-bounds memory access

Detection Strategies

  • Monitor for WebKit-related crash reports that indicate memory corruption patterns
  • Implement network-based detection for known malicious web content patterns
  • Use endpoint detection solutions to monitor browser process behavior and child process creation
  • Review system logs for unexpected code execution or privilege escalation following web browsing

Monitoring Recommendations

  • Enable enhanced logging for Safari and other WebKit-based applications
  • Configure SentinelOne agents to monitor for suspicious process creation chains from browser processes
  • Implement URL filtering to block access to known malicious domains serving exploit kits
  • Monitor for post-exploitation behaviors such as unauthorized data access or persistence mechanisms

How to Mitigate CVE-2021-30799

Immediate Actions Required

  • Update iOS devices to version 14.7 or later immediately
  • Update macOS Big Sur systems to version 11.5 or later
  • Apply Security Update 2021-004 for macOS Catalina systems
  • Apply Security Update 2021-005 for macOS Mojave systems
  • Prioritize updates for devices used to access untrusted web content

Patch Information

Apple has released patches addressing this vulnerability across multiple product lines. The fixes implement improved memory handling to prevent the out-of-bounds write conditions:

  • Apple Support Document HT212600 - iOS 14.7 security content
  • Apple Support Document HT212601 - macOS Big Sur 11.5 security content
  • Apple Support Document HT212602 - Security Update 2021-004 Catalina
  • Apple Support Document HT212603 - Security Update 2021-005 Mojave

Workarounds

  • Restrict web browsing to trusted sites only until patches can be applied
  • Consider using alternative non-WebKit browsers as a temporary mitigation
  • Implement web content filtering at the network level to block potentially malicious content
  • Enable content blockers and disable JavaScript execution on untrusted websites where feasible
bash
# Check current iOS version
# Settings > General > About > Software Version

# Check current macOS version
sw_vers -productVersion

# Verify macOS security updates applied
softwareupdate --history

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApple Iphone Os

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability1.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • Apple Support Document HT212600

  • Apple Support Document HT212601

  • Apple Support Document HT212602

  • Apple Support Document HT212603
  • Related CVEs
  • CVE-2021-30761: Apple iPhone OS RCE Vulnerability

  • CVE-2021-30666: Apple iPhone OS RCE Vulnerability

  • CVE-2024-40785: Apple iPhone OS XSS Vulnerability

  • CVE-2021-30762: Apple iPhone OS Use After Free Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English