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

ImageIO: Processing a maliciously crafted file may lead to unexpected app termination (CVE-2024-27880)

An out-of-bounds read flaw existed in ImageIO when processing a maliciously crafted file. An attacker could cause unexpected app termination by supplying such a file.

Junsung Lee Follow

Originally disclosed on Apple

Impact: Processing a maliciously crafted file may lead to unexpected app termination

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

Available for: iPhone XS and later, iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Junsung Lee. 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 insufficient input validation allowed an out-of-bounds read when parsing a crafted file.

What the attacker needed

Victim opens a maliciously crafted file

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.

ImageIO is a system component that reads image files. A bug meant that a specially made file could make the app read memory it should not, which crashes the app. The attacker only needs to get the victim to open the file.

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

1 more disclosed report, 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.