Lune

USENIX Security2025Top-tier venue

Waltzz: WebAssembly Runtime Fuzzing with Stack-Invariant Transformation

Lingming Zhang, Binbin Zhao, Jiacheng Xu, Peiyu Liu, Qinge Xie, Yuan Tian, Jianhai Chen, Shouling Ji

Abstract

WebAssembly (Wasm) is a binary instruction format proposed by major browser vendors to achieve near-native performance on the web and other platforms. By design, Wasm modules should be executed in a memory-safe runtime, which acts as a trusted computing base. Therefore, security vulnerabilities inside runtime implementation can have severe impacts and should be identified and mitigated promptly. Fuzzing is a practical and widely adopted technique for uncovering bugs in real-world programs. However, to apply fuzzing effectively to the domain of Wasm runtimes, it is vital to address two primary challenges: (1) Wasm is a stack-based language and runtimes should verify the correctness of stack semantics, which requires fuzzers to meticulously maintain desired stack semantics to reach deeper states. (2) Wasm acts as a compilation target and includes hundreds of instructions, making it hard for fuzzers to explore different combinations of instructions and cover the input space effectively. To address these challenges, we design and implement WALTZZ, a practical greybox fuzzing framework tailored for Wasm runtimes. Specifically, WALTZZ proposes the concept of stack-invariant code transformation to preserve appropriate stack semantics during fuzzing. Next, WALTZZ introduces a versatile suite of mutators designed to systematically traverse diverse combinations of instructions in terms of both control and data flow. Moreover, WALTZZ designs a skeletonbased generation algorithm to produce code snippets that are rarely seen in the seed corpus. To demonstrate the efficacy of WALTZZ, we evaluate it on seven well-known Wasm runtimes. Compared to the state-of-the-art works, WALTZZ can surpass the nearest competitor by finding 12.4% more code coverage even within the large code bases and uncovering 1.38× more unique bugs. Overall, WALTZZ has discovered 20 new bugs which have all been confirmed and 17 CVE IDs have been assigned.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • NAUTILUS: Fishing for Deep Bugs with Grammars cites Coverage-based Greybox Fuzzing as Markov Chain
  • CollAFL: Path Sensitive Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites CollAFL: Path Sensitive Fuzzing
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. State-Aware Fuzzing of JavaScript Engines with LLM-Guided InstrumentationWai Kin Wong, Dongwei Xiao, Anthony Cheuk Tung Lai, Ping Fan Ke et al.SOSP 2026

Builds on32

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  3. CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu et al.S&P 2018 · 426 citations
  4. REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations
  5. NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig et al.NDSS 2019 · 291 citations

Related papers

  1. LWDIFF: an LLM-Assisted Differential Testing Framework for Webassembly RuntimesShiyao Zhou, Jincheng Wang, He Ye, Hao Zhou et al.ICSE 2025 · 2 citations
  2. WBSan: WebAssembly Bug Detection for Sanitization and Binary-Only FuzzingXiao Wu, Junzhou He, Liyan Huang, Cai Fu et al.WWW 2025 · 5 citations
  3. FreeWavm: Enhanced WebAssembly Runtime Fuzzing Guided by Parse Tree Mutation and SnapshotPeng Qian, Xinlei Ying, Jiashui Wang, Long Liu et al.ISSTA 2025 · 1 citation
  4. WEST: Specification-Based Test Generation for WebAssemblyDongjun Youn, Wonho Shin, Sukyoung RyuASE 2025
  5. Wapplique: Testing WebAssembly Runtime via Execution Context-Aware Bytecode MutationWenxuan Zhao, Ruiying Zeng, Yangfan ZhouISSTA 2024 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines