WebAssembly Wabt Null Pointer Dereference Vulnerability in Binary Reader Interp Module

Vulnerability

A null pointer dereference vulnerability has been identified in WebAssembly Wabt version 1.0.36. The issue occurs in the 'BinaryReaderInterp::BeginFunctionBody' function within the 'src/interp/binary-reader-interp.cc' file. This vulnerability arises because the function fails to validate a pointer before accessing it, leading to a potential application crash. The vulnerability can be exploited remotely, although the exploitation process is complex and challenging.

Impact

Exploitation of this vulnerability leads to a null pointer dereference, causing a segmentation fault and application crash. This type of vulnerability is known to disrupt the availability of the application.

Reproduction

The vulnerability can be reproduced by compiling Wabt with AddressSanitizer enabled, which helps detect memory errors. After building Wabt, a fuzzer can be used to send crafted input that triggers the null pointer dereference. The AddressSanitizer will report the segmentation fault caused by the invalid memory access, demonstrating the vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
2.4
impact
2.5
exploitability
5.8
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.