Skip to main content

WebAssembly Micro Runtime EUVDEUVD-2026-117615

| CVE-2026-54914 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-11-05 GitHub_M
8.3
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 Wasm module to WAMR service
  2. Delivery
    Module calls poll_oneoff with nsubscriptions=2 (two ABSTIME clocks)
  3. Exploit
    Second event write passes one-event out validation
  4. Execution
    Overwrite adjacent host heap with attacker-controlled event data
  5. Impact
    Crash host process (DoS) or hijack control flow

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The host application must load and execute attacker-supplied or otherwise untrusted Wasm modules with WASI enabled (WAMR_BUILD_LIBC_WASI=1, on by default); poll_oneoff is reachable with no authentication and no user interaction in this mode. The attacker must set nsubscriptions >= 2 with subscriptions that each force an event write (the PoC uses two absolute-clock/ABSTIME subscriptions) and position the output buffer sized for a single 32-byte event so the second write (at out+32) crosses the validated Wasm linear-memory boundary. Limiting factors: exploitation is impossible where only trusted modules run; the reliably achievable outcome is a host-process crash (DoS), whereas confidentiality/integrity or control-flow hijack require a favorable/groomed heap layout and are not guaranteed; the vendor PoC was reproduced only on the classic interpreter with hardware bounds checks disabled under ASAN, so behavior on other configurations is not stated in the available sources.

Impact

