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

Insufficient validation of untrusted input in ANGLE (CVE-2026-11113)

ANGLE's GL backend keeps a CPU-side shadow copy of element array buffers to validate WebGL indices, but it never invalidates that copy when the buffer is written on the GPU through Transform Feedback. A compromised renderer could therefore pass index validation with stale zeros and cause the native driver to read out of bounds in VRAM, leaking GPU memory.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 56 days

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 logic flaw in ANGLE's GL backend allows a compromised renderer to bypass WebGL index validation. When a buffer is modified on the GPU via Transform Feedback, ANGLE fails to invalidate the CPU-side shadow copy used for validation. This allows a compromised renderer to trick ANGLE's software validation, leading to out-of-bounds VRAM reads by the native driver.

Affected files:

  • third_party/angle/src/libANGLE/renderer/gl/BufferGL.cpp
  • third_party/angle/src/libANGLE/renderer/gl/BufferGL.h
  • third_party/angle/src/libANGLE/Buffer.cpp

Estimated timestamp from git blame: 2026-01-06

Description

In the ANGLE GL backend, when running on a native driver that does not support robust buffer access (common on many Linux, ChromeOS, and Android configurations), ANGLE emulates this security boundary by maintaining a CPU-side shadow copy of element array buffers (mShadowCopy in BufferGL). This shadow copy is used to validate that indices used in draw calls are within the bounds of the associated vertex buffers.

A comment in BufferGL.cpp states:

"WebGL element array buffers cannot be bound to other binding points or written to on the GPU so the shadowed data will never be invalidated."

However, this invariant is not strictly enforced in the GPU process when using the passthrough command decoder. A compromised renderer can bypass Blink's high-level target compatibility checks and send IPC messages to the passthrough decoder, which forwards them directly to ANGLE. Because ANGLE's ValidateBindBufferCommon does not enforce the WebGL "initial target" rule, an attacker can freely bind an ElementArray buffer to a GL_TRANSFORM_FEEDBACK_BUFFER target and write to it on the GPU.

When a buffer is written to via Transform Feedback, TransformFeedback::onVerticesDrawn notifies the buffer via Buffer::onDataChanged. This clears the index cache, but because the OpenGL backend (BufferGL) does not override onDataChanged(), the mShadowCopy remains entirely untouched and becomes permanently stale.

Potential Exploitation Steps

Our tooling agent cannot run code, but the following sequence illustrates how this could potentially be exploited from a compromised renderer process:

  1. Establish Channel: A compromised renderer establishes a WebGL context via the passthrough command decoder.
  2. Create Shadow Copy: The renderer creates a buffer, binds it to GL_ELEMENT_ARRAY_BUFFER (locking its ANGLE type to ElementArray), and initializes it with zeros via glBufferData. Because the native driver lacks robust access, ANGLE allocates a CPU-side mShadowCopy filled with zeros.
  3. GPU Write (Bypassing Checks): The renderer unbinds the buffer and binds it to GL_TRANSFORM_FEEDBACK_BUFFER. The renderer executes a Transform Feedback draw call using a shader that writes massive uint32 indices (e.g., 0x3FFFFFFF) directly into the buffer in VRAM.
  4. Stale State Achieved: After the draw call, BufferGL fails to update or clear its mShadowCopy, leaving it containing the original zeros, totally out-of-sync with VRAM.
  5. Trigger OOB Read: The renderer binds the buffer back to GL_ELEMENT_ARRAY_BUFFER and binds a very small 1-vertex buffer. It issues a glDrawElements call.
  6. Validation Bypass: ANGLE's index validation (BufferGL::getIndexRange) iterates over the stale CPU-side mShadowCopy containing zeros. It calculates the maximum index as 0, successfully passing bounds validation against the 1-vertex buffer.
  7. Exfiltration: The native OpenGL driver executes the draw call using the actual VRAM buffer. The GPU fetches vertices using the massive 0x3FFFFFFF indices, reading far out of bounds into other VRAM regions. This leaked data can be passed to a fragment shader, written to a render target, and read back via glReadPixels.

Impact

This vulnerability potentially allows a compromised renderer to read arbitrary data from GPU memory (VRAM), which may include data from other origins, tabs, or desktop applications.

Suggested Fix

BufferGL should override BufferImpl::onDataChanged(). When called, if mShadowCopy is present, it should be invalidated or re-synchronized from the GPU to ensure subsequent validations use up-to-date data. Additionally, consider explicitly blocking sequential binding of ElementArray buffers to Transform Feedback targets within ANGLE's validation layer to harden defense-in-depth.

Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234


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 GL backend's shadow copy of element array buffers is never invalidated when the buffer is written on the GPU via Transform Feedback, because BufferGL does not override onDataChanged().

Impact

A compromised renderer could potentially read arbitrary data from GPU memory, which may include data from other origins, tabs or desktop applications; the report notes the issue applies to native drivers without robust buffer access, and the exploitation steps were not actually run.

What the attacker needed

Compromised renderer process; native driver without robust buffer access; passthrough command decoder in use

The fix

BufferGL should override onDataChanged() to invalidate or re-synchronise the shadow copy, and ANGLE's validation should also block binding element array buffers to transform feedback targets.

How it was found

  1. A compromised renderer opens a WebGL context through the passthrough command decoder.
  2. It creates a buffer, binds it as an element array buffer and fills it with zeros, so ANGLE makes a zero-filled CPU shadow copy.
  3. It rebinds the buffer as a transform feedback buffer and runs a draw whose shader writes very large indices into it on the GPU.
  4. The shadow copy is left stale, still holding zeros.
  5. It rebinds the buffer as an element array buffer alongside a tiny vertex buffer and issues a draw elements call.
  6. Index validation reads the stale zeros and passes, so the driver fetches vertices using the large indices and the leaked data is read back through a render target.

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.

WebGL lets web pages draw 3D graphics, and the browser checks that the numbers used to pick vertices stay inside the buffer. Here that check reads an old copy of the buffer kept in normal memory, while the real buffer in graphics memory has been changed to hold huge numbers. So the check passes but the graphics card reads far outside the buffer, which can expose memory belonging to other pages or programs.

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.