Skip to main content

WebAssembly Binaryen CVE-2025-14957

LOW
Improper Resource Shutdown or Release (CWE-404)
2025-12-19 cna@vuldb.com
1.9
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local authenticated access
  2. Delivery
    Supply malicious Index argument
  3. Exploit
    Invoke vulnerable IRBuilder function
  4. Execution
    Trigger null pointer dereference
  5. Impact
    Crash compiler process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

Exploitation requires local authenticated access to a system running Binaryen (AV:L, PR:L per CVSS vector). The attacker must be able to invoke the Binaryen compiler toolchain directly or supply a crafted WebAssembly input file that exercises the vulnerable code path - this means the vulnerability is restricted to build environments, development machines, or CI/CD systems where Binaryen is installed and the attacker has user-level privileges. Default configurations of Binaryen as a compiler library do not inherently expose this vulnerability to remote or unauthenticated access; exploitation is contingent on malicious input reaching the vulnerable IRBuilder functions from a local user with sufficient system permissions to run the compiler. Non-default configurations (e.g., remote WebAssembly compilation services with inadequate input validation) could lower the barrier to exploitation.

Impact

This vulnerability presents minimal real-world risk despite moderate CVSS v4.0 score of 1.9. Multiple risk signals confirm low severity: EPSS exploitation probability is 0.03% (7th percentile), indicating this vulnerability ranks far below typical exploitation targets; CVSS vector shows local-access-only attack vector (AV:L) with authenticated privilege requirement (PR:L), severely restricting attack surface; impact scope is limited to availability (VA:L with VC:N/VI:N/SA:N), producing only service disruption with no data confidentiality or integrity impact; and the vulnerability requires manipulation of a specific internal compiler function argument, not a network-exposed interface. While public exploit code exists, the combination of local-access-only, authenticated-user requirement, and narrow technical impact (availability only) means this is unlikely to be exploited in practice except by developers with malicious intent during build toolchain operations. The low EPSS score (7th percentile) directly contradicts any sense of urgency, suggesting security teams should deprioritize this against network-accessible or unauthenticated vulnerabilities. This is a classic example of high-CVSS-but-low-real-risk - defensive prioritization should focus on patch coordination during routine maintenance windows rather than emergency response.

Exploit ScenarioDerived

A developer with local access to a build system where Binaryen is installed creates a malicious WebAssembly module or crafts a direct IR builder invocation with an out-of-bounds Index argument. When the Binaryen compiler processes this input, the IRBuilder functions attempt to dereference a null pointer, crashing the compiler process and disrupting the build pipeline.

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 – Apr 29, 2026

Null pointer dereference in WebAssembly Binaryen up to version 125 allows local authenticated users to cause denial of service by manipulating the Index argument in IRBuilder::makeLocalGet, IRBuilder::makeLocalSet, or IRBuilder::makeLocalTee functions. Public exploit code exists, though real-world impact is minimal given the very low EPSS score (0.03%, 7th percentile) and local-access-only attack vector. This vulnerability is low-severity and unlikely to be prioritized for rapid patching in most environments.

RemediationAI

Update WebAssembly Binaryen to a version released after commit 6fb2b917a79578ab44cf3b900a6da4c27251e0d4 (released as part of a post-125 release; verify exact version from GitHub releases). Users unable to update immediately should restrict access to the Binaryen compiler toolchain to trusted developers only, as the vulnerability requires local authenticated user access to the build environment. Restricting who can invoke the compiler and what input it accepts will prevent exploitation. Coordinate patching with routine toolchain updates to minimize disruption; this is not a critical patch requiring emergency deployment. Confirm the applied patch via the commit hash 6fb2b917a79578ab44cf3b900a6da4c27251e0d4 visible in your build environment. See GitHub repository (https://github.com/WebAssembly/binaryen/) and patch PR https://github.com/WebAssembly/binaryen/pull/8099 for deployment details.

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 a compiler and toolchain infrastructure library for WebAssembly. The vulnerability resides in the IRBuilder component (src/wasm/wasm-ir-builder.cpp), which handles intermediate representation construction during WebAssembly code compilation. The three affected functions (makeLocalGet, makeLocalSet, makeLocalTee) manage local variable access operations in the IR. When the Index argument is manipulated to an invalid value, these functions fail to validate the index bounds against the actual local variable table, resulting in a null pointer dereference (CWE-404: Improper Resource Validation). This occurs at the IR construction stage, before WebAssembly binary generation, and is exploitable only by local users with sufficient privileges to invoke the compiler toolchain.

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

NVD 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 NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

A vulnerability was identified in WebAssembly Binaryen up to 125. This affects the function IRBuilder::makeLocalGet/IRBuilder::makeLocalSet/IRBuilder::makeLocalTee of the file src/wasm/wasm-ir-builder.cpp of the component IRBuilder. Such manipulation of the argument Index leads to null pointer dereference. Local access is required to approach this attack. The exploit is publicly available and might be used. The name of the patch is 6fb2b917a79578ab44cf3b900a6da4c27251e0d4. Applying a patch is advised to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
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 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· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

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.

Affected Products (CPE)CVE.org

cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:*
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