Skip to content
Memory corruption Write-up Advanced

First public macOS kernel memory corruption exploit on Apple M5

Researchers found two vulnerabilities in macOS 26.4.1 that together allow an unprivileged local user to escalate to root on Apple M5 hardware with Memory Integrity Enforcement enabled. The chain uses only normal system calls and is described as the first public macOS kernel memory corruption exploit surviving MIE.

blog.calif.io

Published on blog.calif.io

Early this week, we had a meeting at Apple Park in Cupertino. While there, we also shared with Apple our latest vulnerability research report: the first public macOS kernel memory corruption exploit on M5 silicon, surviving MIE.

Calif, on blog.calif.io

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely two memory-safety bugs in the macOS kernel that, chained together, allow a local user to bypass Memory Integrity Enforcement and gain root.

Impact

A local unprivileged user could escalate to a root shell on M5 Macs despite kernel MIE being enabled; the text does not claim remote exploitation.

What the attacker needed

Local unprivileged account on the Mac; Apple M5 hardware with kernel MIE enabled; macOS 26.4.1 (25E253)

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 write-up has not been written yet. The Original tab links to the source.

Memory corruption is a bug where a program writes data outside the memory area it was meant to use, which an attacker can twist into running their own code. Apple's new MIE feature tags memory so these out-of-bounds writes are caught, making such attacks much harder. Here, researchers found two bugs that together let someone who already has a normal account on the Mac become the all-powerful root user, even with that protection switched on.

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.

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.