Skip to main content

WebAssembly Micro Runtime CVE-2026-54913

| EUVDEUVD-2026-117616 MEDIUM
Use of Uninitialized Variable (CWE-457)
2026-11-05 GitHub_M
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted untrusted .wasm module to WAMR embedder
  2. Exploit
    Declare i64/f64/v128 global initialized via invalid ref.null wide-type
  3. Execution
    Loader copies uninitialized host-stack bytes into global value
  4. Impact
    Guest reads leaked host-process memory via global.get

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization checks
Exploitation Conditions

Requires the embedder to load an attacker-controlled (untrusted) WebAssembly module through WAMR's classic or fast interpreter built in the DEFAULT no-GC configuration (WASM_ENABLE_GC=0). The malicious module must declare an i64 (0x7E), f64 (0x7C), or v128 (0x7B) global whose initializer uses the spec-invalid ref.null <wide-type> form, which WAMR fails to reject in the init-expression path. Limiting factors that reduce real-world risk: GC-enabled builds are NOT affected because they validate heap types; spec-conforming hosts reject such modules at parse time; the leak is confidentiality-only and small (4 bytes per i64/f64 global, up to 12 bytes per v128 global, sampled fresh on each reload); and exploitation is irrelevant to deployments that only run trusted/first-party modules.

Impact

This is a genuine but bounded sandbox-confidentiality issue, not a high-urgency emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with PR:N indicates an unauthenticated vector requiring no user interaction, and the impact is confidentiality-only and Low (VC:L; VI:N/VA:N) - consistent with a small host-memory leak rather than code execution or integrity loss. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a moderate 6.9 score. A detailed, reproducible proof-of-concept is published in the GHSA advisory (complete 90-byte module hex plus repro commands and observed non-deterministic output), so working trigger code is effectively public, but there is no CISA KEV listing and no EPSS score was provided in the input, so widespread or active exploitation cannot be asserted. The key caveat limiting real-world risk is the attack precondition: it only applies to embedders that load UNTRUSTED .wasm modules through the classic or fast interpreter in the default no-GC build (WASM_ENABLE_GC=0); GC-enabled builds validate heap types and are not affected. Net: a real, confirmed defect worth patching promptly for anyone running untrusted modules, but the limited leak size (4-12 bytes per crafted global) and confidentiality-only impact keep it below critical priority.

Exploit ScenarioDerived

An embedder (e.g., an edge/plugin host) accepts and loads an attacker-supplied WebAssembly module through WAMR's classic or fast interpreter in the default no-GC configuration. The attacker's module declares an i64, f64, or v128 global initialized with an invalid ref.null <wide-type> form; because the heap-type byte is unvalidated and the 16-byte WASMValue union is only partially initialized, the loader copies uninitialized host-stack bytes into the global, which the guest then reads via global.get. A working proof-of-concept with a 90-byte module and reproduction steps is published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Uninitialized host-stack memory in WebAssembly Micro Runtime (WAMR) 2.4.4 and earlier is copied into guest-readable globals, allowing a crafted Wasm module to read 4 bytes of the embedder's stack per i64/f64 global and up to 12 bytes per v128 global, sampled fresh on each module load. The flaw sits in the init-expression parser of the classic and fast interpreters and only affects the default no-GC build (WASM_ENABLE_GC=0); GC-enabled builds validate heap types and are not affected. CVSS scores it as a network-reachable, unauthenticated confidentiality leak (CVSS 6.9, AV:N/AC:L/PR:N/UI:N, C:L only) with scope change, which matches the sandbox-escape nature of the read. There is no KEV listing or confirmed active exploitation; a public PoC module and reproduction steps are published in the GitHub advisory, and the issue is fixed in WAMR 2.4.5.

RemediationAI

Vendor-released patch: upgrade to WAMR 2.4.5 (https://github.com/wasm-micro-runtime/wasm-micro-runtime/releases/tag/WAMR-2.4.5), which zero-initializes the WASMValue local and rejects any heap-type byte other than funcref or externref in the ref.null init-expression path; the corresponding fixes are commits c313279c548c6a93f55eb97455cab8696e39f6c1 (wasm_loader.c) and e571797fbdf498d9ac4edb495205ea0f01370091 (wasm_mini_loader.c), and embedders vendoring the runtime should cherry-pick both. If upgrading immediately is not possible, the practical compensating controls are: rebuild with WAMR_BUILD_GC=1, since the advisory states the GC-enabled path validates heap types correctly, at the cost of a larger binary and different runtime characteristics; or, on hosts that must stay on the no-GC build, gate module loading behind a spec-conforming parse/validation step (the advisory notes wasmtime rejects this exact module with 'invalid heap type' at parse time) so malformed ref.null initializers never reach WAMR's loader, accepting the added parsing overhead and a second validator in the trust path; and restrict the runtime to first-party or otherwise trusted modules, since the leak only materializes when an attacker controls the module. Note the leak is confidentiality-only and per-load (4 bytes per i64/f64 global, up to 12 bytes per v128 global), so repeated reloads accumulate exposure rather than giving a one-shot full-memory read.

Affected VersionsENISA

wasm-micro-runtime < 2.4.5

Affected Packages

euvd wasm_micro_runtime fix: 2.4.5

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

Root cause class is CWE-457 (use of uninitialized variable) and it requires two defects in core/iwasm/interpreter/wasm_loader.c to combine. In load_init_expr(), the INIT_EXPR_TYPE_REFNULL_CONST case reads the heap-type byte of a ref.null instruction and, when built with WASM_ENABLE_GC=0, never checks it, unlike the bytecode validator later in the same file which correctly restricts heap types to funcref (0x70) or externref (0x6F); any byte, including 0x7E (i64), 0x7C (f64) or 0x7B (v128), is accepted and propagated as the const-expression stack type. Separately, the local WASMValue cur_value is a 16-byte union declared without initialization, and assigning cur_value.ref_index = NULL_REF writes only the first 4 bytes, leaving the remaining 12 bytes as leftover host-stack data. Because push_const_expr_stack copies the whole union tagged with the attacker-chosen type, pop_const_expr_stack's type match succeeds, and the union is stored as the global's initial_value; at instantiation the i64 path copies sizeof(int64) bytes from that union into the global data, so the guest's global.get returns 0xFFFFFFFF in the low 32 bits plus leaked stack bytes above. The same fix pattern was applied to both wasm_loader.c and wasm_mini_loader.c in the upstream commits. The exact code path by which a host embeds the module is what determines exposure: any embedder that loads untrusted .wasm through the classic or fast interpreter in the default no-GC configuration is exposed, while GC-enabled builds and hosts that pre-validate modules with a spec-conforming parser reject the malformed initializer at parse time.

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

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.8 MEDIUM

Attacker-supplied untrusted module needs no auth or interaction (AV:N/AC:L/PR:N/UI:N); the guest reads host-process memory across the sandbox boundary, so scope changes with limited confidentiality-only impact (S:C/C:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 18:17 EUVD

DescriptionCVE.org

WebAssembly 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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular lightweight Wasm runtime for embedded/edge, moderate production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy