Released March 21, 2024

CVE-2024-1580

Overview

Impact:

Description: Processing an image may lead to arbitrary code execution

Researchers: Nick Galloway of Google Project Zero

Background

Advisory: Apple Security Advisory

AttributeValue
CVECVE-2024-1580
BugzillaNone
ComponentWebKit
Bug ClassOOB
Severitycritical
AdvisoryApple Advisory

Root Cause Analysis

An out-of-bounds write issue was addressed with improved input validation.

Audit Directions

When auditing for this vulnerability, focus on: (1) similar patterns in the patched functions and nearby code, (2) missing or insufficient bounds checks on user-controlled input, (3) unvalidated type conversions and pointer arithmetic, (4) edge cases not exercised by tests, and (5) copy-paste variants of the vulnerable logic elsewhere.