CVSS 4.0 rates this 8.3 (High), driven by AV:N/AC:L/PR:N/UI:N with high availability impact (VA:H) and low confidentiality/integrity impact (VC:L/VI:L); the AT:P (attack-requirement present) metric signals that outcomes beyond a crash depend on conditions the attacker does not fully control. The vuln.today decision label is 'this_week' - meaningful priority but not act_now/emergency. The vulnerability is NOT in CISA KEV and no EPSS score was provided, and there is no evidence of active exploitation; however, a public PoC exists (a crafted WAT/WASM module and Dockerfile are embedded in the vendor advisory, and working .wasm reproducers were committed to WAMR's regression suite), so this is well beyond a theoretical finding. The practical risk is strongly gated by deployment: the signals describe a Wasm-sandbox escape that only matters where a WAMR-based application actually executes attacker-supplied or otherwise untrusted guest modules - in that configuration a reliable host-process crash (3/3 in vendor testing) is a genuine DoS, with partial, heap-layout-dependent confidentiality/integrity or code-execution potential. Where an application only ever runs trusted first-party modules, real-world exposure is minimal despite the high base score. Note the vendor's own AV:N assumes the module is delivered to a network-facing service; for a local CLI running local modules the true vector is local. This is a real priority to patch for anyone running untrusted Wasm, but the absence of KEV/EPSS and the 'this_week' label suggest targeted/opportunistic rather than mass exploitation.

Exploit ScenarioDerived

An attacker submits a small (~116-byte) crafted Wasm module containing two absolute-clock (ABSTIME) subscriptions to a WAMR-based service that executes untrusted guest modules. When the module invokes the WASI poll_oneoff import with nsubscriptions=2 and an output buffer sized for only one event positioned at the end of linear memory, the under-validated host writes a second __wasi_event_t past the validated region into adjacent host heap, reliably crashing the host process - and under a groomed heap layout potentially hijacking control flow. A public PoC (embedded WAT/WASM plus a build Dockerfile) is included in the vendor advisory and regression tests.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Heap out-of-bounds write in WebAssembly Micro Runtime's WASI poll_oneoff implementation allows a crafted Wasm module to write a second 32-byte event record past the validated end of its linear memory into adjacent host heap memory, reliably crashing the host process and, with a favorable heap layout, potentially corrupting data or hijacking control flow. WAMR builds up to 2.4.4 that execute untrusted Wasm modules with WASI enabled (WAMR_BUILD_LIBC_WASI=1, the default) are affected, and the path is reachable over a network-facing module input with no authentication or user interaction. The upstream advisory (GHSA-wj3p-xhqm-pffc) ships a working reproducer module and a regression test, and the flaw is fixed in 2.4.5; the practical ceiling without heap grooming is denial of service of the host process.

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 rewrites the poll_oneoff address checks to nsubscriptions * sizeof(wasi_subscription_t) and nsubscriptions * sizeof(wasi_event_t) in both libc_wasi_wrapper.c and libc_uvwasi_wrapper.c; the same change is in commits 1f98fb01d09b2ef5e49dc0be2e6006f962fd87f1 and b49d10eac4176817305d60ea59d24bc69a53eb7b for deployments that patch from source rather than tracking releases, and the advisory at https://github.com/wasm-micro-runtime/wasm-micro-runtime/security/advisories/GHSA-wj3p-xhqm-pffc should be tracked. Where upgrading is not immediately possible, stop feeding untrusted Wasm modules to the runtime, since exploitation requires attacker-controlled module input; rebuilding with WAMR_BUILD_LIBC_WASI=0 removes the poll_oneoff import entirely but breaks any module that depends on WASI syscalls; and running the runtime in a separate low-privilege process, container or seccomp-confined sandbox limits the blast radius but does not prevent the reliably achievable host-process crash, which remains the expected outcome until the patch is applied.

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

WAMR exposes the WASI snapshot-preview1 poll_oneoff import to guest modules. The dispatch wrapper wasi_poll_oneoff in core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c translates Wasm linear-memory offsets into native pointers and validates them before calling the native implementation wasmtime_ssp_poll_oneoff in sandboxed-system-primitives/src/posix.c. The validation only reserved sizeof(wasi_event_t) (32 bytes) for the output buffer and sizeof(wasi_subscription_t) for the input array, while the callee loops nsubscriptions times and unconditionally writes an event to out[nevents++] for each subscription that produces one (for example absolute-clock/ABSTIME subscriptions, or unsupported event types returning ENOSYS). Supplying nsubscriptions=2 with an output region that ends exactly at the linear-memory boundary makes the second write land at out+32, past the host allocation backing the guest memory - a CWE-122 heap-based buffer overflow - with the first 8 bytes of the overwritten structure (the userdata field) under attacker control. The fix commit changes the guards to nsubscriptions * sizeof(wasi_subscription_t) and nsubscriptions * sizeof(wasi_event_t) and applies the same correction to the libc-uvwasi wrapper (libc_uvwasi_wrapper.c), so both WASI implementations are in scope. Reproduction was confirmed only on the classic interpreter build with hardware bounds checks disabled under AddressSanitizer, using a one-page memory with the output buffer at offset 65504; behaviour on AOT, JIT, fast-interp or hardware-bounds-check-enabled builds is not stated in the available sources.

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 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Crafted module delivered to a network service, no auth or interaction (AV:N/PR:N/UI:N); reliable crash gives AC:L and A:H; guest-to-host overflow is a sandbox escape (S:C); C/I only Low as they need heap grooming.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 18:17 EUVD
CVE Published
Nov 05, 2026 - 17:27 cve.org
HIGH 8.3

DescriptionCVE.org

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, wasi_poll_oneoff in core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c validates the output pointer for only one wasi_event_t, while wasmtime_ssp_poll_oneoff in core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c can write as many events as the guest-controlled nsubscriptions value. A crafted guest module can provide multiple subscriptions that produce events while positioning an output region large enough for only one event, causing a later out[nevents] write to cross the validated Wasm linear-memory boundary into adjacent host heap memory. The overwrite contains partly attacker-controlled event data and can reliably crash the host process, with further confidentiality or integrity consequences depending on heap layout. This issue is fixed in version 2.4.5.

Technical POC Analysis

CWE-122, heap-based buffer overflow (out-of-bounds write).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity memory corruption flaw in WebAssembly Micro Runtime (WAMR) versions up to 2.4.4 could allow a malicious WebAssembly module to crash or potentially compromise any host process that runs untrusted code with WASI enabled. Organizations using WAMR in network-facing services, edge devices, or multi-tenant execution environments are at risk of service disruption and potential data compromise, though no active exploitation has been reported.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting execution to trusted WebAssembly modules, disabling WASI if not required, and running WAMR in a sandboxed environment with minimal privileges to limit impact.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche embedded/edge Wasm runtime, deployed only where untrusted modules run
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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