Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted Wasm module to WAMR host
-
ExploitTwo-pass loader const-table dedup desyncs during wasm_runtime_load
-
Executionreserve_block_ret writes past heap code buffer
-
ImpactCorrupt host heap metadata, deterministic crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a host built with WAMR_BUILD_FAST_INTERP=1 (the default fast-interpreter mode) that calls wasm_runtime_load() on an attacker-supplied Wasm module; the crafted module must contain enough duplicate i64 constants to push i64_const_num*2 + i32_const_num past INT16_MAX in Pass 1, followed by i32 constants and a multi-value block that triggers reserve_block_ret(), so between-pass sort/dedup changes const-table decisions and overflows the Pass-1-sized buffer. Limiting factors: the vulnerable loader is reached only when the application exposes module loading to untrusted input; the documented workaround/non-default build WAMR_BUILD_FAST_INTERP=0 (classic interpreter) is not affected; no authentication exists within the loader itself, and no guest execution is needed because the write occurs during load. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) models an easy, remote, unauthenticated trigger with no user interaction, which is consistent with the advisory: the overflow fires inside wasm_runtime_load() before any guest code runs, so merely loading a crafted module is enough. However, the real-world priority is gated by a precondition the CVSS score does not capture - the host must be built with WAMR_BUILD_FAST_INTERP=1 (the default) AND actually load untrusted/attacker-supplied Wasm modules; hosts that only load trusted modules or use the classic interpreter are not exposed. On impact, the vendor vector asserts VI:H/VA:H/VC:L, but the supplied evidence only demonstrates a deterministic DoS via heap-metadata corruption; code execution is explicitly left speculative ('further consequences depend on the host application's heap layout'), and no confidentiality leak is shown, so the VC:L and the high integrity weighting appear more severe than the demonstrated outcome - treat RCE as unproven. No EPSS score and no KEV/active-exploitation signal are present in the input, so there is no evidence of exploitation in the wild; the only exploitation signal is a detailed public PoC reference. The vuln.today decision label is 'this_week', which aligns with a serious but not emergency DoS in a defined deployment niche rather than a mass-exploited internet-facing bug. |
| Exploit ScenarioDerived | An application that embeds WAMR's fast interpreter and loads Wasm modules from an untrusted source (user upload, plugin, network peer) is given a crafted module. During wasm_runtime_load() the two-pass loader's constant-table desynchronization causes reserve_block_ret() to emit copy operands that overflow the heap code buffer sized by the first pass, corrupting adjacent heap metadata and deterministically crashing the process before any guest code executes. A detailed public PoC reference (a .wat/.wasm generator plus ASAN crash trace) exists in the advisory and linked gist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Heap buffer overflow in the WebAssembly Micro Runtime (WAMR) fast interpreter loader affects builds configured with WAMR_BUILD_FAST_INTERP=1 up to version 2.4.4, where a crafted Wasm module loaded through wasm_runtime_load() causes compiled-code writes past a heap-allocated buffer before any guest code executes. Unauthenticated remote attackers able to supply a module can deterministically crash the host process by corrupting heap metadata, with further consequences depending on the host application's heap layout. The vendor advisory includes a public proof-of-concept module and reproduction steps in a linked gist, but active exploitation has not been confirmed (not in CISA KEV).
RemediationAI
Upgrade to WAMR 2.4.5 (release tag WAMR-2.4.5, https://github.com/wasm-micro-runtime/wasm-micro-runtime/releases/tag/WAMR-2.4.5), which contains commit b1353b5e8983047ff68829c99abf1355d5f389cf raising FAST_INTERP_CONST_DEDUP_SCAN_MAX to 32 and making wasm_loader_get_const_offset() consult the existing constant table when no slot remains so both loader passes agree; see the advisory at https://github.com/wasm-micro-runtime/wasm-micro-runtime/security/advisories/GHSA-jjv3-x3jf-cg49. Where upgrading is not immediately possible, the documented workaround is to rebuild with -DWAMR_BUILD_FAST_INTERP=0, which selects the classic interpreter that does not contain the vulnerable two-pass loader, at the cost of reduced runtime performance. Applications that cannot apply either change should avoid loading untrusted Wasm modules in fast-interpreter builds until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WAMR's fast interpreter compiles Wasm bytecode into an internal representation using a two-pass loader in core/iwasm/interpreter/wasm_loader.c. Pass 1 walks the bytecode without emitting code and computes code_compiled_peak_size; the loader then allocates a code buffer of exactly that size, and Pass 2 re-walks the bytecode writing into it, so correctness depends on both passes making identical code-generation decisions. The constant table logic breaks that invariant: wasm_loader_get_const_offset() accumulates i64/i32/v128 constants and skips its linear deduplication scan once a type's constant count reaches 10, so large numbers of duplicates are appended unconditionally until the combined slot count (i64_const_num * 2 + i32_const_num) exceeds INT16_MAX - 2, at which point new constants are emitted inline (opcode plus 8-byte value) instead of as a 2-byte table reference. Between the passes the loader qsorts and deduplicates those arrays, collapsing tens of thousands of duplicates into a handful of entries; Pass 2 then uses bsearch against the shrunken table, so constants that were inlined in Pass 1 now resolve to table references, and the freed slots also change the dynamic_offset bookkeeping. In the reported case this causes reserve_block_ret() to emit additional copy operands in Pass 2 that were never counted in Pass 1, producing an out-of-bounds write past p_code_compiled_end consistent with CWE-787. The fix raises the dedup scan threshold to 32 and, when no slot remains for a new entry, scans the existing table so both passes reach the same in-table/inline decision.
Know when Wasm Micro Runtime gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
A crafted module triggers the loader with no auth or interaction (AV:N/AC:L/PR:N/UI:N); demonstrated impact is a deterministic crash (A:H) with partially attacker-controlled OOB write (I:L) and no confidentiality effect (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, 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. After duplicate constants inflate the first pass beyond the constant-slot limit, wasm_loader_get_const_offset emits later constants inline, but the between-pass sort and deduplication reduces the table so the second pass can choose table references and cause reserve_block_ret to emit additional copy operands that were not included in code_compiled_peak_size. A crafted module can therefore make the second pass write partially attacker-controlled compiled-code data beyond the heap buffer allocated from the first pass's size calculation during wasm_runtime_load, before guest code executes. This can corrupt host heap metadata and deterministically crash the process, causing denial of service; further consequences depend on the host application's heap layout. Builds using WAMR_BUILD_FAST_INTERP=1 are affected; disabling the fast interpreter avoids the vulnerable loader. This issue is fixed in version 2.4.5.
Technical POC Analysis
CWE-787 out-of-bounds write, in WAMR's two-pass fast interpreter loader, core/iwasm/interpreter/wasmloader.c.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity heap buffer overflow in WebAssembly Micro Runtime (WAMR) version 2.4.4 and earlier, when built with the fast interpreter, allows unauthenticated attackers to crash or potentially compromise any application that loads crafted Wasm modules. this affects products embedding WAMR for executing untrusted WebAssembly, exposing them to denial-of-service and potential code execution risks. Leadership should prioritize remediation due to the public proof-of-concept and the critical role WAMR plays in edge and IoT environments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Wasm Micro Runtime
View allHeap out-of-bounds write in WebAssembly Micro Runtime's WASI poll_oneoff implementation allows a crafted Wasm module to
Uninitialized host-stack memory in WebAssembly Micro Runtime (WAMR) 2.4.4 and earlier is copied into guest-readable glob
EUVD-2026-117617
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB