Skip to content
Memory corruption Advisory CVE-2026-106293

Type confusion in ANGLE (CVE-2026-106293)

Jinpyo Lee Follow

Originally disclosed on Chrome VRP

Bounty$1,000 High View original
  • Fix shipped in 52 days

Report description

ANGLE: glFramebufferTexture2DMultisampleEXT missing textarget/texture-type validation → GPU-process OOB write (type confusion)


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules

Which URL (or repository) have you found the vulnerability in?

https://chromium.googlesource.com/angle/angle


The problem

Please describe the technical details of the vulnerability

▶ Summary ValidateFramebufferTexture2DMultisampleEXT (src/libANGLE/validationES2.cpp:6038) is the only one of 15 framebuffer-texture attach validators in ANGLE that does not verify that textarget matches the texture's actual type. Its sibling glFramebufferTexture2D performs this check; MSRTT does not.

As a result a cube-map-face textarget can be attached to a 3D (or 2D) texture. The GPU-process ANGLE then builds a Vulkan image view pointing at a nonexistent array layer / Z-slice, producing an out-of-bounds render (out-of-bounds write on the color attachment's backing memory).

  • Type: CWE-843 Type Confusion → CWE-787 Out-of-bounds Write
  • Process: GPU
  • Reachability: from a compromised renderer (this entry point is not exposed to WebGL — see below)
  • Affected backends: Vulkan (default on Android, primary on Linux), GL, Metal
  • Commit audited: e4499e6b2835a6996507f1b99920bc56f0122573 (also present on main aa192212af54)

▶ Reachability glFramebufferTexture2DMultisampleEXT exists as a GLES2 command-buffer entry point (gpu/command_buffer/common/gles2_cmd_format_autogen.h), has a client-side emit function (gpu/command_buffer/client/gles2_implementation_impl_autogen.h), and GL_EXT_multisampled_render_to_texture is in the passthrough decoder's kValidRequestableExtensions, so a renderer can enable it itself. However no WebGL extension exposes this function to JavaScript (verified across all 268 files of Blink modules/webgl; no MSRTT IDL).

Therefore this is reachable only from a compromised renderer, not from ordinary web content. The attached patch simulates that compromised renderer per the VRP "compromised-renderer simulation patch" guidance, using a git patch with a --type=renderer process guard.

▶ Root cause glFramebufferTexture2DMultisampleEXT(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, <3D texture>, level=1) -> ValidateFramebufferTexture2DMultisampleEXT: no textarget-vs-type check -> passes -> attachment stores ImageIndex{ type = CubeMapFace, layerIndex = face } -> FramebufferAttachment::layer() returns 0 for a cube face (has3DLayer()==false), which DISABLES the completeness layer bound in CheckAttachmentCompleteness (Framebuffer.cpp: if (attachment.layer() >= size.depth) INCOMPLETE) -> TextureVk::getRenderTargetLayerCountAndIndex forces imageLayerCount = 6 (kCubeFaceCount) regardless of the real image -> vk_helpers.cpp GetLevelLayerImageView indexes the view vector with face -> vkCreateImageView(viewType=2D, baseMipLevel=L, baseArrayLayer=face, layerCount=1) A 3D image's level L has depth = depth0 >> L; face beyond that violates VUID-VkImageViewCreateInfo-image-02724, pointing at a nonexistent slice.

The sibling glFramebufferTexture2D rejects the identical arguments with INVALID_OPERATION.

▶ Suggested fix

Add the same textarget ↔ tex->getType() check that ValidateFramebufferTexture2D (validationES2.cpp:5478) already performs in its switch (textarget) block; factor it into a shared helper. The check must live outside the clientVersion >= ES_3_0 guard, since it is also required for ES 2.0 contexts.

▶ Reproduction Build steps, the exact Chrome command line, expected results, and the compromised-renderer patch are in the attached renderer_msrtt_oob.patch, poc.html, and REPRODUCE.md.

Impact analysis

Who / what they gain: An attacker who has already compromised a renderer process (the standard Chrome threat model for GPU-process bugs) can, by issuing a single command-buffer call, cause the GPU process to perform an out-of-bounds write — writing fully attacker-controlled data to GPU memory that was never attached, or crashing the GPU process. This is a step toward escaping the renderer sandbox into the more-privileged GPU process.

Process affected: GPU process. Reachability: from a compromised renderer — glFramebufferTexture2DMultisampleEXT is not exposed to WebGL (verified across all 268 Blink modules/webgl files), so it cannot be triggered by ordinary web content; a compromised renderer issues it via the command buffer.

Two variants, both from the same missing textarget-vs-type check:

  1. 2D texture — indexes ANGLE's std::vector<ImageView> out of bounds.
  • Under Chrome's shipped config (_LIBCPP_HARDENING_MODE_EXTENSIVE): controlled vector.h hardening abort → GPU-process crash (DoS).
  • With hardening off: genuine heap-buffer-overflow WRITE at ImageViewHelper::getLevelLayerDrawImageView (vk_helpers.cpp:184), stack through FramebufferVk::startNewRenderPass → ContextVk::drawArrays.
  1. 3D texture — the out-of-bounds slice lands on a different mip level inside the same image allocation. No GL error, no hardening abort: attacker-controlled content (clear color or fragment-shader output) is written to a subresource that was never attached, and is read back via the normal glFramebufferTextureLayer + glReadPixels path.
  • Write offset: chosen by the cube-map face index (0..5).
  • Write size: one slice = (width >> level)² × 4 bytes, chosen via texture dimensions.
  • Write content: fully attacker-controlled.

The sibling glFramebufferTexture2D rejects the identical arguments with INVALID_OPERATION, confirming the intended validation is missing only here.


The cause

What version of Chrome have you found the security issue in?

153.0.8010.0 (dev/trunk) — patch base commit 1eed44bbb4b6 . Also present in the audited ANGLE checkout e4499e6b2835 and on ANGLE main aa192212af54; the vulnerable validator is unchanged, so all current Stable/Beta/Dev channels are affected.

Is the security issue related to a crash?

Yes, it is related to a crash.

Choose the type of vulnerability

Memory Corruption (in a sandboxed process)

How would you like to be publicly acknowledged for your report?

Jinpyo Lee

The original report as published on the Chromium issue tracker, by Jinpyo Lee. 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.

What is known

A high-severity memory corruption bug in ANGLE (Google Chrome). Chrome VRP made it public on 6 October 2026 as CVE-2026-106293. Fixed in version 155.0.8059.39. It paid $1,000.

About 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.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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 by Jinpyo Lee

View all

3 more disclosed reports, best first.

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.