CVE-2025-64713
JSON

5.1medium

WebAssembly Micro Runtime frame_offset_bottom array bounds overflow in fast Interpreter mode when handling GET_GLOBAL(I32) followed by if opcode

Severity
5.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to version 2.4.4, an out-of-bounds array access issue exists in WAMR's fast interpreter mode during WASM bytecode loading. When frame_ref_bottom and frame_offset_bottom arrays are at capacity and a GET_GLOBAL(I32) opcode is encountered, frame_ref_bottom is expanded but frame_offset_bottom may not be. If this is immediately followed by an if opcode that triggers preserve_local_for_block, the function traverses arrays using stack_cell_num as the upper bound, causing out-of-bounds access to frame_offset_bottom since it wasn't expanded to match the increased stack_cell_num. This issue has been patched in version 2.4.4.

Affected

Product or packageVersionsReported by
bytecodealliance wasm-micro-runtime< 2.4.4CVE List
bytecodealliance webassembly_micro_runtimebefore 2.4.4NVD

All scores

GitHub_M5.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-119

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to version 2.4.4, an out-of-bounds array access issue exists in WAMR's fast interpreter mode during WASM bytecode loading. When frame_ref_bottom and frame_offset_bottom arrays are at capacity and a GET_GLOBAL(I32) opcode is encountered, frame_ref_bottom is expanded but frame_offset_bottom may not be. If this is immediately followed by an if opcode that triggers preserve_local_for_block, the function traverses arrays using stack_cell_num as the upper bound, causing out-of-bounds access to frame_offset_bottom since it wasn't expanded to match the increased stack_cell_num. This issue has been patched in version 2.4.4.

NVD (es)

WebAssembly Micro Runtime (WAMR) es un tiempo de ejecución (runtime) de WebAssembly (Wasm) ligero y autónomo. Versiones anteriores a la versión 2.4.4, existe un problema de acceso a un array fuera de límites en el modo de intérprete rápido de WAMR durante la carga de bytecode WASM. Cuando los arrays 'frame_ref_bottom' y 'frame_offset_bottom' están a su máxima capacidad y se encuentra un código de operación (opcode) 'GET_GLOBAL(I32)', 'frame_ref_bottom' se expande, pero 'frame_offset_bottom' podría no hacerlo. Si esto es seguido inmediatamente por un código de operación 'if' que activa 'preserve_local_for_block', la función recorre los arrays utilizando 'stack_cell_num' como límite superior, causando un acceso fuera de límites a 'frame_offset_bottom' ya que no se expandió para coincidir con el 'stack_cell_num' incrementado. Este problema ha sido parcheado en la versión 2.4.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-64713 changed 2025-11-26CVE Terms of Use
NVDCVE-2025-64713 changed 2026-10-18Public domain