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

Out of bounds read in GPU (CVE-2026-11256)

A compromised GPU process can send a small IPC payload that triggers a size_t underflow in the browser process because bounds checks rely on DCHECKs that are omitted in release builds. This creates a massive base::span that defeats subsequent bounds checks, allowing out-of-bounds heap memory to be parsed and saved into the ProgramInfoManager, resulting in a blind out-of-bounds read.

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 security team.

Overview: A compromised GPU process can send a small IPC payload that triggers a size_t underflow in the browser process due to omitted DCHECKs in release builds. This underflow creates a massive base::span that defeats subsequent bounds checks, allowing out-of-bounds heap memory to be parsed and saved into the ProgramInfoManager. This results in a blind out-of-bounds read vulnerability in the browser process.

Affected files:

  • gpu/command_buffer/client/gles2_implementation.cc
  • gpu/command_buffer/client/program_info_manager.cc

Estimated timestamp from git blame: 2025-11-28

Summary

A potential blind out-of-bounds (OOB) read exists in GLES2Implementation::UpdateProgramInfo. A compromised GPU process can trigger a size_t underflow by sending a malformed, undersized OnReturnData IPC payload. Because bounds checks in this code path rely on DCHECK macros (which are compiled out in release builds), the underflow results in the creation of a base::span with an enormously large reported size. This oversized span defeats all subsequent bounds checks in ProgramInfoManager, allowing an attacker to parse out-of-bounds browser heap memory into strings and integers stored in the Program object.

Vulnerability Details

  1. DCHECK Bypass: When a compromised GPU process sends a small (e.g., 4-byte) mojom::CommandBufferClient::OnReturnData IPC message with the kES2ProgramInfo type, it is processed by GLES2Implementation::OnGpuControlReturnData (gpu/command_buffer/client/gles2_implementation.cc). The code expects a larger payload but only checks the size using a DCHECK, which is skipped in release builds.
  2. size_t Underflow: Execution reaches UpdateProgramInfo (line 188), where another DCHECK expects the data size to be greater than 8 bytes (sizeof(cmds::GLES2ReturnProgramInfo)). Because the check is omitted, the code subtracts 8 from the 4-byte size, causing an unsigned integer underflow.
  3. Massive Span Creation: At line 195, a base::span named info is constructed using the underflowed size (SIZE_MAX - 3). Because CHECKED_SPAN is disabled by default in Chromium, the span is constructed successfully with a massive size and a pointer pointing 8 bytes past the start of the data buffer.
  4. Tautological Bounds Checks: The poisoned span is passed to ProgramInfoManager::Program::UpdateES2 (gpu/command_buffer/client/program_info_manager.cc). Here, functions like Load<T> and DataIterator::Get<T> use span::subspan to perform bounds checks. Because the size of the span is near SIZE_MAX, conditions like offset + sizeof(T) <= size() evaluate to true for almost any offset, making the checks tautological.
  5. OOB Read: The code parses structures like ProgramInfoHeader and ProgramInput from the out-of-bounds heap memory. By grooming the browser heap adjacent to the IPC buffer, an attacker can control the parsed lengths and offsets, allowing them to read arbitrary OOB integers and construct std::string objects from OOB memory. These values are persisted in the attrib_infos_ and uniform_infos_ vectors.

Impact

This vulnerability allows a compromised GPU process to perform a blind out-of-bounds read on the browser process heap (for example, when WebXR is used on Windows, placing the command buffer in the browser process). While the attacker can copy OOB memory into the Program object, there is currently no identified path to return these strings back to the GPU process, making it a blind read. However, it still represents a memory safety violation in the highly privileged browser process.

(Note: These are suggested steps; our tooling agent does not have the ability to run code to confirm exploitability.)

Suggested Fix

The DCHECK macros used for input validation from the GPU process must be upgraded to fatal CHECK macros or graceful early returns.

In gpu/command_buffer/client/gles2_implementation.cc:

C++
void GLES2Implementation::OnGpuControlReturnData(base::span<const uint8_t> data) {
  CHECK(data.size() >= sizeof(cmds::GLES2ReturnDataHeader));
  // ...
}

void UpdateProgramInfo(base::span<const uint8_t>& data, ...) {
  CHECK(data.size() >= sizeof(cmds::GLES2ReturnProgramInfo));
  // ...
}

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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

Likely the use of DCHECK macros for validating IPC payload sizes, which are compiled out in release builds, leading to an unsigned integer underflow and an oversized span that bypasses bounds checks.

Impact

A compromised GPU process could perform a blind out-of-bounds read on the browser process heap, but there is currently no identified path to return the read data to the GPU process, so the impact is limited to a memory safety violation.

What the attacker needed

Compromised GPU process; WebXR on Windows (for browser process command buffer)

The fix

The DCHECK macros used for input validation from the GPU process should be upgraded to fatal CHECK macros or graceful early returns.

How it was found

  1. A compromised GPU process sends a small (e.g., 4-byte) mojom::CommandBufferClient::OnReturnData IPC message with the kES2ProgramInfo type.
  2. The message is processed by GLES2Implementation::OnGpuControlReturnData, where a DCHECK for payload size is skipped in release builds.
  3. Execution reaches UpdateProgramInfo, where another DCHECK expects data size > 8 bytes; because it is omitted, subtracting 8 from the 4-byte size causes an unsigned integer underflow.
  4. A base::span is constructed with the underflowed size (SIZE_MAX - 3), creating a massive span that points 8 bytes past the start of the data buffer.
  5. The poisoned span is passed to ProgramInfoManager::Program::UpdateES2, where bounds checks using span::subspan become tautological due to the near-SIZE_MAX size.
  6. The code parses structures like ProgramInfoHeader and ProgramInput from out-of-bounds heap memory, allowing the attacker to read arbitrary OOB integers and construct std::string objects from OOB memory, which are persisted in attrib_infos_…

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 GPU process is a separate part of the browser that handles graphics. If an attacker can control it, they can send a tiny message that the browser process mishandles because a safety check is only active in debug builds. This lets the browser read memory outside its intended buffer, which could leak sensitive data, though in this case the attacker cannot see the leaked data directly.

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.