PT-2026-137627
CVE-2026-54912
·
Published
2026-11-05
·
Updated
2026-11-12
Description by
CVSS 4.0
8.8
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
WebAssembly Micro Runtime (WAMR) versions prior to 2.4.5
Description
The two-pass fast interpreter loader in core/iwasm/interpreter/wasm loader.c can make inconsistent constant-table decisions between the sizing pass and the emitting pass. When duplicate constants inflate the first pass beyond the constant-slot limit, the
wasm loader get const offset function emits later constants inline. However, subsequent sorting and deduplication reduce the table, leading the second pass to choose table references. This causes reserve block ret to emit additional copy operands not accounted for in code compiled peak size. Consequently, a crafted module can trigger the second pass to write partially attacker-controlled compiled-code data beyond the heap buffer allocated during wasm runtime load before guest code executes. This can corrupt host heap metadata and crash the process, resulting in a denial of service.Recommendations
Update to version 2.4.5.
Disable the fast interpreter by setting
WAMR BUILD FAST INTERP=0 to avoid the vulnerable loader.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