Use after free in WebShare (CVE-2026-11010)
Mojo handles passed to a background thread in ShareServiceImpl can be closed by the renderer, leading to use-after-free or double-free. An attacker could crash the browser process.
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Steps to reproduce the problem
gn args:
android_static_analysis = "off"
debuggable_apks = true
enable_android_secondary_abi = true
dcheck_always_on=false
is_debug=false
ffmpeg_branding = "Chrome"
is_component_build = false
proprietary_codecs = true
symbol_level = 2
target_cpu = "arm64"
target_os = "android"
use_reclient = false
use_siso = true
use_full_mte=true
apply patch.diff enable mte on device
python3 -m http.server
adb reverse tcp:8000 tcp:8000
open http://localhost:8000/poc.html
observe crash on adb logcat
The uaf/double-free triggers around 50% of the time on my device tested on commit 1fa21d15780b5f89014de6a7a27ada0b49fb4693
Problem Description
With ipcz mojo handle ids are are normal pointers, meaning that any code that incorrectly closes mojo handles now triggers a use-after-free / double free.
In the java code for ShareServiceImpl some handles are handed to a background thread for processing. These handles can be closed by the renderer so that by the time the background thread processes them either the backing objects are used after being freed or freed again.
Summary
Mojo handle double-close / use after close leads to uaf/double free
Custom Questions
Type of crash:
browser crash
Additional Data
Category: Security
Chrome Channel: Not sure
Regression: N/A \
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
Root cause
Likely, Mojo handles were passed to a background thread without ensuring they could not be closed by the renderer before the thread used them.
Impact
The browser process could crash, and the report notes the issue triggers around 50% of the time on the tester's device.
What the attacker needed
Victim opens a crafted page; Android device with MTE enabled; patched Chromium build
How it was found
- Build Chromium with the given gn args and apply the patch.
- Enable MTE on the device.
- Start a local HTTP server and set up adb reverse port forwarding.
- Open the proof-of-concept page in the browser.
- Observe the crash in adb logcat.
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 happens when a program keeps using memory after it has been freed, which can crash it or let an attacker control it. Here, a background thread in the browser's share feature was given handles (references to objects) that the web page could close first, so the thread later used or freed them again. The result is a browser crash.
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.