Intel

AIKIDO-2026-524183

bytecodealliance.wasm-micro-runtime is vulnerable to Heap-based Buffer Overflow

Heap-based Buffer OverflowCVE-2026-54914 Published 3 days ago

90

Critical Risk

This Affects:

C++bytecodealliance.wasm-micro-runtime
0.0.1 - 2.4.4
Fixed in 2.4.5
Are you affected? Scan for Free

TL;DR

WebAssembly runtimes expose the WASI poll_oneoff API to guest modules through the libc-wasi wrapper. The dispatcher validates the guest-supplied output buffer for only a single event structure regardless of the requested nsubscriptions count. A guest module that requests two or more subscriptions writes event results past the end of the validated buffer, corrupting adjacent heap memory. The fix validates the full input and output buffers against the number of subscriptions before use.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build with the libc-wasi support that exposes the poll_oneoff API to guest modules.

Background info

bytecodealliance.wasm-micro-runtime is vulnerable to Heap-based Buffer Overflow in versions 0.0.1 - 2.4.4.

How to fix this

Upgrade the bytecodealliance.wasm-micro-runtime library to the patch version.