← All findings

Google Chrome / Intel iHDCVE-2026-95318

A heap overflow in Intel’s video driver, reachable from Chrome

How a missing cumulative bounds check let web-supplied AV1 video overflow a driver allocation.

Overview

A 6 KB video frame was enough to crash Chrome's GPU process on my test machine. The page used WebCodecs, a browser API for decoding video. The memory error was further down the stack, in the Intel driver preparing that video for hardware decoding.

The driver had room for 512 tile records. It checked the size of each incoming batch, then appended that batch after the records it had already accepted. The check never accounted for the space those earlier records had used.

This became CVE-2026-95318, rated High by Google. The investigation went from repeatable browser crashes to a separate driver test, then to an AddressSanitizer trace directly inside Chromium's GPU process. Chromium addressed the affected path by disabling AV1 hardware decoding on older Intel drivers.

01 · Decoding path

From WebCodecs to the Intel driver

AV1 is a video compression format. Decoding turns compressed bytes back into pictures. On supported machines, a dedicated hardware decoder can do much of that work, reducing the CPU load.

The browser still has to prepare the job. On the Linux configuration used here, Chrome parsed the video and submitted decoding parameters through VA-API, an interface between applications and video drivers. Intel's iHD driver received those parameters and prepared them for the hardware.

01 / WebCodecs to the driverWeb input → native memory
  1. Web page

    Supplies a compressed AV1 frame through WebCodecs.

  2. Chrome’s video decoder

    Prepares the picture and its tile records.

  3. VA-API → Intel iHD

    Stores the records in a heap allocation.

    The allocation that is overrun
  4. Video hardware

    Receives the prepared decoding work.

The overflow happened while preparing decoding work, in ordinary process memory. It did not require a write into GPU memory or the kernel.

An AV1 picture can be divided into smaller rectangular regions called tiles. For each tile, the decoding stack needs a record describing how to process it. Several buffers of these records can belong to one picture. That is where the accounting went wrong.

02 · Bounds checking

Checking each batch, forgetting the total

In the tested iHD 23.1.1 driver, the tile-parameter allocation held 512 records of 40 bytes each: 20,480 bytes in total.

The driver checked the incoming buffer's record count against the maximum. In simplified terms, it asked:

Does this batch contain no more than 512 records?

But the destination depended on a different number: how many records had already been accepted for the picture. The next batch was appended after those records.

A batch of one record can pass the size check even when all 512 positions are occupied. At that point, accepting one more record writes past the allocation.

02 / Per-buffer and cumulative counts512 × 40 bytes
Allocated space20,480 bytes
123…511512
512 records already stored
51340 bytes
outside
What was checked1 ≤ 512

The incoming batch passes.

What was left0 records

There is no space to append it.

Schematic, not to scale. Record numbers start at one. Record 513 begins at byte offset 20,480, immediately beyond the allocation.

The report identified the mismatch in two related places: tile parsing, which advanced the destination using m_numSlices, and the VA-buffer allocation path, which derived an offset from dwNumSliceControl. Both used accumulated state to place incoming data while checking the incoming count separately.

The necessary rule is straightforward:

already accepted <= capacity
incoming count   <= capacity - already accepted

This is a remaining-space check. It must happen before deriving the destination or performing the write. Checking the incoming batch against the original capacity is insufficient once earlier batches share the allocation.

03 · Browser tests

Reproducing the crash in Chrome

The browser test used Google Chrome Stable 152.0.7977.75 on Debian 12, with Intel Iris Xe hardware and the distribution-installed intel-media-va-driver package, version 23.1.1+dfsg1-1.

The triggering input contained one AV1 picture with 1,024 tiles. Across 30 runs, each starting with a fresh browser profile, Chrome's GPU process exited unexpectedly every time. The logs recorded the same distribution driver being loaded.

A matched input with 512 tiles produced no unexpected GPU-process exit in ten runs on the same stack.

There are two qualifications worth keeping alongside those numbers.

First, the tests used feature-selection switches to select the VA-API hardware-decoding path. They did not disable Chrome's sandbox. The result establishes the failure in that configuration; it does not establish that a fresh installation with no flags would select the same path.

Second, the smaller control was not a successfully decoded video. It reached driver submission and then ended with a WebCodecs EncodingError. Its purpose was to test the allocation boundary: the same path, without the unexpected process exit.

04 · Memory diagnostics

Confirming the overflow inside Chromium

A GPU-process exit alone could have several explanations. To isolate the memory error, the initial report included a standalone VA-API test against an AddressSanitizer build of the affected driver source.

AddressSanitizer, or ASan, instruments native code to detect invalid memory accesses. The test reported a 40-byte write immediately after a 20,480-byte allocation. The allocation size matched the driver's 512 tile records exactly. The matched 512-record control exited without an ASan report.

That established the driver bug, but the evidence was still split across two experiments: a crash in Chrome and a precisely diagnosed overflow in a separate client.

On 3 October, I added the missing browser-side trace to the report. The original WebCodecs testcase had been reproduced in an official Chromium M152 ASan build. This time, the memory error was reported directly from Chromium's GPU process.

The diagnostic excerpt recorded in the follow-up was:

AddressSanitizer: heap-buffer-overflow
WRITE of size 40
0 bytes after a 20480-byte region

The symbolized stack connected the invalid copy to Chromium's hardware-video submission path:

03 / Chromium’s failing copyGPU process · ASan build
  1. Decode taskVaapiVideoDecoder::HandleDecodeTask
  2. AV1 decodingAV1Decoder::Decode
  3. Hardware submissionAV1VaapiVideoDecoderDelegate::SubmitDecode
  4. Map and copyVaapiWrapper::MapAndCopyAndExecuteVaapiWrapper::MapAndCopy_Locked
  5. Invalid write detected__asan_memcpy
Selected frames, ordered from the decoding task toward the failing copy. The allocation stack identified the driver’s DdiDecodeAv1::InitResourceBuffer.

The matched 512-tile control selected the same hardware path without an ASan report or GPU-process exit. The browser trace tied the web input, driver allocation, and invalid copy together in one execution.

The instrumented setup also needed a runtime adjustment: the copied driver binary's dependency on libasan.so.8 was removed so it would use Chromium's already-loaded ASan runtime rather than load a second, incompatible one. The driver source was unchanged. This was separate from the earlier stable-browser tests, which used Debian's unmodified installed driver.

ExperimentRecorded outcome
Stable Chrome, 1,024-tile inputUnexpected GPU-process exit in 30/30 fresh profiles
Stable Chrome, 512-tile controlNo unexpected GPU-process exit in 10/10 fresh profiles; decoding still returned an error
Standalone instrumented driver40-byte heap overflow; matched control without an ASan report
Chromium M152 ASan, same web testcaseHeap overflow reported directly in the GPU process; matched control without an ASan report or process exit

The repeated-run counts belong to the stable-browser experiment. They should not be read as repetition counts for the later ASan test. Report and browser follow-up.

05 · Driver versions

Why older drivers were affected

The report traced the 512-record limit through Intel media-driver 23.2.3. An Intel change, first released in 23.2.4 according to that version analysis, increased the capacity to 4,096 records.

That was a capacity increase, not an added check of the accumulated total. It nevertheless changed the outcome for this browser path: 4,096 matched Chrome/libgav1's maximum tile count for one picture, and the submitted 1,024-tile input did not overflow the larger allocation.

This write-up does not claim that the input also corrupts memory in current iHD releases. The demonstrated combination was a contemporary browser and an older driver still supplied by the tested operating-system distribution.

06 · Mitigation

Blocking the vulnerable decoding path

Chromium could protect the browser path without replacing the system's driver. Its workaround added a Linux rule for Intel driver versions below 23.2.4, disabling accelerated AV1 decoding on that configuration.

The change removed access to the affected hardware path from Chrome. It did not repair the installed driver for other applications.

The commit message estimated that the rule would disable AV1 hardware decoding for about 9% of Linux users in its preceding 28-day telemetry window. That is a measure of the workaround's reach, not a claim that 9% of Linux users had been exploited or that every one of those configurations reproduced the bug.

Google included the CVE in the Chrome 154 security release. A later M150 LTS backport was merged on 21 October.

07 · Scope

Demonstrated impact and limitations

The security issue was a heap write outside an allocation, reachable from web-supplied video on the tested decoding configuration. The later ASan run located that write inside Chromium's GPU process. Google's public advisory classifies the vulnerability as High.

Such corruption can affect nearby process data, which makes it more serious than an ordinary decoding error. Turning it into controlled execution would require further evidence about what is overwritten and how that data is subsequently used.

This investigation did not demonstrate arbitrary code execution, a sandbox escape, or operating-system compromise. The driver was user-space code in the tested path; the word “driver” should not be read as proof of a kernel vulnerability.

The narrower result is still significant: a web page could reach a native memory-safety failure below the browser's video API while the sandbox remained enabled.

08 · Disclosure

Disclosure timeline

Date, 2026Milestone
3 SeptemberReport submitted to Chromium with browser results, controls, and standalone ASan evidence
11 SeptemberChromium workaround merged; issue marked fixed
15 SeptemberWorkaround merged into the M154 branch
22 SeptemberCVE-2026-95318 published in the Chrome 154 security bulletin
3 OctoberDirect Chromium GPU-process ASan evidence and its matched control added to the report
12 OctoberTracker recorded removal of the issue's access restrictions
21 OctoberM150 LTS backport merged

The root cause was a disagreement between two pieces of bookkeeping. Validation considered one incoming buffer. Storage accumulated records from several buffers into the same allocation. Each small submission could pass the check while the picture as a whole exceeded the space available.

Thank you to the Chromium team for reviewing the report and deploying the workaround.

References