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

AppleVA: Processing a maliciously crafted video file may lead to unexpected app termination (CVE-2024-40841)

A memory corruption flaw in Apple's video processing component could cause an app to crash when handling a maliciously crafted video file. The issue was fixed by improving bounds checking.

Michael DePlante Follow

Originally disclosed on Apple

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

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

Available for: Mac Studio (2022 and later), iMac (2019 and later), Mac Pro (2019 and later), Mac mini (2018 and later), MacBook Air (2020 and later), MacBook Pro (2018 and later), and iMac Pro (2017 and later)

The original report as published on Apple's security release notes, by Michael DePlante (@izobashi) of 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 an out-of-bounds write due to insufficient bounds checking when processing video data.

What the attacker needed

A maliciously crafted video 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.

This is a bug in how Apple's software handles video files. A specially made video can cause the program to write data outside its intended memory area, which makes the app crash. The fix adds checks to prevent writing beyond the allowed memory.

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 Michael DePlante

View all

20 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.