arrow
Return

Characterizing and Detecting WebAssembly Runtime Bugs

delete2023-12-21
delete3
delete
OA
AI
Y
Yixuan Zhang
S
Shangtong Cao
H
Haoyu Wang *
陈
陈震鹏 (Zhenpeng Chen)
X
Xiapu Luo
D
Dongliang Mu
Y
Yun Ma *
G
Gang Huang
X
Xuanzhe Liu
DOI:10.1145/3624743delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
WebAssembly (abbreviated WASM) has emerged as a promising language of the Web and also been used for a wide spectrum of software applications such as mobile applications and desktop applications. These applications, named WASM applications, commonly run in WASM runtimes. Bugs in WASM runtimes are frequently reported by developers and cause the crash of WASM applications. However, these bugs have not been well studied. To fill in the knowledge gap, we present a systematic study to characterize and detect bugs in WASM runtimes. We first harvest a dataset of 311 real-world bugs from hundreds of related posts on GitHub. Based on the collected high-quality bug reports, we distill 31 bug categories of WASM runtimes and summarize their common fix strategies. Furthermore, we develop a pattern-based bug detection framework to automatically detect bugs inWASM runtimes. We apply the detection framework to seven popular WASM runtimes and successfully uncover 60 bugs that have never been reported previously, among which 13 have been confirmed and 9 have been fixed by runtime developers.
Keywords:
WebAssembly
WebAssembly runtime
Detecting WebAssembly Runtime Bugs With Grammar-Guided Program Mutation
err2025-01-01
err0
PREAI
errLu, Xinyi; Zhou, Zhide; Li, Xiaochen; Xuan, Jifeng; Wu, Hao; Jiang, He; Ren, Zhilei
errShare
errSave
WebAssembly for Container Runtime: Are We There Yet?
err2025-02-07
err0
PREAI
errMugeng Liu; Haiyang Shen; Yixuan Zhang; Hong Mei; Yun Ma
errShare
errSave
Left Behind, Not Forgotten: Reusing Regression Tests to Find Bugs in WebAssembly Runtimes
err2026-10-26
err0
PREAI
errIshrak Hayet; Mohsen EsfandyariDoulabi; Giorgi Merabishvili; Marcelo d’Amorim
errShare
errSave
WebAssembly and security: A review
err2025-05-01
err0
errOAAI
errRomano, Simon Pietro
errShare
errSave
A Comprehensive Trusted Runtime for WebAssembly With Intel SGX
err2024-07-01
err1
errOAAI
errMenetrey, James; Pasin, Marcelo; Felber, Pascal; Schiavoni, Valerio; Mazzeo, Giovanni; Hollum, Arne; Vaydia, Darshan
errShare
errSave
DRWASI: LLM-assisted Differential Testing for WebAssembly System Interface Implementations
err2026-02-01
err0
PREAI
errZhang, Yixuan; He, Ningyu; Gao, Jianting; Cao, Shangtong; Liu, Kaibo; Wang, Haoyu; Ma, Yun; Huang, Gang; Liu, Xuanzhe
errShare
errSave
WASP: Stack protection for WebAssembly
err2026-01-21
err0
errOAAI
errMassey, Ewan; Olivier, Pierre
errShare
errSave
WASMICO: Micro-containers in microcontrollers with WebAssembly
err2024-08-01
err0
PREAI
errRibeiro, Eduardo; Restivo, Andre; Ferreira, Hugo Sereno; Dias, Joao Pedro
errShare
errSave

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.4K
Citations:
4.5K

Organization

beijing university of posts & telecommunications cover
beijing university of posts & telecommunications
Scholars:
0
Papers: 193
Citations: 8.4K
Peking University cover
Peking University
Scholars:
9.2K
Papers: 2.8K
Citations: 7.1W
U
university college london
Scholars:
5.2K
Papers: 2.3K
Citations: 5.8W
U
University of London
Scholars:
1.7K
Papers: 763
Citations: 14.7W
H
Hong Kong Polytechnic University
Scholars:
2.2K
Papers: 1.1K
Citations: 4.1W
researcher View more organizations
Cited Papers

Cited Papers

Orthotopic heart transplantation: two parts of the heart with two different arrhythmias
err2011-03-01
err0
PREAI
errMichele D'Alto; Stephen Lord; John Bourke; Giuseppe Santarpia; Berardo Sarubbi; Maria Giovanna Russo; Raffaele Calabrò
errShare
errSave
An empirical study of optimization bugs in GCC and LLVM
err2021-04-01
err32
PREAI
errZhou, Zhide; Ren, Zhilei; Gao, Guojun; Jiang, He
errShare
errSave
Flush at room temperature followed by storage on ice creates the best lung graft preservation in rats
err2013-05-14
err0
PREAI
errAnita J. Munneke; Gerhard Rakhorst; Arjen H. Petersen; Wim van Oeveren; Jochum Prop; Michiel E. Erasmus
errShare
errSave
A Survey on Blockchain Interoperability: Past, Present, and Future Trends
err2021-10-04
err224
errOAAI
errBelchior, Rafael; Vasconcelos, Andre; Guerreiro, Sergio; Correia, Miguel
errShare
errSave
An unrecognized epidemic of Mycoplasma pneumoniae infection in Vienna
err2006-05-01
err0
PREAI
errFlorian Daxboeck; Claudia C. Bauer; Ojan Assadian; Gerold Stanek
errShare
errSave
researcher View more