Skip to content
Info disclosure Advisory Advanced CVE-2024-40789

Apple WebKit WebCodecs VideoFrame Out-Of-Bounds Read Information Disclosure Vulnerability

The VideoFrame WebCodecs API in Apple WebKit fails to properly validate user-supplied data, leading to an out-of-bounds read. A remote attacker could disclose sensitive information by tricking a victim into visiting a malicious page or opening a malicious file.

Seunghyun Lee Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Apple WebKit. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Seunghyun Lee (@0x10n) of KAIST Hacking Lab, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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, the VideoFrame WebCodecs API does not adequately validate user-supplied data before using it to access memory, causing an out-of-bounds read.

What the attacker needed

Victim visits a malicious page; or opens a malicious file

The fix

Apple has issued an update to correct this vulnerability.

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 memory safety bug in a web browser component that handles video frames. When the browser processes specially crafted data, it reads beyond the intended memory boundary, which can leak sensitive information from the process. An attacker needs the victim to visit a malicious webpage or open a malicious file to trigger it.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Seunghyun Lee

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.