← Lab /Security & privacy

0-click exploit achieves arbitrary code execution in Pixel 9 media decoder

They can gain arbitrary code execution in the mediacodec context of a Pixel 9 using a 0-click exploit chain.

Security & privacy Google Project Zero 14 Jan 2026 Attack Real-world evidence

Published as “A 0-click exploit chain for the Pixel 9 Part 1: Decoding Dolby”

Why it matters

Demonstrates that media-decoder bugs can be weaponized for fully remote 0-click attacks on modern Android phones.

Summary

The team identified an integer overflow in the Dolby Unified Decoder’s evo_malloc, creating a controllable buffer-overrun primitive. By chaining this with a leak primitive they crafted EMDF payloads that overwrite heap metadata and function pointers in the decoder’s static buffer. On a Pixel 9 they demonstrated a 0-click exploit that gains code execution in the mediacodec process, bypassing ASLR, SELinux and scudo mitigations, though the exploit succeeds only about 1 in 255 runs.

What they found 2

  1. Integer overflow in evo_malloc leads to a controllable buffer overrun primitive.

    “If total allocation size on a 64-bit platform is between 0xFFFFFFFFFFFFFFF9 and 0xFFFFFFFFFFFFFFFF, the value of total_size will wrap, leading to a small allocation, meanwhile, the loop that writes to the buffer uses the original payload_length as its bounds.”

  2. Overwriting a function pointer at offset 0x8a410 yields code execution.

    “we can write and EMDF container with roughly 2070 EMDF payloads into the dynamic buffer, and when its processed ~0x28000 bytes of the evo heap gets allocated, then the final payload overwrites the function pointer at 0x8a410.”

Caveats 8

  • The exploit succeeds only roughly 1 in 255 times due to ASLR nibble guessing.
  • Binder secondary allocations can cause header checks to fail, leading to crashes in less than 10% of runs.
  • The attack is limited to Pixel 9 devices with the specific UDC version; other devices may not be vulnerable.
  • Multiple audio attachments must be processed sequentially, which may not be feasible in all attack scenarios.
  • Reliability is limited to ~0.4% (1/255) because of low-bit ASLR guessing.
  • Requires the presence of the Dolby Unified Decoder binary as shipped on Pixel 9.
  • Relies on specific scudo allocator behavior and secondary-allocation header manipulation.
  • The exploit chain is split across three blog posts; only the first part (mediacodec code execution) is described here.

What’s new here 4

  • Discovered an integer overflow in the Dolby Unified Decoder (CVE-2025-54957) that enables arbitrary memory writes.
  • Developed a 0-click exploit chain that gains code execution in the mediacodec context of a Pixel 9.
  • Demonstrated techniques to bypass Android mitigations such as ASLR, SELinux, seccomp and scudo allocator checks.
  • Provided detailed primitives (buffer overrun, leak, WRITE DYNAMIC) for media-decoder exploitation.

In the news