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

Integer overflow in ANGLE (CVE-2026-14391)

An integer overflow in ANGLE's D3D11 vertex buffer handling allows a negative stride to cause an out-of-bounds heap read in the GPU process. A compromised renderer could exploit this to read arbitrary memory from the GPU process heap.

Quac Tran Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Medium View original
  • Fix shipped in 2 months

Report description

Integer Overflow to OOB Heap Read in GPU Process (VertexBuffer11, D3D11)


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?

third_party/angle/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp


The problem

Please describe the technical details of the vulnerability

Summary

VertexBuffer11::storeVertexAttributes (VertexBuffer11.cpp:114) truncates a size_t stride to int via static_cast<int>. When stride exceeds INT_MAX, it wraps to a negative value. This negative stride is used in pointer arithmetic, causing the read pointer to move backward past the buffer allocation — an out-of-bounds heap read in the GPU process.

This is the same bug class as b/489369089, which was fixed with CheckedNumeric in VertexDataManager.cpp (commit 641c0d0). The fix was NOT applied to VertexBuffer11.cpp — the static_cast<int> truncation remains.

Component: ANGLE (D3D11 backend) File: third_party/angle/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp, line 114 Type: Integer overflow → out-of-bounds heap read Process: GPU process Platform: Windows (D3D11 backend) Attack model: Compromised renderer → GPU process

Vulnerable Code

C++
// VertexBuffer11.cpp:114
int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
// ...
// Line 125 — OOB pointer arithmetic
input += inputStride * start;  // negative stride * start → pointer goes BACKWARD
// Line 133 — reads from OOB memory
vertexFormatInfo.copyFunction(input, inputStride, count, output);

Sibling Fix (same class, already applied to different file)

Commit 641c0d0 — "D3D11: Fix potential OOB read in StoreStaticAttrib" (b/489369089):

C++
// VertexDataManager.cpp — FIXED
-const int offset = static_cast<int>(ComputeVertexAttributeOffset(attrib, binding));
+angle::CheckedNumeric<GLintptr> offset = ComputeVertexAttributeOffset(attrib, binding);

The identical static_cast<int> pattern in VertexBuffer11.cpp was NOT fixed.

Web PoC

Attached: poc.html — an HTML page with WebGL that triggers the OOB read.

The PoC uses GL_UNSIGNED_BYTE normalized attributes (forces D3D11 format conversion → streaming path through storeVertexAttributes) with stride = -4 and glDrawArrays(GL_TRIANGLES, first=1, count=3).

Reproduction

# 1. Build Chromium with ASAN (release mode, Windows)
gn gen out/AsanRelease --args='is_asan=true is_debug=false is_component_build=false dcheck_always_on=false'
autoninja -C out/AsanRelease content_shell

# 2. Apply validation_bypass.patch (simulates compromised renderer — see below)

# 3. Rebuild (incremental, ~1 min)
autoninja -C out/AsanRelease content_shell

# 4. Run
set ASAN_OPTIONS=detect_leaks=0:symbolize=1:halt_on_error=1
out\AsanRelease\content_shell.exe --enable-gpu --use-angle=d3d11 --no-sandbox --single-process poc.html

ASAN Output (from content_shell)

==PID==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x1245f3685cbc
READ of size 4 at 0x1245f3685cbc thread T15
    #0 rx::CopyNativeVertexData<signed char,4,4,0>    copyvertex.inc.h:84
    #1 rx::VertexBuffer11::storeVertexAttributes       VertexBuffer11.cpp:133
    #2 rx::StreamingVertexBufferInterface::storeDynamicAttribute  VertexBuffer.cpp:206
    #3 rx::VertexDataManager::storeDynamicAttrib        VertexDataManager.cpp:595
    #4 rx::VertexDataManager::storeDynamicAttribs       VertexDataManager.cpp:462
    #5 rx::VertexArray11::updateDynamicAttribs          VertexArray11.cpp:330
    #6 rx::VertexArray11::syncStateForDraw              VertexArray11.cpp:163
    #7 rx::StateManager11::updateState                  StateManager11.cpp:2001
    #8 rx::Context11::drawArrays                        Context11.cpp:285
    #9 GL_DrawArrays                                    entry_points_gles_2_0_autogen.cpp:1819
    #10 gl::RealGLApi::glDrawArraysFn                   gl_gl_api_implementation.cc:390
    #11 gpu::gles2::GLES2DecoderPassthroughImpl::DoDrawArrays  gles2_cmd_decoder_passthrough_doers.cc:1149
    #12 gpu::gles2::GLES2DecoderPassthroughImpl::DoCommandsImpl  gles2_cmd_decoder_passthrough.cc:745
    #13 gpu::CommandBufferService::Flush                 command_buffer_service.cc:267

0x1245f3685cbc is located 4 bytes before 256-byte region [0x1245f3685cc0,0x1245f3685dc0)
SUMMARY: AddressSanitizer: heap-buffer-overflow copyvertex.inc.h:84

Why Validation Bypass Patches Are Needed

This is a compromised renderer → GPU process bug. The validation_bypass.patch contains 3 changes that simulate what a compromised renderer does:

Patch 1: Stride < 0 check (validationES2.h)

A compromised renderer writes directly to GPU command buffer shared memory. The passthrough command decoder (DoVertexAttribPointer in gles2_cmd_decoder_passthrough_doers.cc:3474) performs zero validation on stride — it reads the value and calls ANGLE directly:

C++
// Passthrough decoder — NO validation on stride
error::Error GLES2DecoderPassthroughImpl::DoVertexAttribPointer(
    GLuint indx, GLint size, GLenum type, GLboolean normalized,
    GLsizei stride, const void* ptr) {
  api()->glVertexAttribPointerFn(indx, size, type, normalized, stride, ptr);
  return error::kNoError;
}

Patch 2: WebGL stride > 255 limit (validationES.cpp)

The stride ≤ 255 limit is WebGL spec validation enforced in the renderer process (Blink/ANGLE). A compromised renderer bypasses all renderer-side validation.

Patch 3: Buffer bounds check (VertexDataManager.cpp)

A compromised renderer issues glVertexAttribPointer with buffer=0 (no VBO bound), creating client-side vertex arrays. The buffer bounds check in reserveSpaceForAttrib (line 517) only runs when bufferD3D != nullptr:

