Skip to main content

WebAssembly Binaryen EUVDEUVD-2026-29013

| CVE-2026-8257 LOW
Reachable Assertion (CWE-617)
2026-05-11 VulDB GHSA-gmmj-chcc-2f2x
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local shell access
  2. Delivery
    Craft malformed WASM module with br_on non-ref operand
  3. Exploit
    Invoke Binaryen tool (wasm-opt/wasm2js) on malicious module
  4. Execution
    Trigger unvalidated assertion in makeBrOn
  5. Impact
    Process 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Binaryen 117

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

Vendor (VulDB) PRIMARY 1.9 LOW
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

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

Lifecycle Timeline

2
CVSS changed
May 11, 2026 - 02:22 NVD
3.3 (LOW) 1.9 (LOW)
CVE Published
May 11, 2026 - 00:30 nvd
LOW 3.3

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

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-115889 CRITICAL POC
9.9 Oct 23

Wasmtime versions before 36.0.19, and the 37.0.0 through 42.x line, can silently miscompile attacker-supplied WebAssembl

CVE-2023-27117 HIGH POC
7.8 Mar 10

WebAssembly v1.0.29 was discovered to contain a heap overflow via the component component wabt::Node::operator. Rated hi

CVE-2022-43281 HIGH POC
7.8 Oct 28

wasm-interp v1.0.29 was discovered to contain a heap overflow via the component std::vector<wabt::Type, std::allocator<w

CVE-2023-31670 HIGH POC
7.5 May 23

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

CVE-2021-45290 HIGH POC
7.5 Dec 21

A Denial of Service vulnerability exits in Binaryen 103 due to an assertion abort in wasm::handle_unreachable. Rated hig

CVE-2026-90648 HIGH POC
7.1 Sep 12

Sandbox escape in wasm2c (wabt ≤ 1.0.41) allows an attacker controlling WebAssembly content to achieve arbitrary read/wr

CVE-2022-43282 HIGH POC
7.1 Oct 28

wasm-interp v1.0.29 was discovered to contain an out-of-bounds read via the component OnReturnCallIndirectExpr->GetRetur

CVE-2022-43280 HIGH POC
7.1 Oct 28

wasm-interp v1.0.29 was discovered to contain an out-of-bounds read via the component OnReturnCallExpr->GetReturnCallDro

CVE-2019-15759 MEDIUM POC
6.5 Aug 29

An issue was discovered in Binaryen 1.38.32. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitabl

CVE-2019-15758 MEDIUM POC
6.5 Aug 29

An issue was discovered in Binaryen 1.38.32. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitabl

CVE-2019-7704 MEDIUM POC
6.5 Feb 10

wasm::WasmBinaryBuilder::readUserSection in wasm-binary.cpp in Binaryen 1.38.22 triggers an attempt at excessive memory

CVE-2019-7703 MEDIUM POC
6.5 Feb 10

In Binaryen 1.38.22, there is a use-after-free problem in wasm::WasmBinaryBuilder::visitCall in wasm-binary.cpp. Rated m

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