Skip to content
Memory corruption Advisory Advanced CVE-2024-1580

CoreMedia: Processing an image may lead to arbitrary code execution (CVE-2024-1580)

An out-of-bounds write in CoreMedia image processing could allow arbitrary code execution when a crafted image is processed. The issue was fixed by improving input validation.

Nick Galloway Follow

Originally disclosed on Apple

Impact: Processing an image may lead to arbitrary code execution

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

Available for: iPhone XS and later, iPad Pro 12.9-inch 2nd generation and later, iPad Pro 10.5-inch, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 6th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Nick Galloway of Google Project Zero. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Processing a malicious image could lead to arbitrary code execution on affected iOS and iPadOS devices.

What the attacker needed

Processing a crafted image

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

An out-of-bounds write means a program writes data past the end of a memory buffer, which can corrupt other data or let an attacker run their own code. Here, simply processing a malicious image could trigger this memory corruption, potentially allowing code execution on the device.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.