Skip to content
OpenAdvisories
Low · 2.1 CVE-2025-58749 EUVD-2025-29631

WAMR runtime hangs or crashes with large memory.fill addresses in LLVM-JIT mode

Published Sep 16, 2025 · Updated Sep 16, 2025 · Assigned by GitHub_M

Description

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. In WAMR versions prior to 2.4.2, when running in LLVM-JIT mode, the runtime cannot exit normally when executing WebAssembly programs containing a memory.fill instruction where the first operand (memory address pointer) is greater than or equal to 2147483648 bytes (2GiB). This causes the runtime to hang in release builds or crash in debug builds due to accessing an invalid pointer. The issue does not occur in FAST-JIT mode or other runtime tools. This has been fixed in version 2.4.2.

Affected products

VendorProductAffectedFixed
bytecodealliance wasm-micro-runtime < 2.4.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 fluent-bit 3.1.9-6 —
Azure Linux 2 (CBL-Mariner) fluent-bit 3.0.6-4 —

References