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

Heap buffer overflow in TabStrip (CVE-2026-10995)

A heap buffer overflow occurs in TabDragController::AttachToNewContext when dragging a chrome://whats-new/ tab out of the tab strip after installing an extension. An attacker could potentially exploit this to crash the browser or execute arbitrary code.

Sven Dysthe -dys) Follow

Originally disclosed on Chrome VRP

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

Steps to reproduce the problem

  1. Install extension to Chrome.
  2. Drag chrome://whats-new/ tab out (titled "What's new").

Problem Description

heap-buffer-overflow in TabDragController::AttachToNewContext. Please check comments for RCA and summary of the issue + patch.

Summary

heap-buffer-overflow in TabDragController::AttachToNewContext

Custom Questions

Type of crash:

browser

Reporter credit:

Sven @svn_dy

Additional Data

Category: Security
Chrome Channel: Canary
Regression: Yes \

The original report as published on the Chromium issue tracker, by Sven Dysthe (@svn-dys). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

This is a Chrome VRP report about a heap buffer overflow in the TabStrip component, tracked as CVE-2026-10995. The researcher is credited as Sven Dysthe (@svn-dys), the severity is medium, and the bounty was 2,000 USD. The report was disclosed on 2 June 2026. The crash type is recorded as a browser crash, the channel was Canary, and the issue is marked as a regression.

The reproduction is short and entirely about the tab strip's drag handling:

  1. Install extension to Chrome.
  2. Drag chrome://whats-new/ tab out (titled "What's new").

The problem description names the faulting function directly: a heap-buffer-overflow in TabDragController::AttachToNewContext. The report says the root cause analysis, a summary of the issue and the patch are in the comments, but those comments are not part of the text here, so the exact trigger inside the extension and the precise faulty access are not described. What we have is the entry point: with an extension installed, dragging the chrome://whats-new/ tab out of the window, and a heap-buffer-overflow reported in TabDragController::AttachToNewContext.

Root cause

