CVE-2026-54913 · Runtime
NO FIX YET · SEE WHAT TO DO
WebAssembly Micro Runtime (WAMR) before 2.4.5 accepts an invalid ref.null heap-type byte in global initializers when GC is disabled, so uninitialized host-stack memory is copied into a guest-readable global. A crafted module can read leftover host memory, up to twelve bytes per v128 global.
first public Aug 4, 2026 · 1 source
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Teams that embed or run WAMR with the interpreter and GC disabled, especially when they load Wasm modules from untrusted sources. The GC-enabled path validates heap types and is not affected. Teams that only run trusted modules or use a different runtime can treat this as lower priority.
Not affected if gc-enabled, trusted-modules-only
Who cares embedded-wasm, wamr, webassembly
iwasm --version or the version of the embedded library, and see whether it is below 2.4.5.WASM_ENABLE_GC=0, the default no-GC configuration.2.4.5WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, load_init_expr in core/iwasm/interpreter/wasm_loader.c accepts a non-reference heap-type byte for ref.null when WASM_ENABLE_GC=0, while the local WASMValue cur_value union is not zero-initialized and setting ref_index writes only part of it. A crafted module can declare an i64, f64, or v128 global initialized through the invalid ref.null form, causing push_const_expr_stack and the later global initialization path to copy uninitialized host-stack bytes into a value readable by the guest. The classic and fast interpreters are affected in the default no-GC configuration; the GC-enabled path validates heap types. The disclosure is four bytes for i64 or f64 globals and up to twelve bytes for each v128 global. This issue is fixed in version 2.4.5.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.