C++
if (bufferD3D)  // Skipped for client-side arrays (bufferD3D == nullptr)
{
    // bounds check here — NOT reached with client-side arrays
}

Client-side arrays bypass this check entirely, allowing the malformed stride to reach storeVertexAttributes.

Data Flow (Compromised Renderer)

Compromised renderer → GPU command buffer shared memory: stride = 0xFFFFFFFC
  → Passthrough decoder: ZERO validation, calls ANGLE directly
  → ANGLE stores as GLuint mStride = 0xFFFFFFFC
  → ComputeVertexAttributeStride() returns size_t(0xFFFFFFFC)
  → VertexBuffer11.cpp:114: static_cast<int>(0xFFFFFFFC) = -4
  → Line 125: input += (-4) * start → pointer goes BACKWARD
  → Line 133: copyFunction reads OOB memory → HEAP BUFFER OVERFLOW

Suggested Fix

Apply the same CheckedNumeric pattern used in the sibling fix (b/489369089):

Diff
--- a/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
+++ b/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
@@ -111,7 +111,9 @@
 {
     ASSERT(mBuffer.valid());

-    int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
+    angle::CheckedNumeric<int> checkedInputStride = ComputeVertexAttributeStride(attrib, binding);
+    ANGLE_CHECK_GL_MATH(GetImplAs<ContextD3D>(context), checkedInputStride.IsValid());
+    int inputStride = checkedInputStride.ValueOrDie();

Attached Files

  • poc.html — Web PoC (HTML + WebGL)
  • web_poc_asan_output.txt — Full ASAN output from content_shell
  • validation_bypass.patch — 3 patches to simulate compromised renderer
  • fix.patch — Suggested fix (CheckedNumeric)
  • VertexBuffer11OverflowTest.cpp — ANGLE standalone regression test
  • asan_output.txt — ANGLE standalone ASAN output

Impact analysis

Impact

The attacker (compromised renderer) controls three parameters:

  • stride — direction and step size of pointer displacement
  • start (glDrawArrays first) — multiplied with stride, controls total read offset
  • count (glDrawArrays count) — controls volume of data read from OOB memory

This enables arbitrary read windows into the GPU process heap, which contains cross-origin rendering data, GPU command buffers, and D3D11 resource metadata from all renderer processes.


The cause

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

149.0.7810.0 (Chromium source at HEAD, built with ASAN. Vulnerable code confirmed present at ANGLE commit 3c125a0. The bug also affects current Chrome Stable on Windows — the vulnerable static_cast<int> at VertexBuffer11.cpp:114 has ▎ not been patched in any release.)

Is the security issue related to a crash?

No, it is not related to a crash.

Choose the type of vulnerability

Memory Corruption

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

Quac Tran

The original report as published on the Chromium issue tracker, by Quac Tran. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 8 min read.

Context

ANGLE is the translation layer Chrome uses to turn OpenGL ES calls into a platform graphics API. On Windows the default backend is D3D11, and the code that feeds vertex attribute data into D3D11 buffers lives under third_party/angle/src/libANGLE/renderer/d3d/d3d11/. The file in question is VertexBuffer11.cpp, and the function is VertexBuffer11::storeVertexAttributes at line 114.

That function copies vertex attribute data from the application's memory into a D3D11 vertex buffer. It computes a stride for the attribute, converts it to an int, and then uses that stride in pointer arithmetic to walk the source data. The report is about what happens when the stride does not fit in an int.

The threat model is a compromised renderer talking to the GPU process. Chrome's GPU process is meant to be a security boundary: a renderer that has been compromised should not be able to read the GPU process heap, which holds rendering data from other renderers. The bug is an integer overflow that turns into an out-of-bounds heap read in that GPU process.

Setup

The researcher tested against Chrome 149.0.7810.0, built from Chromium source at HEAD with AddressSanitizer. The vulnerable code was confirmed present at ANGLE commit 3c125a0. The report also states that the bug affects current Chrome Stable on Windows, because the static_cast<int> at VertexBuffer11.cpp:114 had not been patched in any release at the time of writing.

The build and run steps are given in the report:

Bash
# 1. Build Chromium with ASAN (release mode, Windows)
gn gen out/AsanRelease --args='is_asan=true is_debug=false is_component_build=false dcheck_always_on=false'
autoninja -C out/AsanRelease content_shell

# 2. Apply validation_bypass.patch (simulates compromised renderer — see below)

# 3. Rebuild (incremental, ~1 min)
autoninja -C out/AsanRelease content_shell

# 4. Run
set ASAN_OPTIONS=detect_leaks=0:symbolize=1:halt_on_error=1
out\AsanRelease\content_shell.exe --enable-gpu --use-angle=d3d11 --no-sandbox --single-process poc.html

The build uses content_shell with ASAN in release mode. The run enables the GPU, forces the D3D11 ANGLE backend, disables the sandbox and uses a single process, and loads poc.html. The validation_bypass.patch is applied between the two builds to simulate a compromised renderer, because the bug requires input that normal renderer-side validation would reject.

The report lists these attached files: poc.html (the Web PoC), web_poc_asan_output.txt (full ASAN output from content_shell), validation_bypass.patch (three patches simulating a compromised renderer), fix.patch (the suggested CheckedNumeric fix), VertexBuffer11OverflowTest.cpp (an ANGLE standalone regression test) and asan_output.txt (ANGLE standalone ASAN output).

Finding it

The researcher identified a truncation in VertexBuffer11::storeVertexAttributes. The stride is a size_t, and it is cast to int with static_cast<int>. When the stride is larger than INT_MAX, the cast wraps to a negative value. That negative stride is then used in pointer arithmetic, so the read pointer moves backwards past the start of the buffer allocation instead of forwards. The result is an out-of-bounds heap read in the GPU process.

The researcher recognised this as the same bug class as b/489369089, which had already been fixed in a different file, VertexDataManager.cpp, using CheckedNumeric in commit 641c0d0 ("D3D11: Fix potential OOB read in StoreStaticAttrib"). The fix was not applied to VertexBuffer11.cpp, and the static_cast<int> truncation remained there.

The report's summary of the vulnerable code:

C++
// VertexBuffer11.cpp:114
int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
// ...
// Line 125 — OOB pointer arithmetic
input += inputStride * start;  // negative stride * start → pointer goes BACKWARD
// Line 133 — reads from OOB memory
vertexFormatInfo.copyFunction(input, inputStride, count, output);

Line 114 truncates the stride. Line 125 multiplies the (now possibly negative) stride by start and adds it to the input pointer, which moves the pointer backwards when the stride is negative. Line 133 passes that pointer to the format's copy function, which reads from it.

For comparison, the sibling fix in VertexDataManager.cpp:

C++
// VertexDataManager.cpp — FIXED
-const int offset = static_cast<int>(ComputeVertexAttributeOffset(attrib, binding));
+angle::CheckedNumeric<GLintptr> offset = ComputeVertexAttributeOffset(attrib, binding);

The same static_cast<int> pattern in VertexBuffer11.cpp was left in place.

Exploitation

The PoC is an HTML page with WebGL that triggers the OOB read. It uses GL_UNSIGNED_BYTE normalised attributes, which forces D3D11 format conversion and therefore the streaming path through storeVertexAttributes. It sets stride = -4 and calls glDrawArrays(GL_TRIANGLES, first=1, count=3).

Because this is a compromised renderer to GPU process bug, the PoC needs the validation bypass patch. The report explains that the patch contains three changes that simulate what a compromised renderer does.

Step 1: Bypass the stride < 0 check

A compromised renderer writes directly to the GPU command buffer shared memory. The passthrough command decoder's DoVertexAttribPointer (in [redacted].cc:3474) performs no validation on stride: it reads the value and calls ANGLE directly.

C++
// Passthrough decoder — NO validation on stride
error::Error GLES2DecoderPassthroughImpl::DoVertexAttribPointer(
    GLuint indx, GLint size, GLenum type, GLboolean normalized,
    GLsizei stride, const void* ptr) {
  api()->glVertexAttribPointerFn(indx, size, type, normalized, stride, ptr);
  return error::kNoError;
}

This is the first patch: the stride < 0 check in validationES2.h is removed, matching the absence of validation in the passthrough decoder.

Step 2: Bypass the WebGL stride limit

The stride ≤ 255 limit is WebGL spec validation enforced in the renderer process (Blink/ANGLE). A compromised renderer bypasses all renderer-side validation, so the second patch removes that limit in validationES.cpp.

Step 3: Bypass the buffer bounds check

A compromised renderer issues glVertexAttribPointer with buffer=0 (no VBO bound), creating client-side vertex arrays. The buffer bounds check in reserveSpaceForAttrib (line 517) only runs when bufferD3D != nullptr:

C++
if (bufferD3D)  // Skipped for client-side arrays (bufferD3D == nullptr)
{
    // bounds check here — NOT reached with client-side arrays
}

Client-side arrays bypass this check entirely, allowing the malformed stride to reach storeVertexAttributes. This is the third patch, in VertexDataManager.cpp.

Step 4: Run the PoC and observe the ASAN report

With the patch applied and the build rebuilt, running content_shell on poc.html produces this ASAN output:

Text
==PID==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x1245f3685cbc
READ of size 4 at 0x1245f3685cbc thread T15
    #0 rx::CopyNativeVertexData<signed char,4,4,0>    copyvertex.inc.h:84
    #1 rx::VertexBuffer11::storeVertexAttributes       VertexBuffer11.cpp:133
    #2 rx::StreamingVertexBufferInterface::storeDynamicAttribute  VertexBuffer.cpp:206
    #3 rx::VertexDataManager::storeDynamicAttrib        VertexDataManager.cpp:595
    #4 rx::VertexDataManager::storeDynamicAttribs       VertexDataManager.cpp:462
    #5 rx::VertexArray11::updateDynamicAttribs          VertexArray11.cpp:330
    #6 rx::VertexArray11::syncStateForDraw              VertexArray11.cpp:163
    #7 rx::StateManager11::updateState                  StateManager11.cpp:2001
    #8 rx::Context11::drawArrays                        Context11.cpp:285
    #9 GL_DrawArrays                                    entry_points_gles_2_0_autogen.cpp:1819
    #10 gl::RealGLApi::glDrawArraysFn                   gl_gl_api_implementation.cc:390
    #11 gpu::gles2::GLES2DecoderPassthroughImpl::DoDrawArrays  [redacted].cc:1149
    #12 gpu::gles2::GLES2DecoderPassthroughImpl::DoCommandsImpl  gles2_cmd_decoder_passthrough.cc:745
    #13 gpu::CommandBufferService::Flush                 command_buffer_service.cc:267

0x1245f3685cbc is located 4 bytes before 256-byte region [0x1245f3685cc0,0x1245f3685dc0)
SUMMARY: AddressSanitizer: heap-buffer-overflow copyvertex.inc.h:84

The stack shows the read happening in rx::CopyNativeVertexData<signed char,4,4,0> at copyvertex.inc.h:84, called from VertexBuffer11::storeVertexAttributes at line 133, reached through the streaming vertex buffer and VertexDataManager from glDrawArrays. The faulting address is 4 bytes before a 256-byte region.

Data flow

The report summarises the path from the compromised renderer to the overflow:

Text
Compromised renderer → GPU command buffer shared memory: stride = 0xFFFFFFFC
  → Passthrough decoder: ZERO validation, calls ANGLE directly
  → ANGLE stores as GLuint mStride = 0xFFFFFFFC
  → ComputeVertexAttributeStride() returns size_t(0xFFFFFFFC)
  → VertexBuffer11.cpp:114: static_cast<int>(0xFFFFFFFC) = -4
  → Line 125: input += (-4) * start → pointer goes BACKWARD
  → Line 133: copyFunction reads OOB memory → HEAP BUFFER OVERFLOW

The renderer supplies 0xFFFFFFFC as the stride. The passthrough decoder passes it through without validation. ANGLE stores it as a GLuint, ComputeVertexAttributeStride() returns it as a size_t, and the static_cast<int> at line 114 turns it into -4. The multiplication by start at line 125 moves the pointer backwards, and the copy at line 133 reads out of bounds.

Root cause

The mistake is the unchecked narrowing conversion at VertexBuffer11.cpp:114. ComputeVertexAttributeStride returns a size_t, and static_cast<int> silently truncates it. A stride above INT_MAX becomes negative, and a negative stride in the pointer arithmetic at line 125 moves the read pointer backwards past the allocation.

The existing defences did not stop it for three reasons, all of which depend on the compromised renderer assumption:

  1. The passthrough command decoder performs no validation on stride, so a renderer writing directly to the command buffer can supply any value.
  2. The WebGL stride ≤ 255 limit is enforced in the renderer process, which a compromised renderer bypasses.
  3. The buffer bounds check in reserveSpaceForAttrib only runs when bufferD3D != nullptr, so client-side arrays (buffer 0) skip it.

The same bug class had already been fixed in VertexDataManager.cpp with CheckedNumeric, but the fix was not applied to VertexBuffer11.cpp.

Impact

The attacker, a compromised renderer, controls three parameters:

  • stride: the direction and step size of the pointer displacement.
  • start (glDrawArrays first): multiplied with the stride, it controls the total read offset.
  • count (glDrawArrays count): controls the volume of data read from out-of-bounds memory.

Together these enable arbitrary read windows into the GPU process heap. That heap contains cross-origin rendering data, GPU command buffers and D3D11 resource metadata from all renderer processes. The report classifies the issue as memory corruption and states that it is not related to a crash.

Fix

The suggested fix applies the same CheckedNumeric pattern used in the sibling fix (b/489369089):

Diff
--- a/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
+++ b/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
@@ -111,7 +111,9 @@
 {
     ASSERT(mBuffer.valid());

-    int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
+    angle::CheckedNumeric<int> checkedInputStride = ComputeVertexAttributeStride(attrib, binding);
+    ANGLE_CHECK_GL_MATH(GetImplAs<ContextD3D>(context), checkedInputStride.IsValid());
+    int inputStride = checkedInputStride.ValueOrDie();

The change replaces the unchecked cast with a CheckedNumeric<int>, validates it with ANGLE_CHECK_GL_MATH, and only then extracts the value. A stride that does not fit in an int is rejected instead of wrapping to a negative value.

Variants to test

  • Other static_cast<int> narrowing of size_t strides or offsets in ANGLE's D3D11 backend. Search for the same pattern in sibling files such as VertexDataManager.cpp and VertexBuffer.cpp. A positive result is a value above INT_MAX reaching pointer arithmetic and an ASAN heap-buffer-overflow in the GPU process.
  • Other passthrough decoder entry points that forward parameters without validation. The report shows DoVertexAttribPointer calling ANGLE directly. Look for other Do* functions in [redacted].cc that pass sizes, strides or offsets straight through. A positive result is a malformed value from the command buffer reaching ANGLE unchecked.
  • Client-side array paths that skip bounds checks. The report shows reserveSpaceForAttrib only checking when bufferD3D != nullptr. Test other attribute paths with buffer=0 and malformed strides. A positive result is a malformed stride reaching storeVertexAttributes without a bounds check.
  • Other backends with the same streaming path. The report covers the D3D11 backend on Windows. Check whether the equivalent streaming vertex buffer code in other ANGLE backends performs the same narrowing. A positive result is an out-of-bounds read under ASAN with a negative or oversized stride.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 22 min read.

What happened, in plain words

A security researcher found a bug in Google Chrome, in a part of the browser that draws 3D graphics. The bug lets a piece of code that has already been taken over (a "compromised renderer") read memory that belongs to a different, more privileged part of the browser (the "GPU process"). Reading memory you should not be able to read is called an out-of-bounds read, and it can leak information that belongs to other websites or to other parts of the browser.

The bug is a number that is too big for the box it is stored in. The code takes a large number, squeezes it into a smaller type, and the number wraps around and becomes negative. That negative number is then used to move a pointer (a kind of bookmark into memory) backwards instead of forwards, so the code reads from just before the area it was supposed to read from.

The same kind of mistake had already been fixed in a neighbouring file, but the fix was never copied into this one. The researcher wrote a small web page that triggers the bug, built a special version of Chrome that detects memory errors, and showed the error happening. The suggested fix is to check the number before using it, and reject it if it does not fit.

Context

To follow this, you need a few ideas explained from zero.

What is a browser engine? A browser is a program that shows web pages. Inside it, a lot of machinery turns the text of a page into pixels on your screen. Chrome splits that machinery into separate programs, called processes, so that a problem in one does not automatically break the others.

What is a renderer? The renderer is the process that runs the JavaScript and layout of a web page. Each tab usually gets its own renderer. Because it runs code from websites you visit, it is treated as the least trusted part of the browser.

What is the GPU process? The GPU process is a separate process that talks to your graphics card. It does the actual drawing. It is shared by all tabs, so it holds data from many websites at once. Chrome deliberately keeps the renderer and the GPU process apart: if a website manages to take over its renderer, it should still not be able to reach into the GPU process. That separation is called a security boundary, like a wall between two rooms.

What is OpenGL ES and what is ANGLE? OpenGL ES is a standard way for programs to ask a graphics card to draw things. Windows does not speak OpenGL ES natively; it speaks a different language called Direct3D, or D3D. ANGLE is a translation layer: it takes OpenGL ES instructions and rewrites them as D3D instructions. Think of it as an interpreter sitting between two people who do not share a language.

What is a backend? A backend is the specific implementation ANGLE uses for a particular platform. On Windows the default backend is D3D11, which is version 11 of Direct3D.

What is a vertex? A vertex is a corner point of a shape. A triangle has three vertices. Each vertex carries data: its position, a colour, a texture coordinate, and so on. That data is called a vertex attribute.

What is a stride? When vertex data is stored in memory, the attributes for one vertex are packed together, then the attributes for the next vertex, and so on. The stride is the number of bytes from the start of one vertex's data to the start of the next. If each vertex takes 32 bytes, the stride is 32. A negative stride would mean the next vertex is stored before the current one, which is unusual but is exactly what the bug abuses.

What is a pointer? A pointer is a number that says where in memory something lives, like a house address. Adding to a pointer moves it forward; subtracting moves it backward.

What is an integer overflow? Computers store numbers in fixed-size boxes. An int is typically a 32-bit signed integer: it can hold values from about minus two billion to about plus two billion. If you try to put a larger number into that box, the value wraps around, often becoming negative. That wrap is called an integer overflow (or truncation, when a larger type is squeezed into a smaller one).

What is a size_t? A size_t is an unsigned integer type used for sizes and counts. On a 64-bit system it is usually 64 bits wide, so it can hold much larger values than a 32-bit int.

What is an out-of-bounds read? If a program is supposed to read from a specific region of memory and instead reads from just outside it, that is an out-of-bounds read. It can crash the program, or it can quietly return data that belongs to something else.

What is the heap? The heap is the general-purpose pool of memory a program uses for data whose size is decided while it runs. Reading outside a heap allocation is a heap buffer overflow (or underflow, when you read before the start).

What is AddressSanitizer (ASAN)? ASAN is a tool built into a special version of a program that watches every memory access. If the program reads or writes outside a valid region, ASAN stops it and prints a report showing exactly where. It is like a smoke alarm for memory bugs.

What is a command buffer? Because the renderer and the GPU process are separate programs, they communicate by passing messages. The renderer writes drawing commands into a shared block of memory called the command buffer, and the GPU process reads them and executes them. Shared memory means both processes can see the same bytes.

What is a passthrough decoder? The GPU process has code that reads the command buffer and turns each command into a call into ANGLE. The passthrough decoder is a version that passes values almost straight through, with little or no checking, because it assumes the renderer already validated them.

What is a VBO and a client-side array? A Vertex Buffer Object (VBO) is a block of vertex data stored on the graphics card, identified by a number. If no VBO is bound (buffer 0), the data is instead read directly from the program's own memory; that is called a client-side vertex array.

What is WebGL? WebGL is the JavaScript API that lets a web page draw 3D graphics in the browser. It is built on OpenGL ES, so it goes through ANGLE.

What is a PoC? A proof of concept is a small piece of code that demonstrates a bug actually happens, rather than just describing it.

What is a patch? A patch is a small file describing changes to source code. It is applied to a codebase to modify it.

Now the specifics. The code that feeds vertex attribute data into D3D11 buffers lives under third_party/angle/src/libANGLE/renderer/d3d/d3d11/. The file in question is VertexBuffer11.cpp, and the function is VertexBuffer11::storeVertexAttributes at line 114.

That function copies vertex attribute data from the application's memory into a D3D11 vertex buffer. It computes a stride for the attribute, converts it to an int, and then uses that stride in pointer arithmetic to walk the source data. The report is about what happens when the stride does not fit in an int.

The threat model is a compromised renderer talking to the GPU process. Chrome's GPU process is meant to be a security boundary: a renderer that has been compromised should not be able to read the GPU process heap, which holds rendering data from other renderers. The bug is an integer overflow that turns into an out-of-bounds heap read in that GPU process.

Setup

The researcher tested against Chrome 149.0.7810.0, built from Chromium source at HEAD with AddressSanitizer. HEAD means the latest code in the source repository at the time. The vulnerable code was confirmed present at ANGLE commit 3c125a0; a commit is a saved snapshot of the code with an identifier. The report also states that the bug affects current Chrome Stable on Windows, because the static_cast<int> at VertexBuffer11.cpp:114 had not been patched in any release at the time of writing. Stable is the normal release channel that ordinary users run.

The build and run steps are given in the report:

Bash
# 1. Build Chromium with ASAN (release mode, Windows)
gn gen out/AsanRelease --args='is_asan=true is_debug=false is_component_build=false dcheck_always_on=false'
autoninja -C out/AsanRelease content_shell

# 2. Apply validation_bypass.patch (simulates compromised renderer — see below)

# 3. Rebuild (incremental, ~1 min)
autoninja -C out/AsanRelease content_shell

# 4. Run
set ASAN_OPTIONS=detect_leaks=0:symbolize=1:halt_on_error=1
out\AsanRelease\content_shell.exe --enable-gpu --use-angle=d3d11 --no-sandbox --single-process poc.html

Line by line:

  1. gn gen out/AsanRelease --args='...' creates a build directory called out/AsanRelease and configures it. gn is the tool that generates build files. The arguments say: turn on AddressSanitizer (is_asan=true), build in release mode rather than debug (is_debug=false), do not split the build into many shared libraries (is_component_build=false), and do not turn on debug assertions (dcheck_always_on=false). Release mode is faster and closer to what users run.
  2. autoninja -C out/AsanRelease content_shell compiles the program. autoninja is a build runner; -C says which directory to build in; content_shell is a minimal browser used for testing, without the full Chrome user interface.
  3. The comment says to apply validation_bypass.patch, which simulates a compromised renderer. This is needed because the bug requires input that normal renderer-side validation would reject. Without the patch, normal renderer-side validation would reject the malicious values before they reached the vulnerable code.
  4. The second autoninja rebuilds only what changed, which is quick.
  5. set ASAN_OPTIONS=... sets environment variables that control ASAN. detect_leaks=0 turns off leak detection (we are not looking for memory leaks here), symbolize=1 asks ASAN to translate memory addresses into function names in its report, and halt_on_error=1 makes the program stop at the first error.
  6. The final line runs content_shell.exe on poc.html. --enable-gpu turns on GPU acceleration, --use-angle=d3d11 forces the D3D11 backend, --no-sandbox disables the sandbox (the extra isolation layer around processes), and --single-process runs everything in one process so the test is simpler to observe.

The report lists these attached files: poc.html (the Web PoC), web_poc_asan_output.txt (full ASAN output from content_shell), validation_bypass.patch (three patches simulating a compromised renderer), fix.patch (the suggested CheckedNumeric fix), VertexBuffer11OverflowTest.cpp (an ANGLE standalone regression test) and asan_output.txt (ANGLE standalone ASAN output). A regression test is a test kept in the codebase so the same bug cannot quietly come back.

Finding it

The researcher identified a truncation in VertexBuffer11::storeVertexAttributes. The stride is a size_t, and it is cast to int with static_cast<int>. When the stride is larger than INT_MAX (the largest value an int can hold), the cast wraps to a negative value. That negative stride is then used in pointer arithmetic, so the read pointer moves backwards past the start of the buffer allocation instead of forwards. The result is an out-of-bounds heap read in the GPU process.

The researcher recognised this as the same bug class as b/489369089, which had already been fixed in a different file, VertexDataManager.cpp, using CheckedNumeric in commit 641c0d0 ("D3D11: Fix potential OOB read in StoreStaticAttrib"). A bug class is a category of mistake; the same category can appear in many places. CheckedNumeric is a helper type that refuses to silently wrap: it records whether a conversion was valid. The fix was not applied to VertexBuffer11.cpp, and the static_cast<int> truncation remained there.

The report's summary of the vulnerable code:

C++
// VertexBuffer11.cpp:114
int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
// ...
// Line 125 — OOB pointer arithmetic
input += inputStride * start;  // negative stride * start → pointer goes BACKWARD
// Line 133 — reads from OOB memory
vertexFormatInfo.copyFunction(input, inputStride, count, output);

Line by line:

  • int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding)); asks a helper function for the stride, which comes back as a size_t, and forces it into an int. static_cast<int> is a C++ instruction that says "convert this to an int, no questions asked". If the value does not fit, it wraps silently.
  • input += inputStride * start; moves the input pointer forward by the stride multiplied by start. If the stride is negative, the multiplication is negative, and the pointer moves backwards. start is the first vertex index passed to the draw call.
  • vertexFormatInfo.copyFunction(input, inputStride, count, output); calls a function that copies count vertices from input into output, stepping by inputStride each time. Because input is now pointing before the buffer, the copy reads memory it should not touch.

For comparison, the sibling fix in VertexDataManager.cpp:

C++
// VertexDataManager.cpp — FIXED
-const int offset = static_cast<int>(ComputeVertexAttributeOffset(attrib, binding));
+angle::CheckedNumeric<GLintptr> offset = ComputeVertexAttributeOffset(attrib, binding);

This is a diff: lines starting with - are the old code, lines starting with + are the new code. The old line did the same unchecked cast, this time on an offset. The new line stores the result in a CheckedNumeric<GLintptr>, which keeps track of whether the value fits. GLintptr is a signed integer type used for pointer-sized offsets in OpenGL. The same static_cast<int> pattern in VertexBuffer11.cpp was left in place.

Exploitation

The PoC is an HTML page with WebGL that triggers the OOB read. It uses GL_UNSIGNED_BYTE normalised attributes, which forces D3D11 format conversion and therefore the streaming path through storeVertexAttributes. GL_UNSIGNED_BYTE means each component is stored as one byte; "normalised" means the byte is interpreted as a fraction between 0 and 1. Because D3D11 expects a different format, ANGLE has to convert the data on the fly, and that conversion goes through the streaming path, which is the code containing the bug. It sets stride = -4 and calls glDrawArrays(GL_TRIANGLES, first=1, count=3). glDrawArrays is the OpenGL ES call that says "draw these vertices"; GL_TRIANGLES says to draw triangles, first=1 says to start at vertex 1, and count=3 says to draw three vertices.

Because this is a compromised renderer to GPU process bug, the PoC needs the validation bypass patch. The report explains that the patch contains three changes that simulate what a compromised renderer does. Each one removes a check that a normal renderer would have applied.

Step 1: Bypass the stride < 0 check

A compromised renderer writes directly to the GPU command buffer shared memory. The passthrough command decoder's DoVertexAttribPointer (in [redacted].cc:3474) performs no validation on stride: it reads the value and calls ANGLE directly.

C++
// Passthrough decoder — NO validation on stride
error::Error GLES2DecoderPassthroughImpl::DoVertexAttribPointer(
    GLuint indx, GLint size, GLenum type, GLboolean normalized,
    GLsizei stride, const void* ptr) {
  api()->glVertexAttribPointerFn(indx, size, type, normalized, stride, ptr);
  return error::kNoError;
}

Line by line:

  • The function signature takes the index of the attribute (indx), how many components it has (size), the type of each component (type), whether values are normalised (normalized), the stride (stride), and a pointer to the data (ptr).
  • api()->glVertexAttribPointerFn(...) calls the real OpenGL ES function with exactly the same arguments. Nothing is checked in between.
  • return error::kNoError; reports success unconditionally.

This is the first patch: the stride < 0 check in validationES2.h is removed, matching the absence of validation in the passthrough decoder. validationES2.h is a header file containing validation rules for OpenGL ES 2.0 calls.

