First public macOS kernel memory corruption exploit on M5

Researchers used Mythos Preview to bypass Apple's MIE hardware security on M5 chips in five days, creating a root shell exploit for macOS 26.4.1.

cpaua3 min370

Engineers from Calif, utilizing Mythos Preview, have developed the first public macOS kernel memory corruption exploit targeting Apple M5 silicon. The team successfully bypassed Memory Integrity Enforcement (MIE), a hardware-assisted safety system designed to stop this specific class of vulnerabilities, in just five days. This result demonstrates that AI-assisted research can rapidly overcome security mitigations that previously required massive corporate resources to implement.

Bypassing Memory Integrity Enforcement on M5

Apple developed MIE over five years to mitigate memory corruption, which remains the most common vulnerability class in iOS and macOS. The system is built around ARM's Memory Tagging Extension (MTE) and was introduced as a primary security feature for the M5 and A19 chips. According to Apple's own research, MIE was intended to disrupt every public exploit chain against modern iOS, including the Darksword and Coruna kits.

The Calif team discovered that while MIE functioned as intended, it could still be evaded with the right vulnerabilities. The exploit targets macOS 26.4.1 (25E253) and functions as a data-only kernel local privilege escalation chain. It begins with an unprivileged local user, employs standard system calls, and results in a root shell on bare-metal M5 hardware with kernel MIE enabled.

The role of Mythos Preview in exploit development

The development process began on April 25th when Bruce Dang found the bugs, and by May 1st, the team had a working exploit. Mythos Preview assisted the researchers by identifying the bugs and aiding in the overall development of the exploit chain. The model's ability to generalize across known bug classes allowed it to find the vulnerabilities quickly, while human expertise was used to navigate the new MIE mitigation.

This pairing of AI and human experts allowed a small team to achieve results that typically require entire organizations. The efficiency of this approach is highlighted by the fact that the researchers spent only $35K on the Mythos API to find a vulnerability class that usually commands between $5 million and $10 million on the grey market. Such capabilities are now integrated into broader AI ecosystems, including Claude Fable 5 and other advanced models.

Reporting the vulnerability to Apple

The researchers delivered a 55-page technical report in person to Apple Park in Cupertino to ensure the findings were not lost in standard submission queues. The report details the attack path and the specific vulnerabilities used to survive MIE. The team has stated they will share the full technical details publicly only after Apple ships a fix for the vulnerabilities.

The incident underscores a shift in the security landscape where AI systems are discovering vulnerabilities faster than hardware mitigations can be deployed. This trend is part of a larger movement toward AI-driven development and security, similar to how Claude Code Auto Mode streamlines software engineering tasks. The researchers suggest that the industry is entering a period of AI-driven vulnerability discovery that will test the limits of current mitigation technology.

Sources

First public macOS kernel memory corruption exploit on Apple M5

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.