Intel

AIKIDO-2026-875537

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

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

88

High Risk

This Affects:

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

TL;DR

The fast interpreter compiles a module in two passes while loading it. A constant-deduplication mismatch lets the second pass make different const-offset decisions than the first, so it emits copy operations that were not accounted for when the code buffer was sized. Loading a crafted module therefore writes past the end of the allocated code buffer on the heap before any guest code runs. The fix keeps the deduplication decisions consistent across both passes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build WAMR with the default fast interpreter.

Background info

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

How to fix this

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