Skip to content
Info disclosure Advisory Advanced CVE-2026-14071

Side-channel information leakage in WebAudio (CVE-2026-14071)

The AudioContext playback statistics API accumulates audio glitch and latency data while a page is hidden, then merges that backlog into the visible statistics when the page returns to the foreground. An attacker could use this to infer system-wide audio activity that occurred while their page was backgrounded, bypassing the intended privacy mitigation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

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 without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The AudioContext playback statistics API fails to discard audio glitch and latency data collected while a page is hidden. This allows a backgrounded page to read accumulated, system-wide audio stress metrics once it returns to the foreground, bypassing intended WICG XS-Leak privacy mitigations.

Affected files:

  • third_party/blink/renderer/modules/webaudio/audio_context.cc
  • third_party/blink/renderer/platform/audio/audio_frame_stats_accumulator.cc
  • third_party/blink/renderer/platform/audio/audio_frame_stats_accumulator.h

Estimated timestamp from git blame: 2025-11-27

Summary

The AudioContext.playbackStats API contains a bypass of its intended privacy mitigations. These mitigations are designed to prevent background tabs from using audio performance metrics as a side-channel to infer user activity in other browser tabs or applications. However, the current implementation only delays the disclosure of this information rather than suppressing it, allowing a page to observe an aggregate of all audio glitches and latency extremes that occurred while it was hidden.

Root Cause Analysis

In third_party/blink/renderer/modules/webaudio/audio_context.cc, the HandlePreRenderTasks method executes on the audio thread during every render quantum. It unconditionally updates an internal accumulator with the latest audio frame statistics:

C++
// Data is accumulated unconditionally every render quantum.
pending_audio_frame_stats_.Update(frames_to_process, sampleRate(),
                                  playout_delay, glitch_info);

Following this update, a privacy check determines if these pending stats should be transferred to the visible statistics object (audio_frame_stats_):

C++
if (stats_update_restrictor_->StatUpdateAllowed()) {
  audio_frame_stats_.Absorb(pending_audio_frame_stats_);
}

When a page is hidden and lacks audio capture permission, StatUpdateAllowed() correctly returns false. This prevents the immediate transfer of data to audio_frame_stats_.

Crucially, however, pending_audio_frame_stats_ is never reset or cleared when this update is denied. It continues to silently accumulate monotonic counters (glitch event count, duration) and interval extremes (minimum/maximum latency) for the entire duration the page remains hidden.

When the user returns to the tab, the page becomes visible, and StatUpdateAllowed() returns true. The audio_frame_stats_.Absorb(pending_audio_frame_stats_) method is then called. Inside AudioFrameStatsAccumulator::Absorb, the entire backlog of hidden-period interval extremes and accumulated glitches is copied and merged directly into the visible statistics object, effectively rendering the visibility mitigation useless.

Impact

An attacker can use this behavior as a cross-origin activity inference side-channel (XS-Leak). By backgrounding an AudioContext and monitoring the statistics once the tab returns to the foreground, the attacker can measure the total system-wide audio subsystem stress that occurred while the tab was hidden. This can reveal when a user engaged in audio-intensive activity in other origins (e.g., video calls) or performed CPU-heavy tasks.

Potential Reproduction Steps

  1. Serve a page over HTTPS that creates an AudioContext and connects a silent node to the destination to ensure the audio thread continues running.
  2. Record baseline values for ctx.playbackStats.underrunEvents and ctx.playbackStats.minimumLatency.
  3. Switch to a different tab and perform activity that causes system stress or audio playback.
  4. Return to the original tab.
  5. Observe that ctx.playbackStats now reflects the aggregate count of underruns and latency extremes that occurred during the entire hidden period.

Suggested Fix

To align with WICG privacy mitigations, data from periods when the page is hidden should be discarded entirely, not delayed. The call to pending_audio_frame_stats_.Update() in HandlePreRenderTasks should either be conditionally gated behind stats_update_restrictor_->StatUpdateAllowed(), or pending_audio_frame_stats_ should be explicitly cleared/reset when StatUpdateAllowed() returns false to prevent the backlog from building up.

Evaluated with Chrome root at commit: 3acbde3302da0cb19488c22c0eb007c791207b4b


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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

The pending audio statistics accumulator is updated unconditionally and is never cleared when the privacy check denies the update, so hidden-period data is later absorbed into the visible statistics.

Impact

An attacker could use this as a cross-origin activity inference side-channel to learn when the user engaged in audio-intensive activity in other origins or performed CPU-heavy tasks while the attacker's page was hidden.

What the attacker needed

Victim visits attacker page; page uses AudioContext; victim switches tabs and returns

The fix

The pending statistics should be discarded entirely when the page is hidden, either by gating the update behind the privacy check or by clearing the accumulator when the check denies the update.

How it was found

  1. Serve a page over HTTPS that creates an AudioContext and keeps the audio thread running with a silent node.
  2. Record baseline values for the playback statistics.
  3. Switch to another tab and perform activity that causes system stress or audio playback.
  4. Return to the original tab.
  5. Observe that the playback statistics now include the aggregate underruns and latency extremes from the hidden period.

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 web page can ask the browser for statistics about audio playback, such as how often the audio stuttered. The browser is supposed to hide these numbers while the page is in a background tab, so one site cannot learn what you are doing in another tab. This report says the numbers are not thrown away but saved up, and when you come back to the tab the page can see everything that happened while it was hidden.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.