Skip to content
DoS Advisory Advanced CVE-2025-7656

Integer overflow in V8 (CVE-2025-7656)

A debug check in V8's ARM64 assembler fails when compiling a JavaScript function with Maglev, causing a fatal error and crash. An attacker could trigger this crash by running a crafted script, leading to denial of service.

Shaheen Fazim Follow

Originally disclosed on Chrome VRP

Bounty$7,000 High View original
  • Fix shipped in 29 days

#
# Fatal error in ../../src/codegen/arm64/assembler-arm64.cc, line 4917
# Debug check failed: pc_offset() < unresolved_branches_first_limit().
#
#
#
#FailureMessage Object: 0x16d305468
==== C stack trace ===============================

    0   libv8_libbase.dylib                 0x0000000104389ee8 v8::base::debug::StackTrace::StackTrace() + 24
    1   libv8_libplatform.dylib             0x00000001043c67c8 v8::platform::(anonymous namespace)::PrintStackTrace() + 116
    2   libv8_libbase.dylib                 0x000000010436d5cc V8_Fatal(char const*, int, char const*, ...) + 352
    3   libv8_libbase.dylib                 0x000000010436ced0 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) + 0
    4   libv8.dylib                         0x000000010c96b6dc v8::internal::Assembler::CheckVeneerPool(bool, bool, unsigned long) + 232
    5   libv8.dylib                         0x000000010aeb3208 v8::internal::Assembler::Emit(unsigned int) + 132
    6   libv8.dylib                         0x000000010c96bc8c v8::internal::Assembler::EmitVeneers(bool, bool, unsigned long) + 908
    7   libv8.dylib                         0x000000010c977f14 v8::internal::MacroAssembler::PushHelper(int, int, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&) + 136
    8   libv8.dylib                         0x000000010c3a8d48 void v8::internal::maglev::detail::PushIteratorReverse<v8::internal::maglev::RepeatIterator<v8::internal::Register>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 324
    9   libv8.dylib                         0x000000010c3a8aec void v8::internal::maglev::detail::PushIteratorReverse<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 108
    10  libv8.dylib                         0x000000010c35ff7c v8::internal::maglev::CallKnownJSFunction::GenerateCode(v8::internal::maglev::MaglevAssembler*, v8::internal::maglev::ProcessingState const&) + 356
    11  libv8.dylib                         0x000000010bf32110 v8::internal::maglev::ProcessResult v8::internal::maglev::NodeMultiProcessor<v8::internal::maglev::(anonymous namespace)::SafepointingNodeProcessor, v8::internal::maglev::(anonymous namespace)::MaglevCodeGeneratingNodeProcessor>::Process<v8::internal::maglev::CallKnownJSFunction>(v8::internal::maglev::CallKnownJSFunction*, v8::internal::maglev::ProcessingState const&) + 1160
    12  libv8.dylib                         0x000000010beef718 v8::internal::maglev::MaglevCodeGenerator::EmitCode() + 7092
    13  libv8.dylib                         0x000000010beed8d4 v8::internal::maglev::MaglevCodeGenerator::Assemble() + 48
    14  libv8.dylib                         0x000000010bfc82f0 v8::internal::maglev::MaglevCompiler::Compile(v8::internal::LocalIsolate*, v8::internal::maglev::MaglevCompilationInfo*) + 5532
    15  libv8.dylib                         0x000000010c0e514c v8::internal::maglev::MaglevCompilationJob::ExecuteJobImpl(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 96
    16  libv8.dylib                         0x000000010af9587c v8::internal::OptimizedCompilationJob::ExecuteJob(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 160
    17  libv8.dylib                         0x000000010c0e718c v8::internal::maglev::MaglevConcurrentDispatcher::JobTask::Run(v8::JobDelegate*) + 856
    18  libv8_libplatform.dylib             0x00000001043c52cc v8::platform::DefaultJobWorker::Run() + 292
    19  libv8_libplatform.dylib             0x00000001043c7d0c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 276
    20  libv8_libbase.dylib                 0x00000001043882ec v8::base::ThreadEntry(void*) + 180
    21  libsystem_pthread.dylib             0x00000001911fac0c _pthread_start + 136
    22  libsystem_pthread.dylib             0x00000001911f5b80 thread_start + 8
zsh: trace trap  ./v8/v8/out/debug/d8 poc.js

VERSION

V8 version 13.9.0 (candidate)

REPRODUCTION CASE

Build: v8 Debug build, MacOS arm64

Run: ./d8 poc.js


Reporter credit: Shaheen Fazim

The original report as published on the Chromium issue tracker, by Shaheen Fazim. 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. 6 min read.

What the report shows

This is a crash report from V8, the JavaScript engine used by Google Chrome. The report gives a proof-of-concept script, poc.js, and a debug build of V8 on macOS arm64, and shows a fatal debug check inside the arm64 assembler.

The version tested is stated plainly:

Text
V8 version 13.9.0 (candidate)

The build and run instructions are:

Text
Build: v8 Debug build, MacOS arm64

Run: ./d8 poc.js

The output the researcher captured begins with the fatal error header and the failed debug check:

Text
#
# Fatal error in ../../src/codegen/arm64/assembler-arm64.cc, line 4917
# Debug check failed: pc_offset() < unresolved_branches_first_limit().
#
#
#
#FailureMessage Object: 0x16d305468
==== C stack trace ===============================

    0   libv8_libbase.dylib                 0x0000000104389ee8 v8::base::debug::StackTrace::StackTrace() + 24
    1   libv8_libplatform.dylib             0x00000001043c67c8 v8::platform::(anonymous namespace)::PrintStackTrace() + 116
    2   libv8_libbase.dylib                 0x000000010436d5cc V8_Fatal(char const*, int, char const*, ...) + 352
    3   libv8_libbase.dylib                 0x000000010436ced0 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) + 0
    4   libv8.dylib                         0x000000010c96b6dc v8::internal::Assembler::CheckVeneerPool(bool, bool, unsigned long) + 232
    5   libv8.dylib                         0x000000010aeb3208 v8::internal::Assembler::Emit(unsigned int) + 132
    6   libv8.dylib                         0x000000010c96bc8c v8::internal::Assembler::EmitVeneers(bool, bool, unsigned long) + 908
    7   libv8.dylib                         0x000000010c977f14 v8::internal::MacroAssembler::PushHelper(int, int, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&) + 136
    8   libv8.dylib                         0x000000010c3a8d48 void v8::internal::maglev::detail::PushIteratorReverse<v8::internal::maglev::RepeatIterator<v8::internal::Register>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 324
    9   libv8.dylib                         0x000000010c3a8aec void v8::internal::maglev::detail::PushIteratorReverse<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 108
    10  libv8.dylib                         0x000000010c35ff7c v8::internal::maglev::CallKnownJSFunction::GenerateCode(v8::internal::maglev::MaglevAssembler*, v8::internal::maglev::ProcessingState const&) + 356
    11  libv8.dylib                         0x000000010bf32110 v8::internal::maglev::ProcessResult v8::internal::maglev::NodeMultiProcessor<v8::internal::maglev::(anonymous namespace)::SafepointingNodeProcessor, v8::internal::maglev::(anonymous namespace)::MaglevCodeGeneratingNodeProcessor>::Process<v8::internal::maglev::CallKnownJSFunction>(v8::internal::maglev::CallKnownJSFunction*, v8::internal::maglev::ProcessingState const&) + 1160
    12  libv8.dylib                         0x000000010beef718 v8::internal::maglev::MaglevCodeGenerator::EmitCode() + 7092
    13  libv8.dylib                         0x000000010beed8d4 v8::internal::maglev::MaglevCodeGenerator::Assemble() + 48
    14  libv8.dylib                         0x000000010bfc82f0 v8::internal::maglev::MaglevCompiler::Compile(v8::internal::LocalIsolate*, v8::internal::maglev::MaglevCompilationInfo*) + 5532
    15  libv8.dylib                         0x000000010c0e514c v8::internal::maglev::MaglevCompilationJob::ExecuteJobImpl(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 96
    16  libv8.dylib                         0x000000010af9587c v8::internal::OptimizedCompilationJob::ExecuteJob(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 160
    17  libv8.dylib                         0x000000010c0e718c v8::internal::maglev::MaglevConcurrentDispatcher::JobTask::Run(v8::JobDelegate*) + 856
    18  libv8_libplatform.dylib             0x00000001043c52cc v8::platform::DefaultJobWorker::Run() + 292
    19  libv8_libplatform.dylib             0x00000001043c7d0c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 276
    20  libv8_libbase.dylib                 0x00000001043882ec v8::base::ThreadEntry(void*) + 180
    21  libsystem_pthread.dylib             0x00000001911fac0c _pthread_start + 136
    22  libsystem_pthread.dylib             0x00000001911f5b80 thread_start + 8
zsh: trace trap  ./v8/v8/out/debug/d8 poc.js

The stack trace shows the path the crash took. The Maglev compiler was assembling code for a call to a known JavaScript function (CallKnownJSFunction::GenerateCode). While emitting that code it pushed registers through PushHelper, which reached EmitVeneers and then Emit. Inside Emit, CheckVeneerPool failed the debug check comparing the current program counter offset against the limit for unresolved branches. The captured output ends with the shell reporting a trace trap.

The report does not include the contents of poc.js, so the exact JavaScript that triggers the crash is not shown here. It also does not describe a fix commit or the patch that resolved the issue.

Root cause

The failed check is pc_offset() < unresolved_branches_first_limit(), evaluated in the arm64 assembler while the veneer pool is being managed. The report does not walk through the arithmetic, so the precise cause of the failed check is not identified in the text. The report itself does not walk through the arithmetic, so the precise overflowing expression is not identified in the text.

Impact

What is demonstrated is a crash of the engine in a debug build: a denial of service against the process running the script. The report does not show memory corruption, a sandbox escape or code execution, and it does not claim any of these. Because the crash occurs during code generation in the optimising compiler, the practical relevance in a release build would depend on whether the same condition can be reached without the debug check, which the report does not establish.

How this kind of bug works

Integer overflow bugs arise when arithmetic on a fixed-width integer produces a result outside the representable range. In a compiler or assembler, offsets, sizes and counts are frequently computed and compared against limits, and an overflow can make a comparison pass when it should fail, or wrap a value to something small when a large value was expected. In code generators this can lead to emitting more instructions than a buffer or branch range allows, corrupting bookkeeping structures, or violating invariants that later code relies on.

Defences include using wider or checked integer types for size and offset arithmetic, validating counts before loops that emit code, and keeping explicit invariants (such as the program counter offset staying below a branch limit) that are asserted in debug builds and enforced in release builds. Fuzzing the optimising compiler with generated JavaScript is the usual way these are found.

How to test for it

  1. Identify the component that performs arithmetic on sizes, offsets or counts: compilers, assemblers, parsers, serialisers and buffer builders are typical.
  2. Look for inputs that control a count or length, especially where the value is multiplied or added to another value before being used as an allocation size or loop bound.
  3. Send boundary values: zero, one, the maximum representable value, values just below and above powers of two, and combinations that force a multiplication to wrap.
  4. In a JavaScript engine context, generate functions with very large numbers of parameters, arguments, registers or nested calls, and force the optimising compiler to compile them.
  5. A positive result is a crash, an assertion failure, a sanitizer report (for example an unsigned integer overflow or out-of-bounds report), or observable misbehaviour such as truncated output where a larger value was expected.
  6. Common false positives are crashes caused by resource exhaustion (out of memory) rather than arithmetic, and debug-only assertions that cannot be reached in release builds; confirm the arithmetic path before reporting.

How it is fixed

The standard fix is to perform the size or offset arithmetic in a type wide enough to hold the result, or to add explicit checks that reject values which would overflow before they are used. Where an invariant exists, it should be enforced in release builds as well as asserted in debug builds, so that a wrapped value cannot silently pass a comparison. Regression tests should include the boundary inputs that triggered the overflow.

Hunting notes

This class of bug tends to hide in optimising compilers, JIT code generators, binary format parsers, image and media decoders, and anywhere a length field from input feeds an allocation or loop. Recon signals include components with hand-written arithmetic on sizes, recent refactors of offset handling, and code paths that only run under specific build configurations. To make a report accepted, show a minimal reproduction, state the exact build and version, include the full crash output, and explain the arithmetic path from input to the failing check so the maintainers can confirm the overflow rather than treating it as a generic 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. 9 min read.

What happened, in plain words

Google Chrome does not run JavaScript directly. It hands the code to a separate component called V8, the JavaScript engine, which reads the script and turns it into instructions the processor can execute. V8 is written in C++ and is a very large, very complex piece of software, so it has its own internal safety checks.

The report includes a small JavaScript file, poc.js, and a special build of V8 made for testing. That build is called a debug build: it is compiled with extra checks switched on, so when something goes wrong internally the engine stops immediately and prints a detailed message instead of carrying on quietly. The build is a debug build of V8 for macOS arm64.

The result was a crash. The engine hit a fatal error and stopped.

The version tested is stated plainly:

Text
V8 version 13.9.0 (candidate)

And the build and run instructions are:

Text
Build: v8 Debug build, MacOS arm64

Run: ./d8 poc.js

d8 is V8's own command-line shell: a small program that runs a JavaScript file without a browser around it. Running ./d8 poc.js means "execute the file poc.js with this build of d8".

The output the researcher captured begins with the fatal error header and the failed check:

Text
#
# Fatal error in ../../src/codegen/arm64/assembler-arm64.cc, line 4917
# Debug check failed: pc_offset() < unresolved_branches_first_limit().
#
#
#
#FailureMessage Object: 0x16d305468
==== C stack trace ===============================

    0   libv8_libbase.dylib                 0x0000000104389ee8 v8::base::debug::StackTrace::StackTrace() + 24
    1   libv8_libplatform.dylib             0x00000001043c67c8 v8::platform::(anonymous namespace)::PrintStackTrace() + 116
    2   libv8_libbase.dylib                 0x000000010436d5cc V8_Fatal(char const*, int, char const*, ...) + 352
    3   libv8_libbase.dylib                 0x000000010436ced0 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) + 0
    4   libv8.dylib                         0x000000010c96b6dc v8::internal::Assembler::CheckVeneerPool(bool, bool, unsigned long) + 232
    5   libv8.dylib                         0x000000010aeb3208 v8::internal::Assembler::Emit(unsigned int) + 132
    6   libv8.dylib                         0x000000010c96bc8c v8::internal::Assembler::EmitVeneers(bool, bool, unsigned long) + 908
    7   libv8.dylib                         0x000000010c977f14 v8::internal::MacroAssembler::PushHelper(int, int, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&, v8::internal::CPURegister const&) + 136
    8   libv8.dylib                         0x000000010c3a8d48 void v8::internal::maglev::detail::PushIteratorReverse<v8::internal::maglev::RepeatIterator<v8::internal::Register>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 324
    9   libv8.dylib                         0x000000010c3a8aec void v8::internal::maglev::detail::PushIteratorReverse<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>>(v8::internal::maglev::MaglevAssembler*, v8::base::iterator_range<std::__Cr::reverse_iterator<v8::internal::maglev::Input*>>, v8::base::iterator_range<v8::internal::maglev::RepeatIterator<v8::internal::Register>>) + 108
    10  libv8.dylib                         0x000000010c35ff7c v8::internal::maglev::CallKnownJSFunction::GenerateCode(v8::internal::maglev::MaglevAssembler*, v8::internal::maglev::ProcessingState const&) + 356
    11  libv8.dylib                         0x000000010bf32110 v8::internal::maglev::ProcessResult v8::internal::maglev::NodeMultiProcessor<v8::internal::maglev::(anonymous namespace)::SafepointingNodeProcessor, v8::internal::maglev::(anonymous namespace)::MaglevCodeGeneratingNodeProcessor>::Process<v8::internal::maglev::CallKnownJSFunction>(v8::internal::maglev::CallKnownJSFunction*, v8::internal::maglev::ProcessingState const&) + 1160
    12  libv8.dylib                         0x000000010beef718 v8::internal::maglev::MaglevCodeGenerator::EmitCode() + 7092
    13  libv8.dylib                         0x000000010beed8d4 v8::internal::maglev::MaglevCodeGenerator::Assemble() + 48
    14  libv8.dylib                         0x000000010bfc82f0 v8::internal::maglev::MaglevCompiler::Compile(v8::internal::LocalIsolate*, v8::internal::maglev::MaglevCompilationInfo*) + 5532
    15  libv8.dylib                         0x000000010c0e514c v8::internal::maglev::MaglevCompilationJob::ExecuteJobImpl(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 96
    16  libv8.dylib                         0x000000010af9587c v8::internal::OptimizedCompilationJob::ExecuteJob(v8::internal::RuntimeCallStats*, v8::internal::LocalIsolate*) + 160
    17  libv8.dylib                         0x000000010c0e718c v8::internal::maglev::MaglevConcurrentDispatcher::JobTask::Run(v8::JobDelegate*) + 856
    18  libv8_libplatform.dylib             0x00000001043c52cc v8::platform::DefaultJobWorker::Run() + 292
    19  libv8_libplatform.dylib             0x00000001043c7d0c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 276
    20  libv8_libbase.dylib                 0x00000001043882ec v8::base::ThreadEntry(void*) + 180
    21  libsystem_pthread.dylib             0x00000001911fac0c _pthread_start + 136
    22  libsystem_pthread.dylib             0x00000001911f5b80 thread_start + 8
zsh: trace trap  ./v8/v8/out/debug/d8 poc.js

The first lines say where the engine gave up: a file called assembler-arm64.cc, line 4917, with the message Debug check failed: pc_offset() < unresolved_branches_first_limit(). That is a comparison the engine expects to always be true. pc_offset() is how far into the generated code the assembler has written so far; unresolved_branches_first_limit() is a limit related to jumps (branches) that have not been filled in yet. The check says "the write position must still be below that limit". Here it was not, so the debug build stopped.

The stack trace below it is a list of function calls, read from the bottom up: each line is a function that called the one above it. The bottom lines are the operating system starting a worker thread. Above them, V8's job system runs a compilation task, which reaches the Maglev compiler. Maglev is one of V8's optimising compilers: it watches which JavaScript functions run often and produces faster machine code for them. The trace shows Maglev generating code for a call to a known JavaScript function (CallKnownJSFunction::GenerateCode), pushing registers through PushHelper, then reaching EmitVeneers and Emit, where CheckVeneerPool failed the check. The captured output ends with the shell reporting trace trap.

The report does not include the contents of poc.js, so the exact JavaScript that triggers the crash is not shown. It also does not describe a fix commit or the patch that resolved the issue.

Root cause

The failed check is pc_offset() < unresolved_branches_first_limit(), evaluated in the arm64 assembler while the veneer pool is being managed. A veneer is a small piece of generated code used as a stepping stone when a jump target is too far away to reach directly; the pool is the bookkeeping for those stepping stones. The report does not walk through the arithmetic, so the precise cause of the failed check is not identified in the text. The report itself does not walk through the arithmetic, so the precise overflowing expression is not identified in the text.

Impact

What is demonstrated is a crash of the engine in a debug build: a denial of service against the process running the script. The report does not show memory corruption, a sandbox escape or code execution, and it does not claim any of these. Because the crash occurs during code generation in the optimising compiler, the practical relevance in a release build would depend on whether the same condition can be reached without the debug check, which the report does not establish.

In general, how this kind of bug works

An integer overflow happens when a calculation on a fixed-size number produces a result too big (or too small) for the space available, so the value wraps around. Think of a car odometer with six digits: after 999999 it rolls to 000000, and a large distance suddenly looks tiny. In a compiler or assembler, offsets, sizes and counts are frequently computed and compared against limits, and an overflow can make a comparison pass when it should fail, or wrap a value to something small when a large value was expected. In code generators this can lead to emitting more instructions than a buffer or branch range allows, corrupting bookkeeping structures, or violating invariants that later code relies on.

Defences include using wider or checked integer types for size and offset arithmetic, validating counts before loops that emit code, and keeping explicit invariants (such as the program counter offset staying below a branch limit) that are asserted in debug builds and enforced in release builds. Fuzzing the optimising compiler with generated JavaScript is the usual way these are found.

In general, how to test for it

  1. Identify the component that performs arithmetic on sizes, offsets or counts: compilers, assemblers, parsers, serialisers and buffer builders are typical.
  2. Look for inputs that control a count or length, especially where the value is multiplied or added to another value before being used as an allocation size or loop bound.
  3. Send boundary values: zero, one, the maximum representable value, values just below and above powers of two, and combinations that force a multiplication to wrap.
  4. In a JavaScript engine context, generate functions with very large numbers of parameters, arguments, registers or nested calls, and force the optimising compiler to compile them.
  5. A positive result is a crash, an assertion failure, a sanitizer report (for example an unsigned integer overflow or out-of-bounds report), or observable misbehaviour such as truncated output where a larger value was expected.
  6. Common false positives are crashes caused by resource exhaustion (out of memory) rather than arithmetic, and debug-only assertions that cannot be reached in release builds; confirm the arithmetic path before reporting.

In general, how it is fixed

The standard fix is to perform the size or offset arithmetic in a type wide enough to hold the result, or to add explicit checks that reject values which would overflow before they are used. Where an invariant exists, it should be enforced in release builds as well as asserted in debug builds, so that a wrapped value cannot silently pass a comparison. Regression tests should include the boundary inputs that triggered the overflow.

In general, hunting notes

This class of bug tends to hide in optimising compilers, JIT code generators, binary format parsers, image and media decoders, and anywhere a length field from input feeds an allocation or loop. Recon signals include components with hand-written arithmetic on sizes, recent refactors of offset handling, and code paths that only run under specific build configurations. To make a report accepted, show a minimal reproduction, state the exact build and version, include the full crash output, and explain the arithmetic path from input to the failing check so the maintainers can confirm the overflow rather than treating it as a generic crash.

Glossary

  • V8: the JavaScript engine inside Google Chrome that reads and executes JavaScript code.

  • Debug build: a version of a program compiled with extra internal checks that stop it when something unexpected happens.

  • arm64: the processor family used in modern Macs and many phones.

  • d8: V8's command-line shell for running JavaScript files outside a browser.

  • Fatal error: an internal failure after which the program stops immediately.

  • Debug check: an assertion, a condition the code expects to always be true, verified only in debug builds.

  • Stack trace: a list of the function calls that led to a crash, read from the bottom up.

  • Assembler: the part of the engine that writes machine instructions into memory.

  • Program counter offset (pc_offset): how far into the generated code the assembler has written so far.

  • Branch: a jump in machine code from one place to another.

  • Veneer pool: bookkeeping for small stepping-stone code fragments used when a jump target is too far to reach directly.

  • Register: a small, fast storage slot inside the processor.

  • Maglev: one of V8's optimising compilers, which turns frequently run JavaScript into faster machine code.

  • JIT (just-in-time) compiler: a compiler that produces machine code while the program is running.

  • Integer overflow: a calculation whose result is too large for the number format, so the value wraps around.

  • Invariant: a condition the code assumes is always true.

  • Denial of service: making a program or service stop working, here by crashing it.

  • Memory corruption: damage to a program's memory that can sometimes be turned into running attacker code.

  • Sandbox escape: getting out of the restricted environment a browser puts untrusted code in.

  • Fuzzing: feeding a program large amounts of automatically generated input to find crashes.

  • Sanitizer: a tool built into a program that reports memory or arithmetic errors during testing.

  • Proof of concept (PoC): a small input or script that demonstrates a bug.

  • VRP: Vulnerability Reward Program, a scheme that pays researchers for reporting security bugs.

More by Shaheen Fazim

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.