WARD: Efficient Memory Protection for WebAssembly on Tiny Embedded Systems
Open Access
- 5 January 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 5925-5939
Abstract
WebAssembly (Wasm) has recently gained attention in embedded systems due to its lightweight runtime support and broad compatibility with various languages and platforms. However, Wasm’s linear memory model lacks internal protection mechanisms, making it vulnerable to a wide range of memory safety violations. To address this, prior work has proposed techniques for protecting memory within the linear memory space. While effective to some extent, these approaches either suffer from limited detection coverage or are unsuitable for resource-constrained embedded systems. In this paper, we present WARD, a redzone-based memory protection technique tailored for Wasm in tiny embedded systems. At its core, WARD employs a randomized linear-to-physical address translation mechanism, which enables effective detection of memory violations without requiring specific hardware extensions. Our evaluation shows that WARD provides improved memory detection coverage over prior techniques, with reasonable performance of 24.2% on benchmark and 13.03% on real-world applications, and memory overhead suitable for embedded systems.Keywords
Funding Information
- National Research Foundation of Korea
- Korean government (RS-2023-00217689)
- Institute of Information and Communications Technology Planning and Evaluation (IITP)-Information Technology Research Center
- Korean government (IITP-2025-RS-2023-00259967)
This publication has 18 references indexed in Scilit:
- WaShadow: Effectively Protecting WebAssembly Memory Through Virtual Machine-Aware Shadow Memory2024
- WASMDYPA: Effectively Detecting WebAssembly Bugs via Dynamic Program Analysis2024
- VMCanary: Effective Memory Protection for WebAssembly via Virtual Machine-assisted Approach2023
- A Comprehensive Study of WebAssembly Runtime Bugs2023
- The Security Risk of Lacking Compiler Protection in WebAssembly2021
- An Empirical Study of Bugs in WebAssembly Compilers2021
- WiProg: A WebAssembly-based Approach to Integrated IoT Programming2021
- eWASM: Practical Software Fault Isolation for Reliable Embedded DevicesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2020
- Bringing the web up to speed with WebAssembly2017
- An electric fence for kernel buffers2005