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

Apple macOS VideoToolbox Out-Of-Bounds Read Information Disclosure Vulnerability

The VTDecoderXPCService process on macOS mishandles MOV files because it does not properly validate user-supplied data, leading to a read past the end of an allocated buffer. A remote attacker could use this to disclose sensitive information, and could combine it with other flaws to run code as the current user.

Pwn2car Follow

Originally disclosed on Zero Day Initiative

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

Pwn2car, 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 MOV parsing code in VTDecoderXPCService trusts size or offset fields in the file without checking them against the actual buffer length.

Impact

A remote attacker could disclose sensitive information, and may chain this with other vulnerabilities to execute arbitrary code as the current user; the text does not say whether any mitigation limited it.

What the attacker needed

Victim opens a malicious MOV file; victim visits a malicious page

The fix

Apple issued an update to correct the 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.

When a program reads a file, it should only look at the parts of memory it actually set aside for that data. Here the video decoding helper reads past the end of its buffer, so it can pick up leftover memory contents that were never meant to be seen. An attacker who gets a victim to open a crafted movie file may be able to leak that information.

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 Pwn2car

View all

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

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.