Step 2: Bypass the WebGL stride limit

The stride ≤ 255 limit is WebGL spec validation enforced in the renderer process (Blink/ANGLE). Blink is the part of Chrome that implements web standards, including WebGL. A compromised renderer bypasses all renderer-side validation, so the second patch removes that limit in validationES.cpp.

Step 3: Bypass the buffer bounds check

A compromised renderer issues glVertexAttribPointer with buffer=0 (no VBO bound), creating client-side vertex arrays. The buffer bounds check in reserveSpaceForAttrib (line 517) only runs when bufferD3D != nullptr:

C++
if (bufferD3D)  // Skipped for client-side arrays (bufferD3D == nullptr)
{
    // bounds check here — NOT reached with client-side arrays
}

Line by line:

  • if (bufferD3D) asks whether there is a D3D buffer object. nullptr is the C++ way of saying "nothing".
  • The braces contain the bounds check, which verifies that the data being read stays inside the buffer.
  • When the renderer uses a client-side array, bufferD3D is nullptr, so the condition is false and the check is skipped entirely.

Client-side arrays bypass this check entirely, allowing the malformed stride to reach storeVertexAttributes. This is the third patch, in VertexDataManager.cpp.

Step 4: Run the PoC and observe the ASAN report

With the patch applied and the build rebuilt, running content_shell on poc.html produces this ASAN output:

