Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local shell access
-
DeliveryCraft malformed WASM module with br_on non-ref operand
-
ExploitInvoke Binaryen tool (wasm-opt/wasm2js) on malicious module
-
ExecutionTrigger unvalidated assertion in makeBrOn
-
ImpactProcess terminates with denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | CRITICAL: Local access required - AV:L means the attacker must either have direct command-line access to a system running Binaryen tools or be able to supply malicious WebAssembly input to a service (build pipeline, WASM verification API, IDE plugin) that processes untrusted modules with Binaryen. The attacker must possess low privileges (PR:L); ordinary user accounts can trigger this. The specific condition is providing WebAssembly bytecode where a br_on* instruction references an operand of non-reference type (i32, f64, v128, or other non-ref types) that does not have type unreachable. This is a validation gap - the parser does not check type compatibility before invoking internal assertions. Systems that only process pre-validated or trusted WebAssembly modules are NOT vulnerable. Binaryen running in sandboxed environments where untrusted input is filtered by type checkers (e.g., wasm-validate) upstream of Binaryen would be protected. |
| Impact | The risk is low to moderate in real-world deployment. CVSS score of 3.3 with AV:L (local attack vector) and PR:L (low privilege required) indicates this is not a network-exploitable vulnerability and requires direct local access to a system running Binaryen. The E:P (exploit proof-of-concept exists) and RL:O (official fix available) ratings confirm public availability of both exploit and patch. The vulnerability causes only availability impact (A:L - local denial of service), not confidentiality or integrity compromise, limiting it to a nuisance-level attack. However, in CI/CD pipelines or build systems that process untrusted WebAssembly modules (e.g., cloud-hosted compilation services), a malicious WASM file could crash the build process, causing service disruption. The CVSS vector AC:L (low attack complexity) and UI:N (no user interaction) indicate straightforward triggering - a single crafted WASM file is sufficient. Exploitation conditions are narrow: the attacker must have local command-line access to invoke Binaryen tools or supply malicious WASM to a service that uses Binaryen. This limits the attack surface to development environments, build systems, and WASM verification services rather than end-user facing applications. |
| Exploit ScenarioDerived | An attacker with local shell access creates a malformed WebAssembly module containing a br_on* instruction with a non-reference-typed operand (e.g., an i32 or f64 type where a ref type is required). The attacker invokes Binaryen tools (wasm-opt, wasm2js) on this crafted module, or uploads it to a cloud-based WASM compilation service. The BrOn parser attempts to process the operand and hits the unvalidated assertion check in IRBuilder::makeBrOn, causing the process to crash with an assertion failure. Publicly available exploit code from GitHub demonstrates this by providing minimal WASM test cases that trigger the assertion. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Denial of service via reachable assertion in WebAssembly Binaryen up to version 117 allows local attackers with low privileges to crash the BrOn parser component by providing malformed WebAssembly bytecode that triggers an unhandled assertion in the IRBuilder::makeBrOn function, with publicly available exploit code and vendor patch already released.
RemediationAI
Install the patched version of Binaryen with commit 1251efbc1ea471c1311d2726b2bbe061ff2a291c or later from the official WebAssembly Binaryen repository (https://github.com/WebAssembly/binaryen). Update build systems and CI/CD pipelines that depend on Binaryen to pull the latest release that includes this fix. If immediate patching is not feasible, restrict local access to Binaryen toolchain executables to trusted users only and implement input validation in any systems that accept untrusted WebAssembly modules - specifically, validate that br_on* instructions reference only reference-typed operands before passing modules to Binaryen. Monitor build logs for assertion failures in wasm-ir-builder.cpp as an indicator of exploitation attempts. The patch validates that operands to br_on* instructions are properly typed as references, replacing assertion failures with graceful error returns.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Binaryen is the WebAssembly compiler and toolchain library that parses and processes WebAssembly intermediate representation (IR). The vulnerability exists in the IRBuilder::makeBrOn function within src/wasm/wasm-ir-builder.cpp, which handles the br_on* family of WebAssembly branch instructions that conditionally branch based on runtime type checks. The root cause is a CWE-617 (Reachable Assertion) - the function fails to validate that operand types are references (ref) before processing them, causing an assertion failure when non-reference types are provided in crafted WebAssembly modules. The br_on instructions (br_on_cast, br_on_cast_fail, br_on_non_null, br_on_null) require reference-typed operands per WebAssembly specification, but the parser did not enforce this validation, allowing malicious or malformed WASM input to trigger unprotected assertion checks rather than graceful error handling.
Know when Webassembly 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:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in WebAssembly Binaryen up to 117. This issue affects the function IRBuilder::makeBrOn of the file src/wasm/wasm-ir-builder.cpp of the component BrOn Parser. Performing a manipulation results in reachable assertion. The attack needs to be approached locally. The exploit is now public and may be used. The patch is named 1251efbc1ea471c1311d2726b2bbe061ff2a291c. It is suggested to install a patch to address this issue.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Webassembly
View allWasmtime versions before 36.0.19, and the 37.0.0 through 42.x line, can silently miscompile attacker-supplied WebAssembl
WebAssembly v1.0.29 was discovered to contain a heap overflow via the component component wabt::Node::operator. Rated hi
wasm-interp v1.0.29 was discovered to contain a heap overflow via the component std::vector<wabt::Type, std::allocator<w
An issue in wasm2c 1.0.32, wasm2wat 1.0.32, wasm-decompile 1.0.32, and wasm-validate 1.0.32 allows attackers to cause a
A Denial of Service vulnerability exits in Binaryen 103 due to an assertion abort in wasm::handle_unreachable. Rated hig
Sandbox escape in wasm2c (wabt ≤ 1.0.41) allows an attacker controlling WebAssembly content to achieve arbitrary read/wr
wasm-interp v1.0.29 was discovered to contain an out-of-bounds read via the component OnReturnCallIndirectExpr->GetRetur
wasm-interp v1.0.29 was discovered to contain an out-of-bounds read via the component OnReturnCallExpr->GetReturnCallDro
An issue was discovered in Binaryen 1.38.32. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitabl
An issue was discovered in Binaryen 1.38.32. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitabl
wasm::WasmBinaryBuilder::readUserSection in wasm-binary.cpp in Binaryen 1.38.22 triggers an attempt at excessive memory
In Binaryen 1.38.22, there is a use-after-free problem in wasm::WasmBinaryBuilder::visitCall in wasm-binary.cpp. Rated m
EUVD-2026-29013
GHSA-gmmj-chcc-2f2x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB