Skip to content
Memory corruption Disclosed report Advanced CVE-2025-9179

Type confusion in ChromiumCDMChild::ExtractShmem (sandbox escape from content to GMP process)

A type confusion flaw in ChromiumCDMChild::ExtractShmem allows a compromised renderer to escape the sandbox and execute code in the GMP process via RCP calls. The issue affects Firefox 141 on Linux and is cross-platform.

Oskar Follow

Originally disclosed on Mozilla

  • Fixed in 12 days
  • Paid in 18 days
  • Disclosed after 12 days
Text
Created attachment 9503136
gmp_vuln_setup.tar.gz

I found a sandbox escape from a renderer to the gmp process via rcp calls which could lead to code execution.
relevant for the main branch, tested specifically on firefox-141 - linux, however, the issue is cross-platform.
attached is a tar.gz which contains the documentation for the vulnerability (md file), the asan report, and files to reproduce.

The original report as published on Mozilla's Bugzilla, by Oskar. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

Impact

A compromised renderer could escape the sandbox and execute code in the GMP process, though the text does not specify whether other defences limit this.

What the attacker needed

Compromised renderer; Firefox 141 on Linux (tested)

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 escape lets an attacker who already controls one part of the browser (the renderer) break into a more privileged part (the GMP process) that handles media plugins. The bug is a type confusion, meaning the program treats one kind of data as another, which can lead to running attacker code.

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 by Oskar

View all

19 more disclosed reports, best first.

More from Mozilla

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.