Defending Buffer Overflows in WebAssembly: A Transpiler Approach

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Feng, Weiqi
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908937230483456
author Feng, Weiqi
author_facet Feng, Weiqi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_03859
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Defending Buffer Overflows in WebAssembly: A Transpiler Approach
Feng, Weiqi
Cryptography and Security
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.
title Defending Buffer Overflows in WebAssembly: A Transpiler Approach
topic Cryptography and Security
url https://arxiv.org/abs/2604.03859