Text
==PID==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x1245f3685cbc
READ of size 4 at 0x1245f3685cbc thread T15
    #0 rx::CopyNativeVertexData<signed char,4,4,0>    copyvertex.inc.h:84
    #1 rx::VertexBuffer11::storeVertexAttributes       VertexBuffer11.cpp:133
    #2 rx::StreamingVertexBufferInterface::storeDynamicAttribute  VertexBuffer.cpp:206
    #3 rx::VertexDataManager::storeDynamicAttrib        VertexDataManager.cpp:595
    #4 rx::VertexDataManager::storeDynamicAttribs       VertexDataManager.cpp:462
    #5 rx::VertexArray11::updateDynamicAttribs          VertexArray11.cpp:330
    #6 rx::VertexArray11::syncStateForDraw              VertexArray11.cpp:163
    #7 rx::StateManager11::updateState                  StateManager11.cpp:2001
    #8 rx::Context11::drawArrays                        Context11.cpp:285
    #9 GL_DrawArrays                                    entry_points_gles_2_0_autogen.cpp:1819
    #10 gl::RealGLApi::glDrawArraysFn                   gl_gl_api_implementation.cc:390
    #11 gpu::gles2::GLES2DecoderPassthroughImpl::DoDrawArrays  [redacted].cc:1149
    #12 gpu::gles2::GLES2DecoderPassthroughImpl::DoCommandsImpl  gles2_cmd_decoder_passthrough.cc:745
    #13 gpu::CommandBufferService::Flush                 command_buffer_service.cc:267

