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

Use after free in Aura (CVE-2026-87455)

A use-after-free existed in Chrome's Aura windowing layer: RenderWidgetHostViewAura left a raw FocusChangeObserver pointer registered on its window, and when a renderer exited unexpectedly the view was destroyed while the window survived. A later focus change during browser window close then reached the dangling pointer, crashing the browser process.

Microsoft Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 36 days

VULNERABILITY DETAILS

Please provide a brief explanation of the security issue.

VERSION

Chrome Version: [150.0.0.0] + [stable] Operating System: [Windows11, Platforms that use aura]

REPRODUCTION CASE

I don't have a repro scenario on the browser but can reliably repro with a unit test. I've put it on CL:8156380.

ROOT CAUSE

RenderWidgetHostViewAura registers itself as the FocusChangeObserver for its window_ via a raw pointer stored in window_'s property store (aura::client::SetFocusChangeObserver). This property is never explicitly cleared in RenderWidgetHostViewAura's destructor. [1]

In the normal teardown path (Destroy() -> delete window_), this is safe. The window is destroyed first and the raw pointer never outlives the view. [2]

However, when a renderer process exits unexpectedly (RendererExited -> RenderWidgetHostImpl::RendererExited -> aura::Window::~Window -> OnWindowDestroyed -> delete this), ~RenderWidgetHostViewAura() runs while window_ may still be alive (e.g. owned by its parent). The destructor does not clear the FocusChangeObserver property. A subsequent, unrelated event that triggers a focus change during browser window close eventually reaches the FocusController. The FocusController checks for observers, and finds the dangling pointer to the already deleted RenderWidgetHostViewAura. [3]

[1] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/render_widget_host_view_aura.cc;l=2947

[2] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/render_widget_host_view_aura.cc;l=1104

[3] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/render_widget_host_view_aura.cc;l=2889

FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION

Type of crash: Browser process UAF

Crash State: Crash stack:

ui::TouchSelectionController::HideAndDisallowShowingAutomatically+0xd 
content::RenderWidgetHostViewAura::OnWindowFocused+0x69 
wm::FocusController::SetFocusedWindow+0x267 
aura::Window::NotifyWindowVisibilityChangedAtReceiver+0xcc 
aura::Window::NotifyWindowVisibilityChangedDown+0x2e 
aura::Window::NotifyWindowVisibilityChangedDown+0x12a 
aura::Window::NotifyWindowVisibilityChanged+0x15 
aura::Window::SetVisibleInternal+0x260 
views::NativeViewHostAuraWithClipWindow::HideWidget+0x18 
views::View::VisibilityChangedImpl+0x29 
views::View::PropagateVisibilityNotifications+0xb4 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::View::PropagateVisibilityNotifications+0x105 
views::Widget::OnNativeWidgetVisibilityChanged+0x38 
views::DesktopWindowTreeHostWin::HandleVisibilityChanged+0x4f 
views::HWNDMessageHandler::OnWindowPosChanged+0x11d 
views::HWNDMessageHandler::_ProcessWindowMessage+0x3e1 
views::HWNDMessageHandler::OnWndProc+0x188 
gfx::WindowImpl::WndProc+0x7e 
base::win::WrappedWindowProc<&gfx::WindowImpl::WndProc>+0xf 
user32!UserCallWinProcCheckWow+0x356 
user32!DispatchClientMessage+0x9c 
user32!__fnINLPWINDOWPOS+0x33 
ntdll!KiUserCallbackDispatcherContinue 
win32u!ZwUserSetWindowPos+0x14 
views::HWNDMessageHandler::Hide+0x3a 
aura::WindowTreeHost::Hide+0x18 
views::DesktopNativeWidgetAura::Hide+0x29 
views::Widget::Hide+0x63 
BrowserView::OnWindowCloseRequested+0x13c 
views::Widget::CloseWithReason+0x4f 
// ...

We also have an ASAN GWP repro, this is the deallocation stack:

Deallocation stack trace size:                    25
Allocation address:                               <>
Allocation size:                                  57c
Error type:                                       Use After Free
Allocator Type:                                   PartitionAlloc
GWP-ASan Mode:                                    Lightweight UAF Detector (BRP sampling)
Deallocation Thread ID:                           13152

Deallocation Stack Trace:

[0-4] ...
4	content::RenderWidgetHostViewAura::~RenderWidgetHostViewAura
5	aura::Window::~Window
6	aura::Window::~Window
7	content::RenderWidgetHostImpl::RendererExited
8	content::RenderViewHostImpl::RenderProcessExited
9	content::RenderProcessHostImpl::ProcessDied
10	content::RenderProcessHostImpl::FastShutdown
11	content::RenderProcessHostImpl::FastShutdownIfPossible
12	TabStripModel::CloseWebContentses
13	TabStripModel::InternalCloseTabsImpl
14	TabStripModel::CloseTabs
15	TabStripModel::CloseAllTabs
16	Browser::OnWindowClosing
17	BrowserView::OnWindowCloseRequested
18	views::Widget::CloseWithReason
19	views::HWNDMessageHandler::_ProcessWindowMessage
20	views::HWNDMessageHandler::OnWndProc
21	gfx::WindowImpl::WndProc
22	base::win::WrappedWindowProc<&gfx::WindowImpl::WndProc>

Client ID (if relevant): N/A

CREDIT INFORMATION

Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited?

Reporter credit: Microsoft

The original report as published on the Chromium issue tracker, by Microsoft. 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

Root cause

Likely the destructor of RenderWidgetHostViewAura does not clear the FocusChangeObserver property it registered on window_, so the raw pointer dangles when the view is destroyed before its window.

Impact

The use-after-free crashes the browser process; the report does not claim any further exploitation such as code execution.

What the attacker needed

Renderer process exits unexpectedly; browser window is then closed; Windows or another Aura platform

How it was found

  1. Cause the renderer process to exit unexpectedly so the view is destroyed while its window may still be alive.
  2. Close the browser window, triggering a focus change that reaches the FocusController.
  3. The FocusController finds the dangling observer pointer and the browser process crashes.

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.

When a web page's background process crashes, Chrome tears down the object that draws that page. That object had told its window 'call me when focus changes', but never removed that request before being deleted. Later, when the browser window closes and focus changes, the window calls back into memory that no longer exists, which crashes the browser.

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 Microsoft

View all

1 more disclosed report, 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.