Skip to main content

WebAssembly Binaryen CVE-2025-14956

LOW
Buffer Overflow (CWE-119)
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
    Obtain local system access
  2. Delivery
    Craft malicious WebAssembly binary with oversized export record
  3. Exploit
    Invoke Binaryen parser on crafted binary
  4. Execution
    Trigger buffer overflow in readExport function
  5. Persist
    Read or corrupt limited heap memory
  6. Impact
    Leak information or cause minor data integrity loss

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Exploitation requires: (1) local access to the target system (AV:L), (2) an authenticated user account with low privileges or above (PR:L), (3) ability to place or deliver a malicious WebAssembly binary file to be parsed by Binaryen tools, and (4) execution of Binaryen's parser on that file (e.g., wasm-opt, wasm-dis, or programmatic use of libbinaryen). The vulnerability does NOT execute in remote contexts or affect systems where untrusted users cannot invoke Binaryen. Default installations of Binaryen without external input handling are not automatically vulnerable; active parsing of attacker-controlled WebAssembly binaries is required. Non-default configurations (e.g., server-side WebAssembly compilation services accepting public uploads) increase risk significantly.

Impact

Despite CVSS 1.9 and publicly available proof-of-concept code, real-world risk is minimal. EPSS of 0.04% (13th percentile) strongly contradicts the presence of POC, indicating this vulnerability is narrow and rarely encountered in practice. The CVSS vector reveals critical limiting factors: AV:L (local-only), PR:L (low privilege required), and E:P (proof-of-concept exists). Scope is unchanged (S:X unspecified but AV:L implies same privilege level unchanged), and impact is confined to limited information disclosure and integrity compromise (VC:L, VI:L, VA:L, with no scope change). This is not a critical code execution vulnerability despite the buffer overflow class. The gap between POC availability and EPSS suggests exploitation requires specific, non-standard conditions or the vulnerability is challenging to weaponize for meaningful impact. Verdict: low priority unless Binaryen is core to your supply chain or embedded in auto-updating tools.

Exploit ScenarioDerived

An attacker with local system access creates a malicious WebAssembly binary module with a crafted export section designed to overflow a heap buffer during parsing. They run the Binaryen parser (e.g., via wasm-opt or similar tools) on this binary, triggering the buffer overflow in readExport. The overflow causes information disclosure (reading adjacent heap memory) or limited data corruption, but does not yield code execution due to limited privilege scope and the constrained impact vectors.

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

Heap-based buffer overflow in WebAssembly Binaryen up to version 125 within the WasmBinaryReader::readExport function allows local attackers with low privileges to cause limited information disclosure and integrity compromise. The vulnerability requires local access and authenticated privileges but has extremely low real-world exploitability with EPSS score of 0.04% despite publicly available proof-of-concept code, indicating this is a narrow, low-impact issue unlikely to be prioritized in most threat environments.

RemediationAI

Apply vendor patch immediately by updating to a version containing commit 4f52bff8c4075b5630422f902dd92a0af2c9f398 or later. Pull request #8092 on the GitHub repository https://github.com/WebAssembly/binaryen/ tracks the fix. For environments unable to patch immediately, restrict execution of untrusted WebAssembly binary files and limit local user access to systems running Binaryen tools, since the attack requires local access with low-privilege credentials. If Binaryen is part of a build pipeline, validate that all WebAssembly input binaries are from trusted sources and consider sandboxing the parser process with reduced privileges or process isolation.

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

The vulnerability exists in the binary WebAssembly parser (src/wasm/wasm-binary.cpp), specifically within the export section reading logic of WasmBinaryReader. The heap-based buffer overflow (CWE-119) occurs when the readExport function processes malformed or oversized export records in WebAssembly binary files without proper bounds checking. This is a classic memory safety issue in C++ code that manipulates heap-allocated buffers during binary format parsing. The attack requires crafting a malicious WebAssembly binary module with an oversized export definition that triggers the overflow when parsed locally.

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:L/VI:L/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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was determined in WebAssembly Binaryen up to 125. Affected by this issue is the function WasmBinaryReader::readExport of the file src/wasm/wasm-binary.cpp. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: 4f52bff8c4075b5630422f902dd92a0af2c9f398. It is recommended to apply a patch to fix this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% 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

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.

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