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

ImageIO: Processing an image may lead to arbitrary code execution (CVE-2024-23286)

A buffer overflow in Apple's ImageIO framework could allow an attacker to execute arbitrary code when a malicious image is processed. The issue was fixed with improved memory handling.

Junsung Lee Follow with Mr.R

Originally disclosed on Apple

Impact: Processing an image may lead to arbitrary code execution

Description: A buffer overflow issue was addressed with improved memory handling.

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 Junsung Lee working with Trend Micro Zero Day Initiative. 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

Root cause

Likely a buffer overflow in the ImageIO framework due to insufficient bounds checking when processing image data.

What the attacker needed

Victim processes a malicious 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.

A buffer overflow is a bug where a program writes more data than it has space for, which can corrupt memory and let an attacker run their own code. Here, the bug is in the part of the system that handles images, so simply viewing a specially crafted image could be dangerous. Apple fixed it by improving how memory is handled.

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 by Junsung Lee

View all

5 more disclosed reports, best first.

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.