Skip to main content
Vulnerability Database/CVE-2024-54502

CVE-2024-54502: Apple Safari DoS Vulnerability

CVE-2024-54502 is a denial of service vulnerability in Apple Safari that causes unexpected process crashes when processing malicious web content. This article covers technical details, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-54502 Overview

CVE-2024-54502 is a memory safety vulnerability affecting Apple's WebKit browser engine across Safari, iOS, iPadOS, macOS, tvOS, visionOS, and watchOS. Processing maliciously crafted web content triggers an unexpected process crash, resulting in a denial-of-service condition on the affected device. Apple addressed the issue with improved checks in Safari 18.2 and corresponding operating system updates. The vulnerability is categorized under [CWE-125] Out-of-Bounds Read and requires user interaction, typically visiting an attacker-controlled webpage.

Critical Impact

An attacker who lures a user to malicious web content can force WebKit to crash, disrupting the browser process and any embedded web view across Apple's operating system ecosystem.

Affected Products

  • Apple Safari versions prior to 18.2
  • Apple iOS and iPadOS prior to 18.2, iPadOS prior to 17.7.6
  • Apple macOS Sequoia prior to 15.2, tvOS prior to 18.2, visionOS prior to 2.2, watchOS prior to 11.2

Discovery Timeline

  • 2024-12-12 - CVE-2024-54502 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-54502

Vulnerability Analysis

CVE-2024-54502 stems from insufficient bounds checking within WebKit, the browser engine that powers Safari and the web view components used across Apple platforms. When WebKit parses or renders maliciously crafted web content, the engine reads memory outside the intended buffer boundaries. This out-of-bounds read triggers an unexpected termination of the content process.

The practical impact is availability loss: the browser tab or embedded web view crashes, interrupting the user session. Because WebKit is shared across Safari, Mail, Messages, and many third-party applications that render web content, the crash surface extends beyond the browser itself. Apple resolved the issue by adding improved checks to validate memory access, per the vendor advisories linked in the Apple security releases.

Root Cause

The root cause is an out-of-bounds read [CWE-125] within WebKit's content-processing logic. Missing or incomplete validation of input-derived offsets allowed the engine to dereference memory beyond an allocated buffer. Apple's fix adds explicit bounds checks that reject the malformed inputs before the invalid read occurs.

Attack Vector

Exploitation requires an attacker to deliver crafted web content to a target and convince the user to load it. Delivery vectors include phishing links, malicious advertisements, compromised websites, and embedded content in messaging or email applications that use WebKit for rendering. No authentication is required, but user interaction is needed to open the malicious content. Successful exploitation crashes the WebKit content process; the current data does not report confirmed code execution.

No verified proof-of-concept code is publicly available. For technical context, see the Full Disclosure list archives and the referenced Apple security advisories.

Detection Methods for CVE-2024-54502

Indicators of Compromise

  • Repeated Safari or WebKit content process crashes recorded in device crash logs, particularly after visiting untrusted URLs
  • Diagnostic reports referencing com.apple.WebKit.WebContent or Safari termination signals such as EXC_BAD_ACCESS
  • Unusual browser tab or web view terminations correlated with specific external domains in web proxy logs

Detection Strategies

  • Collect and centralize macOS and iOS crash reports, then alert on abnormal frequencies of WebKit content process terminations
  • Correlate URL browsing telemetry from web proxies or DNS logs with crash events on managed endpoints
  • Track installed Safari and OS build versions across the fleet to identify hosts still running vulnerable versions

Monitoring Recommendations

  • Monitor endpoint compliance dashboards for devices running Safari builds earlier than 18.2 or OS builds earlier than the fixed versions
  • Ingest MDM and device management inventory data into a SIEM to flag out-of-date Apple devices
  • Review web gateway logs for repeated user visits to suspicious domains preceding local browser crash events

How to Mitigate CVE-2024-54502

Immediate Actions Required

  • Update Safari to version 18.2 and upgrade Apple operating systems to iOS 18.2, iPadOS 18.2 or 17.7.6, macOS Sequoia 15.2, tvOS 18.2, visionOS 2.2, and watchOS 11.2
  • Enforce automatic software updates through Mobile Device Management (MDM) policies across managed Apple devices
  • Educate users about the risks of opening untrusted links, especially from unsolicited email or messaging content

Patch Information

Apple released fixes across its operating system family in December 2024. Refer to the vendor advisories for detailed release notes: Apple Support Article 121837, 121839, 121843, 121844, 121845, and 121846. Debian downstream packages received updates via the Debian LTS advisory.

Workarounds

  • Restrict browsing to trusted sites and enable content filtering at the network gateway until patches are deployed
  • Disable JavaScript in Safari settings for high-risk user groups where feasible, understanding this breaks legitimate site functionality
  • Use MDM configuration profiles to block known malicious domains and enforce Safe Browsing protections

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.