The report points to TabDragController::AttachToNewContext, the code that runs when a dragged tab is attached to a new context, for example when a tab is torn out of a window into a new one. A heap buffer overflow there likely means the code indexes or copies into a buffer sized from one assumption (the number of tabs, the source window's tab model, or the context the drag started in) while the actual data reflects another, for example because an extension has altered the tab or window state during the drag. The report itself does not state the faulty access, so this is inference from the function name and the reproduction steps.

Impact

The report records a browser crash. A heap buffer overflow in the browser process is potentially more serious than a renderer crash, because the browser process holds privileges the renderer does not, but the report does not demonstrate exploitation, code execution or any effect beyond the crash. The severity assigned was medium.

How this kind of bug works

A heap buffer overflow happens when code writes past the end (or before the start) of a heap allocation. In C++ browser code this usually comes from one of a few patterns: an index computed from one collection used against another collection of different length; a size calculated before a state change and used after it; a copy into a fixed-size buffer with a length taken from untrusted or stale input; or an off-by-one in a loop bound. UI code that reacts to user gestures is a common home for these, because the gesture can interleave with asynchronous state changes (a tab closing, a window being created, an extension modifying state) between the moment a size is computed and the moment it is used.

Defences are layered. Memory-safe languages and hardened allocators (such as PartitionAlloc in Chromium) make exploitation harder but do not prevent the overflow. Bounds-checked containers, assertions on index ranges, and re-validating state after any callback or asynchronous step are the practical fixes. Fuzzing and sanitizers (ASan, MSan) catch these bugs early, which is why a crash report with a sanitizer stack is often the start of a security fix.

How to test for it

This class of bug is found by exercising state transitions in UI and IPC code, not by sending crafted HTTP requests. A general method:

  1. Identify code paths that copy or index into buffers using sizes or indices derived from state that can change during the operation. Drag and drop, tab and window management, session restore, and anything that reacts to extension APIs are good candidates.
  2. Build a test that changes that state at the worst moment: start the gesture, then close, open, move or modify the object involved before the gesture completes. In a browser, this means dragging a tab while an extension or another window changes the tab model.
  3. Run the target under a sanitizer build (ASan for heap overflows) so that an out-of-bounds access is reported with a stack trace naming the function, rather than silently corrupting memory.
  4. A positive result is a sanitizer report showing a read or write outside an allocation, with the allocation and access stacks pointing at the same logical object. Reproduce it several times to confirm it is deterministic and not a one-off.

Common false positives: use-after-free reports that look like overflows because the allocation was freed and reused; stack overflows mislabelled as heap; and crashes caused by an unrelated assertion firing first. Check the sanitizer's allocation and free stacks before concluding.

How it is fixed

The standard fix is to make the size and the index agree: recompute the bound after any state change, validate indices against the current container size, or switch to a bounds-checked container. Where the overflow comes from a copy, the length should be clamped to the destination capacity. Adding a regression test that reproduces the original gesture sequence prevents reintroduction. The report points to the comments for the root cause analysis, a summary of the issue and the patch, but those comments are not included here.

Hunting notes

Bugs like this tend to hide in gesture-driven UI code and in code that bridges two subsystems, such as an extension API and the tab or window model. Recon signals include recent refactors of drag, tab or window handling, changelogs mentioning regressions in those areas, and any code that caches a count or pointer across a callback. To get a report accepted, show a deterministic reproduction, the sanitizer stack naming the function and the allocation, and a clear statement of what the crash means for the browser process. If exploitation is not demonstrated, say so and let the severity follow from the crash.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

This is a bug report filed with Google's Chrome Vulnerability Reward Program (VRP), a scheme that pays people for finding and reporting security flaws in Chrome. The flaw is tracked as CVE-2026-10995. A CVE is a public catalogue number given to a security issue so everyone can refer to the same thing. The researcher is credited as Sven Dysthe (@svn-dys), the severity was rated medium, and the bounty paid was 2,000 USD. The report was disclosed on 2 June 2026.

The problem sits in a part of Chrome called TabStrip. The tab strip is the row of tabs at the top of the browser window. The report describes a heap buffer overflow in a function called TabDragController::AttachToNewContext. A heap buffer overflow is a memory bug: a program writes data past the end of a reserved block of memory, corrupting whatever sits next to it. Think of a row of numbered lockers and someone stuffing a parcel into locker 11 when only lockers 1 to 10 exist; the parcel lands in the next row and damages whatever is stored there.

The crash type is recorded as a browser crash, the Chrome channel was Canary (the experimental build where new code lands first), and the issue is marked as a regression, meaning it worked before and broke in a later change.

Reproducing it

The reproduction is only two steps:

  1. Install extension to Chrome.
  2. Drag chrome://whats-new/ tab out (titled "What's new").

An extension is a small add-on program that can interact with the browser, for example by changing tabs or windows. chrome://whats-new/ is one of Chrome's built-in internal pages, the ones that start with chrome:// rather than https://. Dragging a tab out means pulling it away from the window with the mouse so the browser tries to move it into a new window.

Why does each step matter? The first step puts an extension into the picture, so the browser is running extra code that can touch tab and window state. The second step performs a gesture, the drag, that forces Chrome to detach the tab from its current window and attach it to a new one. That attach step is exactly where the faulty function, AttachToNewContext, runs. The reproduction combines an installed extension with dragging the chrome://whats-new/ tab out.

The report says the root cause analysis, a summary of the issue and the patch are in the comments, but those comments are not part of the text here. So the exact trigger inside the extension and the precise faulty memory access are not described. What we have is the entry point: with an extension installed, dragging the chrome://whats-new/ tab out of the window, and a heap-buffer-overflow reported in TabDragController::AttachToNewContext.

What the fault likely is

AttachToNewContext is the code that runs when a dragged tab is attached to a new context, for example when a tab is torn out of a window into a new one. A heap buffer overflow there likely means the code indexes or copies into a buffer sized from one assumption (the number of tabs, the source window's tab model, or the context the drag started in) while the actual data reflects another, for example because an extension has altered the tab or window state during the drag. The report itself does not state the faulty access, so this is inference from the function name and the reproduction steps.

Impact

The report records a browser crash. A heap buffer overflow in the browser process is potentially more serious than a crash in a single web page's process, because the browser process holds privileges that page processes do not. But the report does not demonstrate exploitation, code execution or any effect beyond the crash. The severity assigned was medium.

In general, how this kind of bug works

A heap buffer overflow happens when code writes past the end (or before the start) of a heap allocation. The heap is the pool of memory a program reserves at runtime for objects it creates as it goes. In C++ browser code this usually comes from one of a few patterns: an index computed from one collection used against another collection of different length; a size calculated before a state change and used after it; a copy into a fixed-size buffer with a length taken from untrusted or stale input; or an off-by-one in a loop bound. UI code that reacts to user gestures is a common home for these, because the gesture can interleave with asynchronous state changes (a tab closing, a window being created, an extension modifying state) between the moment a size is computed and the moment it is used.

Defences are layered. Memory-safe languages and hardened allocators (such as PartitionAlloc in Chromium) make exploitation harder but do not prevent the overflow. Bounds-checked containers, assertions on index ranges, and re-validating state after any callback or asynchronous step are the practical fixes. Fuzzing and sanitizers (ASan, MSan) catch these bugs early, which is why a crash report with a sanitizer stack is often the start of a security fix.

In general, how to test for it

This class of bug is found by exercising state transitions in UI and IPC code, not by sending crafted HTTP requests. A general method:

  1. Identify code paths that copy or index into buffers using sizes or indices derived from state that can change during the operation. Drag and drop, tab and window management, session restore, and anything that reacts to extension APIs are good candidates.
  2. Build a test that changes that state at the worst moment: start the gesture, then close, open, move or modify the object involved before the gesture completes. In a browser, this means dragging a tab while an extension or another window changes the tab model.
  3. Run the target under a sanitizer build (ASan for heap overflows) so that an out-of-bounds access is reported with a stack trace naming the function, rather than silently corrupting memory.
  4. A positive result is a sanitizer report showing a read or write outside an allocation, with the allocation and access stacks pointing at the same logical object. Reproduce it several times to confirm it is deterministic and not a one-off.

Common false positives: use-after-free reports that look like overflows because the allocation was freed and reused; stack overflows mislabelled as heap; and crashes caused by an unrelated assertion firing first. Check the sanitizer's allocation and free stacks before concluding.

In general, how it is fixed

The standard fix is to make the size and the index agree: recompute the bound after any state change, validate indices against the current container size, or switch to a bounds-checked container. Where the overflow comes from a copy, the length should be clamped to the destination capacity. Adding a regression test that reproduces the original gesture sequence prevents reintroduction. The report points to the comments for the root cause analysis, a summary of the issue and the patch, but those comments are not included here.

In general, where to look

Bugs like this tend to hide in gesture-driven UI code and in code that bridges two subsystems, such as an extension API and the tab or window model. Recon signals include recent refactors of drag, tab or window handling, changelogs mentioning regressions in those areas, and any code that caches a count or pointer across a callback. To get a report accepted, show a deterministic reproduction, the sanitizer stack naming the function and the allocation, and a clear statement of what the crash means for the browser process. If exploitation is not demonstrated, say so and let the severity follow from the crash.

Glossary

  • CVE: a public catalogue number assigned to a specific security issue.
  • VRP: Vulnerability Reward Program, a scheme that pays researchers for reporting security flaws.
  • Bounty: the money paid for an accepted report.
  • Severity: a rating of how serious a flaw is, here medium.
  • TabStrip: the row of tabs at the top of the browser window.
  • Heap: the pool of memory a program reserves at runtime for objects it creates as it goes.
  • Heap buffer overflow: writing data past the end of a reserved block of memory, corrupting what sits next to it.
  • Function: a named block of code that performs a task, here TabDragController::AttachToNewContext.
  • Extension: a small add-on program that can interact with the browser.
  • chrome:// page: a built-in internal page of Chrome, such as chrome://whats-new/.
  • Canary: the experimental Chrome build where new code lands first.
  • Regression: a bug that worked before and broke in a later change.
  • Browser process: the central Chrome process that holds privileges page processes do not.
  • Root cause analysis (RCA): the investigation that explains why a bug happens.
  • Patch: the code change that fixes a bug.
  • Sanitizer: a tool that instruments a program to detect memory errors, such as ASan for heap overflows.
  • Fuzzing: feeding a program many generated inputs to find crashes automatically.
  • PartitionAlloc: Chromium's hardened memory allocator.
  • Use-after-free: using memory after it has been freed, which can look like an overflow.
  • IPC: inter-process communication, the messaging between Chrome's processes.
  • False positive: a reported problem that turns out not to be the bug it appears to be.

More by Sven Dysthe -dys)

View all

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