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

Information leak in WebAudio (CVE-2026-106392)

The experimental AudioContextPlayoutStats feature exposes uncoarsened microsecond timing values, and the 1Hz update limit is applied per AudioContext, so an attacker can create many contexts to poll hardware latency at high frequency. This could enable timing side-channel attacks.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 months

Flapjack, 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: The experimental AudioContextPlayoutStats feature exposes high-precision, uncoarsened microsecond timing metrics via maximumLatency and minimumLatency. An attacker can potentially bypass the intended 1Hz rate limit by repeatedly creating new AudioContexts to poll the system audio hardware latency, enabling a timing side-channel attack.

Affected files:

  • third_party/blink/renderer/modules/webaudio/audio_playout_stats.cc

Estimated timestamp from git blame: 2024-05-28

Description

The AudioContextPlayoutStats interface (currently an experimental feature available via Origin Trials or feature flags) provides timing metrics to JavaScript. However, the implementation fails to apply time coarsening (clamping) to the DOMHighResTimeStamp values returned by attributes like maximumLatency, minimumLatency, and fallbackFramesDuration.

In Chromium, web-exposed timings that can leak system state or hardware performance must be coarsened using Performance::ClampTimeResolution (typically to 100 µs, or 5 µs if cross-origin isolated). AudioPlayoutStats bypasses this by converting exact base::TimeDelta objects to doubles using InMillisecondsF() without any clamping.

While the API attempts to mitigate high-frequency polling by restricting updates to 1Hz via the StatsUpdateRestrictor class, this restrictor is instantiated per AudioContext. Because an AudioContext initializes the restrictor's last_update_time_ to zero, the first render callback will always successfully update the stats. An attacker can repeatedly instantiate new AudioContext objects to poll the uncoarsened hardware delay and internal FIFO state at a high frequency.

Impact

The exposure of microsecond-precision timing metrics, combined with the ability to poll them frequently, provides a high-fidelity signal for timing side-channel attacks. An attacker could potentially leverage this to measure the timing of cross-origin events or system resource contention.

Potential Steps to Reproduce

Note: These are suggested steps based on source code analysis. Our tooling agent cannot run active proof-of-concept exploits.

  1. Ensure the page is visible or has microphone permission to pass the StatsUpdateRestrictor::IsVisibleOrHasPermission() check.
  2. In a loop, create a new AudioContext: const ctx = new AudioContext();.
  3. Wait a very brief period (e.g., using setTimeout) to allow the AudioContext to transition to running and process its first render quantum.
  4. Read the uncoarsened timing data: let maxLat = ctx.playoutStats.maximumLatency;
  5. Close the context (ctx.close()) to avoid exhausting resources, and repeat.
  6. Observe high-resolution fluctuations in hardware latency and FIFO state that correspond to system load.

Source Code References

  • Uncoarsened value exposure: third_party/blink/renderer/modules/webaudio/audio_playout_stats.cc lines 48-52.
  • Hardware delay accumulation: third_party/blink/renderer/platform/audio/audio_destination.cc line 617.
  • Per-context restrictor initialization: third_party/blink/renderer/modules/webaudio/audio_context.cc line 604.

Recommended Fix

  1. All DOMHighResTimeStamp values returned by the AudioPlayoutStats interface should be coarsened using Performance::ClampTimeResolution to ensure compliance with Chromium's security policies.
  2. Consider making the 1Hz StatsUpdateRestrictor a page-level or origin-level rate limit, or require the AudioContext to be alive for at least 1 second before exposing the first set of statistics, to prevent the bypass via context cycling.

Evaluated with Chrome root at commit: b7d0c4d810da1b31400f198c70d9720fc8f0e5a0


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 code converts exact time deltas to milliseconds without applying Chromium's standard time coarsening, and the rate limiter is per-context rather than global.

Impact

The exposure of precise timing metrics could allow an attacker to measure cross-origin events or system resource contention, though the report only suggests this potential.

What the attacker needed

Experimental feature enabled; page visible or microphone permission

The fix

The values should be coarsened using Performance::ClampTimeResolution, and the rate limit should be made page-level or origin-level, or the first statistics should be delayed until the context has been alive for at least one second.

How it was found

  1. Ensure the page is visible or has microphone permission.
  2. Create a new AudioContext in a loop.
  3. Wait briefly for the context to start and process its first render quantum.
  4. Read the uncoarsened maximumLatency value.
  5. Close the context and repeat.

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.

Web pages can measure how long things take, but browsers usually round those measurements to make them less precise, so attackers cannot use tiny timing differences to guess secrets. Here, a new audio feature returned exact microsecond timings, and a rate limit meant to slow down polling could be bypassed by making many audio contexts. This could let an attacker learn about system activity through timing.

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.