Skip to content
Memory corruption Advisory Advanced CVE-2026-5883

Use after free in Media (CVE-2026-5883)

A use-after-free occurs when a parent object is destroyed by garbage collection while a Web Media Player Implementation (WMPI) object is still being accessed. An attacker could potentially trigger a crash in the renderer process.

sherkito Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 58 days

Steps to reproduce the problem

  1. .\chrome.exe --js-flags="--expose-gc"

Problem Description

Use-After-Free occurs when a parent object is destroyed by GC while accessing a WMPI object.
GC can be called via the [0] function.
There are several places where this function can be called, but I chose to use the [1] function.
To call the [1] function directly without timing it, I called the [2] function.\

[0]https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/media/web_media_player_impl.cc;l=3334;drc=e63596721df61bbc199c38c4a102597ad81ad154 [1]https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/media/web_media_player_impl.cc;l=1860;drc=e63596721df61bbc199c38c4a102597ad81ad154 [2]https://source.chromium.org/chromium/chromium/src/+/main:content/renderer/media/renderer_web_media_player_delegate.cc;l=335;drc=e63596721df61bbc199c38c4a102597ad81ad154;bpv=0;bpt=1

This vulnerability didn't work properly in the ASAN build, so I triggered it using Chromium built using the args.gn below.
Also, since the crash didn't occur in the release version without spraying, I used poc_helper.diff for the crash test below, and attached the crash dump log instead of the ASAN log.\

is_component_build = false
is_debug = false
dcheck_always_on = false
is_asan = false
enable_nacl = false

I believe the vulnerability started with commit 50a635ebbf250f8f35ea060d564b102b804dcea7.

Summary

Use-After-Free in WMPI

Custom Questions

Type of crash:

renderer

Reporter credit:

sherkito

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A \

The original report as published on the Chromium issue tracker, by sherkito. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

The vulnerability could cause a crash in the renderer process, but it did not work properly in the ASAN build and required spraying in the release version.

What the attacker needed

Chrome with --expose-gc flag; Custom Chromium build without ASAN

How it was found

  1. Launch Chrome with the JavaScript flag to expose the garbage collection function.
  2. Call the garbage collection function through a specific media-related function to trigger the use-after-free.

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 use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed. Here, garbage collection (automatic memory cleanup) destroys a parent object while another part of the code still tries to use a related media player object, which can crash the browser tab.

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 sherkito

View all

3 more disclosed reports, best first.

More from Google Chrome

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.