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

Type Confusion in V8 (CVE-2026-10022)

An extension API path lets an extension page replace a prototype method and invoke a promise's success callback twice, so V8 resolves the same internal promise twice. The second resolve overwrites the promise's reaction list with a JavaScript value, and when the queued thenable job runs V8 treats that value as internal data and crashes the renderer.

ggwhyp Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 14 days

VULNERABILITY DETAILS

chrome.runtime.getPackageDirectoryEntry() exposes a promise-returning extension binding path that passes an internal promise callback adaptor into DirectoryEntry.getDirectory(). An extension page can obtain a real DirectoryEntry, replace DirectoryEntry.prototype.getDirectory, and synchronously call the supplied success callback twice before the queued microtasks run.

The first success callback call passes a thenable. V8 queues a PromiseResolveThenableJobTask, while the target JSPromise is still pending. The second success callback call passes another value and resolves the same raw v8::Promise::Resolver. When the queued thenable job later runs, V8 attempts to fulfill the same promise again.

In release V8, FulfillPromise relies on a debug-only pending-state invariant before it unsafe-casts promise.reactions_or_result to a PromiseReaction list. After the second resolve, reactions_or_result contains the second resolve value instead of a reaction list. V8 then treats the JavaScript value as internal PromiseReaction data and crashes in Builtins_FulfillPromise.

The attached PoC demonstrates a renderer memory-safety crash in an official Google Chrome stable release build. The second resolve value is the JavaScript number 0x20a0a0a0, whose tagged Smi representation is 0x41414140. The release crash confirms that V8 dereferences cage_base + 0x41414140 + 0x7 from Builtins_FulfillPromise.

This report does not claim a controlled read/write primitive or a V8 Sandbox bypass.

VERSION

Chrome Version: Google Chrome 148.0.7778.167 + stable

Chrome Build ID: 23b8fa1ce2d3b3613509b206bdd65be3b3f2f149

Operating System: Ubuntu 24.04.3 LTS, Linux x64

REPRODUCTION CASE

The CRX is signed with a fixed test key and has extension ID:

Text
nbpgoaaffdflnihomombbeimnpfajhap

Official Google Chrome release blocks --load-extension, so the release repro uses the standard Linux external extension installation path for a CRX.

Steps:

  1. Put the attached ext.crx at an absolute path, for example /tmp/ext.crx.

  2. Register the CRX as an external extension:

Shell
sudo mkdir -p /usr/share/google-chrome/extensions
sudo tee /usr/share/google-chrome/extensions/nbpgoaaffdflnihomombbeimnpfajhap.json >/dev/null <<EOF
{
  "external_crx": "/tmp/ext.crx",
  "external_version": "0.1"
}
EOF
  1. Start official stable Google Chrome with a fresh profile:
Shell
USER_DATA_DIR="$(mktemp -d)"
google-chrome-stable \
  --user-data-dir="$USER_DATA_DIR" \
  --no-first-run \
  --no-default-browser-check \
  --enable-logging=stderr \
  --v=1 \
  about:blank
  1. The extension service worker opens test.html automatically on install.

  2. The renderer crashes in Builtins_FulfillPromise after the second callback returns and the queued thenable job runs.

  3. Cleanup after the test:

Shell
sudo rm -f /usr/share/google-chrome/extensions/nbpgoaaffdflnihomombbeimnpfajhap.json

FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION

Type of crash: renderer / tab

Crash State, symbolized with the public release debug-info package for Google Chrome 148.0.7778.167:

Text
Crash reason:  SIGSEGV / SEGV_ACCERR
Crash address: 0x169b41414147

Thread 0 (crashed)
 0  chrome!Builtins_FulfillPromise + 0x41
    rdx = 0x0000169b41414140
    r14 = 0x0000169b00000000
    rip = 0x000063d80d26fa81
 1  chrome!Builtins_ResolvePromise + 0x44
 2  chrome!Builtins_PromiseCapabilityDefaultResolve + 0x3e
 3  chrome!Builtins_InterpreterEntryTrampoline + 0x143
 4  chrome!Builtins_PromiseResolveThenableJob + 0x216
 5  chrome!Builtins_RunMicrotasks + 0x459
 6  chrome!Builtins_JSRunMicrotasksEntry + 0xab
 7  chrome!v8::internal::(anonymous namespace)::Invoke(...) + 0x3c0
 8  chrome!v8::internal::(anonymous namespace)::InvokeWithTryCatch(...) + 0x62
 9  chrome!v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) + 0x23f
10  chrome!blink::V8ScriptRunner::CallFunction(...) + 0x732
11  chrome!blink::V8FunctionExecutor::Execute(...) + 0x164
12  chrome!blink::PausableScriptExecutor::ExecuteAndDestroySelf() + 0xff
13  chrome!blink::PausableScriptExecutor::CreateAndRun(...) + 0x334
14  chrome!blink::WebLocalFrameImpl::RequestExecuteV8Function(...) + 0x3d
15  chrome!extensions::ScriptContext::SafeCallFunction(...) + 0x2a2
16  chrome!extensions::ExtensionJSRunner::RunJSFunction(...) + 0x56
17  chrome!extensions::APIRequestHandler::AsyncResultHandler::CallCustomCallback(...) + 0x234
18  chrome!extensions::APIRequestHandler::AsyncResultHandler::ResolveRequest(...) + 0x2b4
19  chrome!extensions::APIRequestHandler::CompleteRequestImpl(...) + 0x1d3
20  chrome!extensions::APIRequestHandler::CompleteRequest(...) + 0x4d
21  chrome!extensions::APIBindingsSystem::CompleteRequest(...) + 0x29
22  chrome!extensions::NativeExtensionBindingsSystem::HandleResponse(...) + 0x9f
23  chrome!extensions::MainThreadIPCMessageSender::OnResponse(...) + 0x55

Fault address analysis:

Text
r14 = 0x0000169b00000000   // V8 pointer-compression cage base
rdx = 0x0000169b41414140   // cage_base + tagged Smi 0x41414140
crash address = 0x169b41414147

Faulting instruction:

ASM
661ea81: cmpl $0x0, 0x7(%rdx)
661ea85: jne  0x661eb58
661ea8b: movl 0xf(%rdx), %ecx

The crash address is rdx + 0x7, matching a confused PromiseReaction field access after promise.reactions_or_result was overwritten by the second resolve value.

CREDIT INFORMATION

Reporter credit: ggwhyp

The original report as published on the Chromium issue tracker, by ggwhyp. 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 a missing guard against double-resolving the same v8::Promise::Resolver, combined with a release-only reliance on a debug invariant before unsafe-casting reactions_or_result to a PromiseReaction list.

Impact

A renderer memory-safety crash (SIGSEGV) is demonstrated in stable Chrome; the report does not claim a controlled read/write primitive or a V8 Sandbox bypass.

What the attacker needed

Victim installs a malicious extension; Chrome stable on Linux x64

How it was found

  1. Place the attached CRX at an absolute path on disk.
  2. Register the CRX as an external extension via the Linux external extension JSON file.
  3. Start official stable Chrome with a fresh profile and logging enabled.
  4. The extension service worker opens its test page automatically on install.
  5. The renderer crashes in Builtins_FulfillPromise once the queued thenable job runs.
  6. Remove the external extension JSON file to clean up.

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 promise is JavaScript's way of representing a result that will arrive later; it can only be settled once. Here an extension could settle the same promise twice, and the browser engine (V8) assumed that could never happen. When it later processed the leftover work, it read a normal number as if it were an internal data structure and crashed the tab.

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 ggwhyp

View all

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