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

Use after free in Read Anything (CVE-2026-11692)

A use-after-free exists in the browser process because the Reading Mode side panel handler keeps a closure holding a raw pointer to a tab's AudioStreamMonitor and never clears it when that tab is destroyed. A compromised sandboxed renderer could trigger the sequence so that the closure runs after the monitor is freed, causing a use-after-free in the privileged browser process.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 12 days

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential Use-After-Free (UAF) vulnerability exists in the browser process due to a lifecycle mismatch in ReadAnythingUntrustedPageHandler. When the Reading Mode side panel registers a tab as audible, it receives a closure wrapping a raw pointer to AudioStreamMonitor which can be triggered after the tab's destruction.

Affected files:

  • chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc

Estimated timestamp from git blame: 2025-05-30

Description

A potential Use-After-Free (UAF) vulnerability exists in the highly privileged Browser process of Chromium. The issue occurs within the lifecycle management of ReadAnythingUntrustedPageHandler when updating the audibility status of observed tabs.

When a compromised sandboxed renderer sends the Mojo message OnReadAloudAudioStateChange(true) to the browser, the handler invokes WebContentsImpl::MarkAudible(), which registers a client on the tab's AudioStreamMonitor and returns a base::ScopedClosureRunner stored in audible_closure_. This closure holds a raw/un-managed pointer to the AudioStreamMonitor (which is an inline member of the observed WebContentsImpl).

If the observed tab is closed and destroyed, the AudioStreamMonitor is freed. However, ReadAnythingUntrustedPageHandler does not clear or run audible_closure_ during WebContentsDestroyed(). When the Reading Mode side panel is subsequently closed, the page handler's destructor runs, but since the observed WebContents is already gone, the internal checks prevent a clean reset of the closure, causing the ScopedClosureRunner destructor to delete the audible client registration after the AudioStreamMonitor has already been freed. This results in a Use-After-Free when attempting to access the AudioStreamMonitor instance.

Potential Attack Steps

(Note: These are potential steps based on static analysis, as our tooling does not yet have the ability to run proof-of-concept code.)

  1. A user opens Reading Mode, launching the side-panel handler (ReadAnythingUntrustedPageHandler) in the Browser process, bound to the sandboxed chrome-untrusted://read-anything-side-panel.top-chrome/ renderer.
  2. The attacker compromises this sandboxed renderer (e.g., via a renderer exploit) and sends a Mojo IPC message calling OnReadAloudAudioStateChange(true).
  3. The browser process executes the call, storing a base::ScopedClosureRunner in audible_closure_ which contains a raw_ptr<AudioStreamMonitor> pointing to the active tab's AudioStreamMonitor.
  4. The user closes the active tab, causing the WebContentsImpl and its inline AudioStreamMonitor to be destroyed. ReadAnythingUntrustedPageHandler::WebContentsDestroyed() is called, but it fails to clear audible_closure_.
  5. The side panel is closed, triggering the destruction of ReadAnythingUntrustedPageHandler.
  6. The destructor calls OnReadAloudAudioStateChange(false), but because the tab is already destroyed, main_observer_->web_contents() returns nullptr. The guard if (contents) evaluates to false, and audible_closure_.RunAndReset() is skipped.
  7. audible_closure_ is destroyed during member teardown, executing the wrapped closure. This deletes the client registration, which attempts to access the already-freed AudioStreamMonitor via the dangling pointer in ~AudibleClientRegistration(), resulting in a Use-After-Free.

Code References

  • chrome/browser/ui/webui/side_panel/read_anything/read_anything_untrusted_page_handler.cc:

    • OnReadAloudAudioStateChange (lines 952-966)
    • ~ReadAnythingUntrustedPageHandler (lines 470-480)
    • WebContentsDestroyed (lines 554-556)
  • content/browser/media/audio_stream_monitor.cc:

    • ~AudibleClientRegistration (lines 38-40)

Suggested Remediation

To prevent the base::ScopedClosureRunner from holding a dangling pointer or running after the associated WebContents has been destroyed, explicitly clear or reset audible_closure_ when the observed WebContents is destroyed. This can be done by modifying ReadAnythingUntrustedPageHandler::WebContentsDestroyed() as follows:

C++
void ReadAnythingUntrustedPageHandler::WebContentsDestroyed() {
  translate_observation_.Reset();
  audible_closure_.Reset();
}

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. 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 handler fails to reset the stored closure when the observed WebContents is destroyed, leaving a dangling pointer that is used during later teardown.

Impact

A compromised sandboxed renderer could cause a use-after-free in the privileged browser process, which may lead to memory corruption or a crash, though the text gives no proof-of-concept and only static analysis.

What the attacker needed

Reading Mode open; compromised sandboxed renderer; user closes the tab and side panel

The fix

The handler should reset the stored closure when the observed WebContents is destroyed, so it cannot run against freed memory.

How it was found

  1. A user opens Reading Mode, which starts the side-panel handler bound to the sandboxed renderer.
  2. The attacker compromises that sandboxed renderer and sends a Mojo message setting the read-aloud audio state to true.
  3. The browser stores a closure holding a raw pointer to the active tab's AudioStreamMonitor.
  4. The user closes the tab, destroying the WebContents and its AudioStreamMonitor, but the closure is not cleared.
  5. The side panel is closed, destroying the handler; the destructor skips resetting the closure because the tab is gone.
  6. The closure is destroyed during member teardown and accesses the already-freed AudioStreamMonitor, causing a 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.

Reading Mode is a browser feature that can read page content aloud, and it runs in a separate, restricted process. That process can send messages to the main browser process, which has more power. Here the main process saved a reference to a tab's audio tracker but did not clean it up when the tab closed, so later it used memory that had already been freed, which can crash or corrupt 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 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.