English

Defending Buffer Overflows in WebAssembly: A Transpiler Approach

Cryptography and Security 2026-04-07 v1

Abstract

WebAssembly is quickly becoming a popular compilation target for a variety of code. However, vulnerabilities in the source languages translate to vulnerabilities in the WebAssembly binaries. This work proposes a methodology and a WebAssembly transpiler to prevent buffer overflows in the unmanaged memory of the WebAssembly runtime. The transpiler accepts a WebAssembly binary and adds stack canaries and Address Space Layout Randomization (ASLR) to protect against buffer overflows.

Keywords

Cite

@article{arxiv.2604.03859,
  title  = {Defending Buffer Overflows in WebAssembly: A Transpiler Approach},
  author = {Weiqi Feng},
  journal= {arXiv preprint arXiv:2604.03859},
  year   = {2026}
}
R2 v1 2026-07-01T11:54:04.862Z