0x1245f3685cbc is located 4 bytes before 256-byte region [0x1245f3685cc0,0x1245f3685dc0)
SUMMARY: AddressSanitizer: heap-buffer-overflow copyvertex.inc.h:84

How to read this:

  • The first line says ASAN caught a heap-buffer-overflow at a particular memory address. PID stands for process ID, a number identifying the running program.
  • READ of size 4 means the program tried to read 4 bytes. thread T15 says which thread did it; a thread is a unit of execution inside a process.
  • The numbered lines starting with # are a stack trace: the chain of function calls that led to the error, with the innermost call first. #0 is where the bad read happened, in rx::CopyNativeVertexData<signed char,4,4,0> at copyvertex.inc.h:84. #1 is the caller, VertexBuffer11::storeVertexAttributes at line 133, which is the line from the vulnerable code. The trace continues up through the streaming vertex buffer (#2), VertexDataManager (#3, #4), the vertex array and state manager (#5 to #7), the draw call (#8, #9), the GL API wrapper (#10), the passthrough decoder (#11, #12) and finally the command buffer service (#13).
  • The line 0x1245f3685cbc is located 4 bytes before 256-byte region [...] is the key detail: the bad address sits 4 bytes before the start of a 256-byte block of memory. That is the bad address ASAN reported.
  • SUMMARY repeats the error type and the innermost location.

The stack shows the read happening in rx::CopyNativeVertexData<signed char,4,4,0> at copyvertex.inc.h:84, called from VertexBuffer11::storeVertexAttributes at line 133, reached through the streaming vertex buffer and VertexDataManager from glDrawArrays. The faulting address is 4 bytes before a 256-byte region.

Data flow

The report summarises the path from the compromised renderer to the overflow:

Text
Compromised renderer → GPU command buffer shared memory: stride = 0xFFFFFFFC
  → Passthrough decoder: ZERO validation, calls ANGLE directly
  → ANGLE stores as GLuint mStride = 0xFFFFFFFC
  → ComputeVertexAttributeStride() returns size_t(0xFFFFFFFC)
  → VertexBuffer11.cpp:114: static_cast<int>(0xFFFFFFFC) = -4
  → Line 125: input += (-4) * start → pointer goes BACKWARD
  → Line 133: copyFunction reads OOB memory → HEAP BUFFER OVERFLOW

Line by line:

  • The renderer writes 0xFFFFFFFC into the shared command buffer as the stride. 0x means the number is written in hexadecimal, base 16. 0xFFFFFFFC is 4294967292 as an unsigned 32-bit number, and it is also the bit pattern for -4 when read as a signed 32-bit number.
  • The passthrough decoder does no validation and calls ANGLE directly.
  • ANGLE stores the value as a GLuint, an unsigned 32-bit integer type used by OpenGL, so it keeps the value 0xFFFFFFFC.
  • ComputeVertexAttributeStride() returns it as a size_t, which on a 64-bit system is 64 bits wide, so the value is still 0xFFFFFFFC.
  • At line 114, static_cast<int>(0xFFFFFFFC) produces -4, because the top bit is now interpreted as a sign bit.
  • At line 125, multiplying -4 by start gives a negative offset, so the pointer moves backwards.
  • At line 133, the copy function reads from that backward pointer, which is outside the buffer, and ASAN reports a heap buffer overflow.

Root cause

The mistake is the unchecked narrowing conversion at VertexBuffer11.cpp:114. ComputeVertexAttributeStride returns a size_t, and static_cast<int> silently truncates it. A stride above INT_MAX becomes negative, and a negative stride in the pointer arithmetic at line 125 moves the read pointer backwards past the allocation.

The existing defences did not stop it for three reasons, all of which depend on the compromised renderer assumption:

  1. The passthrough command decoder performs no validation on stride, so a renderer writing directly to the command buffer can supply any value.
  2. The WebGL stride ≤ 255 limit is enforced in the renderer process, which a compromised renderer bypasses.
  3. The buffer bounds check in reserveSpaceForAttrib only runs when bufferD3D != nullptr, so client-side arrays (buffer 0) skip it.

The same bug class had already been fixed in VertexDataManager.cpp with CheckedNumeric, but the fix was not applied to VertexBuffer11.cpp.

Impact

The attacker, a compromised renderer, controls three parameters:

  • stride: the direction and step size of the pointer displacement.
  • start (glDrawArrays first): multiplied with the stride, it controls the total read offset.
  • count (glDrawArrays count): controls the volume of data read from out-of-bounds memory.

Together these enable arbitrary read windows into the GPU process heap. That heap contains cross-origin rendering data, GPU command buffers and D3D11 resource metadata from all renderer processes. Cross-origin means data belonging to a different website than the one the attacker controls; being able to read it would break the rule that one site cannot see another site's data. The report classifies the issue as memory corruption and states that it is not related to a crash.

Fix

The suggested fix applies the same CheckedNumeric pattern used in the sibling fix (b/489369089):

Diff
--- a/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
+++ b/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp
@@ -111,7 +111,9 @@
 {
     ASSERT(mBuffer.valid());

-    int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding));
+    angle::CheckedNumeric<int> checkedInputStride = ComputeVertexAttributeStride(attrib, binding);
+    ANGLE_CHECK_GL_MATH(GetImplAs<ContextD3D>(context), checkedInputStride.IsValid());
+    int inputStride = checkedInputStride.ValueOrDie();

Line by line:

  • The first two lines are the diff header, naming the file being changed.
  • @@ -111,7 +111,9 @@ is a hunk header: it says the change starts around line 111 in the old file and line 111 in the new file, covering 7 lines before and 9 lines after.
  • ASSERT(mBuffer.valid()); is unchanged context: it checks that the buffer object is valid.
  • The removed line is the old unchecked cast.
  • angle::CheckedNumeric<int> checkedInputStride = ... stores the stride in a checked type that remembers whether the conversion was valid.
  • ANGLE_CHECK_GL_MATH(GetImplAs<ContextD3D>(context), checkedInputStride.IsValid()); asks whether the value is valid and, if not, raises a GL math error through ANGLE's error mechanism. GetImplAs<ContextD3D>(context) fetches the D3D context object needed to report the error.
  • int inputStride = checkedInputStride.ValueOrDie(); extracts the value. ValueOrDie means "give me the value, and if it is invalid, stop". Because the previous line already rejected invalid values, this is safe.

The change replaces the unchecked cast with a CheckedNumeric<int>, validates it with ANGLE_CHECK_GL_MATH, and only then extracts the value. A stride that does not fit in an int is rejected instead of wrapping to a negative value.

Variants to test

These are other places a researcher might look for the same kind of mistake.

  • Other static_cast<int> narrowing of size_t strides or offsets in ANGLE's D3D11 backend. Search for the same pattern in sibling files such as VertexDataManager.cpp and VertexBuffer.cpp. A positive result is a value above INT_MAX reaching pointer arithmetic and an ASAN heap-buffer-overflow in the GPU process.
  • Other passthrough decoder entry points that forward parameters without validation. The report shows DoVertexAttribPointer calling ANGLE directly. Look for other Do* functions in [redacted].cc that pass sizes, strides or offsets straight through. A positive result is a malformed value from the command buffer reaching ANGLE unchecked.
  • Client-side array paths that skip bounds checks. The report shows reserveSpaceForAttrib only checking when bufferD3D != nullptr. Test other attribute paths with buffer=0 and malformed strides. A positive result is a malformed stride reaching storeVertexAttributes without a bounds check.
  • Other backends with the same streaming path. The report covers the D3D11 backend on Windows. Check whether the equivalent streaming vertex buffer code in other ANGLE backends performs the same narrowing. A positive result is an out-of-bounds read under ASAN with a negative or oversized stride.

Glossary

  • ANGLE: a translation layer in Chrome that converts OpenGL ES instructions into a platform graphics API such as Direct3D.
  • API: an agreed set of functions one piece of software offers to another so they can talk to each other.
  • ASAN (AddressSanitizer): a tool built into a special build of a program that detects out-of-bounds memory accesses and reports them.
  • Attribute: a piece of per-vertex data such as position or colour.
  • Backend: the specific implementation of a layer for a particular platform, here D3D11 on Windows.
  • Blink: the part of Chrome that implements web standards, including WebGL.
  • Bounty: a payment a company makes to a researcher who reports a valid security bug.
  • Buffer: a block of memory used to hold data.
  • Bug class: a category of mistake that can appear in many places in code.
  • CheckedNumeric: a C++ helper type that records whether a numeric conversion was valid instead of silently wrapping.
  • Client-side vertex array: vertex data read directly from the program's own memory when no VBO is bound (buffer 0).
  • Command buffer: a shared block of memory where the renderer writes drawing commands for the GPU process to execute.
  • Commit: a saved snapshot of a code repository with an identifier.
  • Compromised renderer: a renderer process that an attacker has taken control of.
  • Cross-origin: data belonging to a different website than the one being viewed.
  • D3D11 (Direct3D 11): Microsoft's graphics API, version 11, used on Windows.
  • Diff: a file showing lines removed and added to source code.
  • GLuint: an unsigned 32-bit integer type used by OpenGL.
  • GPU process: the separate Chrome process that talks to the graphics card and is shared by all tabs.
  • HEAD: the latest state of a source code repository.
  • Heap: the general-purpose pool of memory a program uses for data whose size is decided at runtime.
  • Heap buffer overflow: reading or writing outside a block of heap memory.
  • Hexadecimal: base-16 number notation, written with a 0x prefix.
  • Integer overflow: a number too large for its storage type wrapping around to an unexpected value.
  • INT_MAX: the largest value a signed 32-bit integer can hold.
  • Memory corruption: a bug that causes a program to read or write memory it should not.
  • Normalised: a value scaled so that it falls within a standard range, such as 0 to 1.
  • OpenGL ES: a standard API for drawing graphics, used on mobile and embedded systems and by WebGL.
  • Out-of-bounds read: reading memory outside the region a program is supposed to access.
  • Passthrough decoder: GPU process code that forwards commands from the command buffer to ANGLE with little or no validation.
  • Patch: a file describing changes to source code, applied to modify a codebase.
  • Pointer: a value that identifies a location in memory.
  • PoC (proof of concept): a small piece of code that demonstrates a bug actually happens.
  • Process: an independent running program with its own memory.
  • Regression test: a test kept in a codebase to ensure a fixed bug does not return.
  • Renderer: the Chrome process that runs a web page's code and layout.
  • Security boundary: a separation between two parts of a system that an attacker should not be able to cross.
  • size_t: an unsigned integer type used for sizes and counts, usually 64 bits on a 64-bit system.
  • Stack trace: a list of the function calls that led to a particular point in a program.
  • Stride: the number of bytes from the start of one vertex's data to the start of the next.
  • Thread: a unit of execution inside a process.
  • Truncation: discarding the high bits of a value when storing it in a smaller type.
  • VBO (Vertex Buffer Object): a block of vertex data stored on the graphics card, identified by a number.
  • Vertex: a corner point of a shape, carrying data such as position and colour.
  • WebGL: the JavaScript API that lets a web page draw 3D graphics in the browser.

More by Quac Tran

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.