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

Uninitialized resource in ANGLE (CVE-2026-79285)

A logic error in ANGLE's D3D11 backend means that when one face of a cube map is redefined, the per-level initialisation mask causes storage preservation to be skipped for all six faces at that level. A malicious website could then read uninitialised GPU memory through glReadPixels, though the report notes this is based on static analysis and may vary by driver.

Google Chrome

Originally disclosed on Chrome VRP

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

Overview: A logic error in ANGLE's D3D11 backend allows sibling faces of a cube map to lose their initialization state and data when another face at the same level is redefined. This leads to a desync between the front-end and backend, potentially allowing a malicious website to read uninitialized GPU memory via glReadPixels.

Affected files:

  • third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.cpp
  • third_party/angle/src/libANGLE/renderer/d3d/d3d11/Image11.cpp
  • third_party/angle/src/libANGLE/renderer/d3d/d3d11/TextureStorage11.cpp
  • third_party/angle/src/libANGLE/Texture.cpp
  • third_party/angle/src/libANGLE/Framebuffer.cpp

Estimated timestamp from git blame: Unknown (Google3 checkout)

Root Cause Analysis

A vulnerability exists in ANGLE's D3D11 backend due to insufficient granularity in the storage-preservation logic during cube map redefinition. When a cube map face is redefined with a mismatched size or format, TextureD3D_Cube::redefineImage triggers a release of the underlying texture storage.

In third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.cpp:

C++
ANGLE_TRY(releaseTexStorage(context, copyImageMask));

The copyImageMask is a gl::TexLevelMask, which tracks initialization status on a per-level basis. However, a cube map contains six faces per level. When redefineImage unsets the bit for a level to exclude a redefined face from data preservation, it inadvertently instructs releaseTexStorage to skip the storage-to-image copy-back for all six faces at that level.

Exploitation Mechanism

The vulnerability is reachable because multiple layers of state management fail to maintain consistency:

  1. Association Failure: While ANGLE normally recovers associated images during storage destruction in TextureStorage11_Cube::onDestroy, an image may lose its association if mRecoveredFromStorageCount reaches its limit (currently 2). In this state, a face modified only via a RenderTarget (e.g., glClear) exists only in GPU storage and is not associated with an Image11 object.
  2. Data Loss: During redefinition of a sibling face, the mask-based bypass in releaseTexStorage skips preservation, and the lack of association skips recovery in onDestroy. The GPU storage is deleted, losing the cleared data.
  3. Backend Desync: The Image11::isDirty() check (Image11.cpp:135) incorrectly returns false if an image is dirty but lacks both a staging texture and a storage association. This prevents the lost data from being re-uploaded to new storage.
  4. Information Leak: When new storage is allocated, it remains uninitialized. Because the front-end still believes the face is Initialized, it bypasses robust resource initialization, allowing the attacker to read VRAM residue via glReadPixels.

Potential Reproduction Steps

  1. Create a 4x4 RGBA8 cube map and initialize all faces.
  2. Redefine a sibling face multiple times to increment the mRecoveredFromStorageCount for Face A until association is disabled.
  3. Attach Face A to an FBO and clear it (data is now in GPU-only storage).
  4. Redefine a different face (Face B) with a mismatched size (8x8). This triggers the buggy release logic.
  5. Redefine Face B back to 4x4 to make the cube complete.
  6. Bind Face A and perform glReadPixels. The operation may return uninitialized VRAM residue instead of the cleared color.

Note: These steps are based on static code analysis; actual behavior may vary depending on D3D11 driver specifics and ANGLE configuration.

Suggested Fix

The gl::TexLevelMask should be replaced or supplemented with a mechanism that tracks preservation requirements on a per-face basis for cube maps, ensuring that sibling faces are not excluded from releaseTexStorage preservation logic when only one face is being redefined.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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

The initialisation mask used during cube map redefinition tracks state per level rather than per face, so excluding one redefined face also excludes its five siblings from storage preservation.

Impact

A malicious website could potentially read uninitialised GPU memory, but the report states the behaviour is based on static analysis and may vary with D3D11 driver specifics and ANGLE configuration.

What the attacker needed

Victim visits a malicious page; D3D11 backend in use; specific driver behaviour

The fix

The initialisation mask should be replaced or supplemented with per-face tracking for cube maps so sibling faces are not excluded from storage preservation when only one face is redefined.

How it was found

  1. Create a 4x4 RGBA8 cube map and initialise all faces.
  2. Redefine a sibling face repeatedly so Face A's recovery count reaches its limit and association is disabled.
  3. Attach Face A to a framebuffer and clear it, leaving the data only in GPU storage.
  4. Redefine Face B with a mismatched size to trigger the faulty release logic.
  5. Redefine Face B back to the original size so the cube is complete again.
  6. Bind Face A and call glReadPixels, which may return uninitialised memory.

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 cube map is a texture made of six square images (faces) that a graphics program uses for things like skyboxes. The browser's graphics layer tracks which parts of a texture have been filled with data so it never hands back leftover memory. Here that tracking works per level rather than per face, so redefining one face can make the code forget to preserve the other five, and a page could then read stale graphics 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.