bytecodealliance.wasm-micro-runtime is vulnerable to Heap-based Buffer Overflow
88
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range and you build WAMR with the default fast interpreter.
bytecodealliance.wasm-micro-runtime is vulnerable to Heap-based Buffer Overflow in versions 2.3.0 - 2.4.4.
Upgrade the bytecodealliance.wasm-micro-runtime library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant