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

Uninitialized resource in GPU (CVE-2026-106290)

A state desynchronization in the GLES2 command decoder allows a compromised renderer to bypass the lazy-clear mechanism and read uninitialized GPU memory. The HandleGetRequestableExtensionsCHROMIUM command triggers feature probes that clobber the driver's GL_READ_FRAMEBUFFER binding without updating internal state tracking.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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 Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A state desynchronization in the GLES2 validating command decoder can potentially allow a compromised renderer to bypass the lazy-clear mechanism and read uninitialized GPU memory. The HandleGetRequestableExtensionsCHROMIUM command triggers feature probes that clobber the driver's GL_READ_FRAMEBUFFER binding without updating internal state tracking.

Affected files:

  • gpu/command_buffer/service/gles2_cmd_decoder.cc
  • gpu/command_buffer/service/feature_info.cc

Estimated timestamp from git blame: 2026-02-11

Summary

The GLES2 validating command decoder is vulnerable to a potential uninitialized GPU memory disclosure. The HandleGetRequestableExtensionsCHROMIUM command triggers driver probes that desynchronize the hardware's GL_READ_FRAMEBUFFER binding from the decoder's internal state tracking. This desynchronization allows an attacker to bypass the "lazy-clear" mechanism, which is intended to prevent WebGL from reading stale GPU memory from other origins or the system compositor.

Root Cause Analysis

When GLES2DecoderImpl::HandleGetRequestableExtensionsCHROMIUM is called (gpu/command_buffer/service/gles2_cmd_decoder.cc), it allocates a temporary FeatureInfo object and calls InitializeWithCompleteFramebufferForWorkarounds() to probe for supported extensions against the live GL context.

Inside FeatureInfo (gpu/command_buffer/service/feature_info.cc), probes such as IsWebGLDrawBuffersSupported attempt to save and restore the framebuffer binding using the following pattern:

C++
GLint fb_binding = 0;
glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fb_binding); // On ES3+, this evaluates to GL_DRAW_FRAMEBUFFER_BINDING
// ... probe binds a temporary FBO ...
glBindFramebufferEXT(GL_FRAMEBUFFER, fbo);
// ...
glBindFramebufferEXT(GL_FRAMEBUFFER, static_cast<GLuint>(fb_binding)); // Restores BOTH to the saved DRAW binding

On OpenGL ES 3.0+ drivers, GL_FRAMEBUFFER_BINDING is an alias for GL_DRAW_FRAMEBUFFER_BINDING. When the probe restores the binding using the generic GL_FRAMEBUFFER target, it inadvertently sets both the driver's GL_DRAW_FRAMEBUFFER and GL_READ_FRAMEBUFFER to the original draw binding.

Because HandleGetRequestableExtensionsCHROMIUM finishes executing without calling RestoreFramebufferBindings(), the hardware's read binding becomes desynchronized from the decoder's state tracking. The decoder remains unaware that the driver's read binding has been overwritten.

Potential Exploitation Path

An attacker with control over a renderer process could potentially exploit this state desynchronization to leak uninitialized GPU memory. Note: Our tooling agent does not have the ability to run code, so these are suggested steps based on static analysis:

  1. Context Creation: Request a CONTEXT_TYPE_WEBGL1 context on a system using a native OpenGL ES 3.0+ driver that supports the GL_EXT_framebuffer_multisample extension. This extension allows separate READ/DRAW bindings in the command buffer validator.
  2. Allocation: Create an uncleared texture (texA) using glTexImage2D with a NULL data pointer. Attach it to fboA (the leak source).
  3. Bypass Creation: Create a cleared texture (texB) using glClear to explicitly initialize its contents. Attach it to fboB.
  4. Binding: Send command buffer IPCs to bind fboA to GL_DRAW_FRAMEBUFFER and fboB to GL_READ_FRAMEBUFFER.
    • Decoder State: DRAW = fboA, READ = fboB.
    • Driver State: DRAW = fboA, READ = fboB.
  5. Clobber: Issue GetRequestableExtensionsCHROMIUM. The internal probes clobber the driver's read binding to match the draw binding.
    • Decoder State: DRAW = fboA, READ = fboB.
    • Driver State: DRAW = fboA, READ = fboA. (Desynchronized)
  6. Leak: Issue ReadPixels.
    • The decoder's CheckBoundReadFramebufferValid validates its tracked READ FBO (fboB). Since fboB is cleared, the ClearUnclearedAttachments safety check is successfully bypassed.
    • The decoder calls the driver's glReadPixels.
    • The driver executes the read using its actual READ binding (fboA), reading the uninitialized contents of texA into renderer-accessible shared memory.

Suggested Fix

Ensure that GLES2DecoderImpl::HandleGetRequestableExtensionsCHROMIUM restores the framebuffer state before returning. This can be achieved by utilizing gl::ScopedFramebufferBinder or explicitly calling RestoreFramebufferBindings() at the end of the handler.

Evaluated with Chrome root at commit: a1e33f5848218e21d4a16ae2c1bc94e815c30c7f


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 extension-probing code restores the framebuffer binding using the generic GL_FRAMEBUFFER target, which on ES3+ also overwrites the read binding, and the handler does not resynchronise the decoder's tracked state afterwards.

Impact

A compromised renderer could potentially read uninitialized GPU memory from other origins or the system compositor, but the report is based on static analysis and has not been demonstrated.

What the attacker needed

Compromised renderer process; OpenGL ES 3.0+ driver; GL_EXT_framebuffer_multisample support

The fix

The handler should restore the framebuffer state before returning, for example by using a scoped framebuffer binder or explicitly calling RestoreFramebufferBindings().

How it was found

  1. Create a WebGL1 context on a system with an OpenGL ES 3.0+ driver supporting GL_EXT_framebuffer_multisample.
  2. Create an uncleared texture and attach it to a framebuffer (the leak source).
  3. Create a cleared texture and attach it to another framebuffer.
  4. Bind the uncleared framebuffer as draw and the cleared one as read.
  5. Issue GetRequestableExtensionsCHROMIUM, which clobbers the driver's read binding to match the draw binding.
  6. Issue ReadPixels; the decoder validates the cleared read framebuffer but the driver reads from the uncleared draw framebuffer.

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 using the GPU. To stop one page reading another page's leftover GPU memory, the browser uses a 'lazy-clear' trick: it pretends a buffer is empty until someone actually reads it. This report says a specific command can confuse the browser about which buffer is being read, so the safety check passes but the GPU reads the wrong, uncleared buffer, leaking old memory.

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.