Has it been Pwned
Side channelLimited impact

PACMAN: speculation brute-forces Apple M1 pointer authentication codes

Ravichandran, Na, Lang and Yan (MIT CSAIL, ISCA 2022) showed that on Apple M1, an attacker can test guesses of a pointer's authentication code under speculative execution, where a wrong guess does not crash the program, and observe the outcome via a microarchitectural side channel. This turns PAC into a brute-forceable oracle that, combined with a memory-corruption bug, enables kernel control-flow hijacking.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Pointer Authentication uses a short cryptographic MAC (typically 16 bits or so, keyed per-process) embedded in unused pointer bits; its security depends on wrong guesses crashing. PACMAN does not break the MAC algorithm - it removes the crash penalty. It is a mitigation-bypass rather than a key-recovery attack, so its relevance to cryptography is as an example of a cryptographic primitive defeated by microarchitecture.

Apple stated the attack alone does not bypass device security protections; no CVE was assigned.

Sources

  1. announcementPACMAN project pageMIT CSAIL, pacmanattack.com
  2. paperPACMAN: Attacking ARM Pointer Authentication with Speculative Execution (ISCA 2022)ACM, doi.org
  3. wikiPacman (security vulnerability)Wikipedia, en.wikipedia.org