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

libxpc: An app may be able to execute arbitrary code out of its sandbox or with certain elevated privileges (CVE-2024-0258)

A memory handling flaw in libxpc could let an app execute arbitrary code outside its sandbox or with elevated privileges. The issue was fixed by improving memory handling.

ali yabuz Follow

Originally disclosed on Apple

Impact: An app may be able to execute arbitrary code out of its sandbox or with certain elevated privileges

Description: The 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 ali yabuz. 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 memory corruption bug in libxpc, such as a buffer overflow or use-after-free, that was addressed with improved memory handling.

What the attacker needed

Malicious app installed on device

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 sandbox is a security boundary that limits what an app can do. This bug in a system library could let a malicious app break out of that boundary and run code with more power than it should have. Apple fixed it by handling memory more safely.

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