TANTRUM: Breaking the Heap Sandbox in JavaScript Engines via Protection Domain Fuzzing
Seunghyun Lee, David Brumley
Abstract
The V8 JavaScript (JS) and WebAssembly (Wasm) engine powers Google Chrome and other Chromium-based browsers, client- and server-side runtimes such as Node.js and Electron, as well as modern serverless cloud platforms. This ubiquity makes V8 a high-value target: Google reports that roughly 60% of in-the-wild Chrome exploits from 2021-2023 targeted V8 vulnerabilities [29]. In response, Chrome introduced the V8 sandbox to contain memory-safety bugs and reduce exploit impact. The security model assumes that an attacker can provide arbitrary JS/Wasm code, with the goal that any latent vulnerabilities exploited in the V8 runtime are contained within the sandbox. The V8 sandbox partitions the engine into two protection domains: a corruption-prone, untrusted heap sandbox region storing JS/Wasm objects and a trusted host domain. This is realized by redesigning the engine to remove raw pointer usage within the sandbox, instead using compressed pointers between sandboxed objects and adding a layer of checked indirection to refer to trusted objects outside of the sandbox. Unfortunately, there has been little attempt to rigorously define and test this security boundary. In this paper, we introduce sandbox protection domain fuzzing, a technique that exercises the sandbox boundary rather than relying on ineffective whole-input mutation. We build the first operational semantics model of the heap sandbox, scoped to the intended security boundary mechanisms, and systematically derive ten escape classes that unify prior ad-hoc escape reports into a principled taxonomy. Guided by this model, we design and implement our fuzzer Tantrum, which targets boundary-relevant memory accesses: instead of mutating entire inputs, Tantrum perturbs such accesses along a single execution under a given input to model an active adversary that precisely synthesizes the object layouts needed to trigger sandbox violations. Finally, we evaluate Tantrum on the V8 sandbox, discovering eleven previously unknown, high-priority vulnerabilities, most of which were awarded bug bounties.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Empirical Security Analysis of Software-based Fault Isolation through Controlled Fault InjectionNils Bars, Lukas Bernhard, Moritz Schloegel, Thorsten HolzCCS 2025
- Fuzzing JavaScript Engines by Fusing JavaScript and WebAssemblyJiayi Lin, Changhua Luo, Mingxue Zhang, Lanteng Lin et al.ICSE 2026
- FuzzJIT: Oracle-Enhanced Fuzzing for JavaScript Engine JIT CompilerJunjie Wang, Zhiyi Zhang, Shuang Liu, Xiaoning Du et al.USENIX Security 2023
- Extraction and Mutation at a High Level: Template-Based Fuzzing for JavaScript EnginesWai Kin Wong, Dongwei Xiao, Anthony Cheuk Tung Lai, Yiteng Peng et al.OOPSLA 2025 · 4 citations
- DUMPLING: Fine-grained Differential JavaScript Engine FuzzingLiam Wachter, Julian Gremminger, Christian Wressnegger, Mathias Payer et al.NDSS 2025
