CVE-2025-58749: WAMR runtime hangs or crashes with large memory.fill addresses in LLVM-JIT mode
WAMR runtime hangs or crashes with large memory.fill addresses in LLVM-JIT mode
Other sources
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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58749?
CVE-2025-58749 has a moderate severity rating due to potential execution issues in WebAssembly programs.
How do I fix CVE-2025-58749?
To fix CVE-2025-58749, upgrade WebAssembly Micro Runtime (WAMR) to version 2.4.2 or later.
What are the affected versions mentioned in CVE-2025-58749?
CVE-2025-58749 affects WebAssembly Micro Runtime versions prior to 2.4.2.
What impact does CVE-2025-58749 have on applications?
CVE-2025-58749 may cause WebAssembly applications to not exit normally when executing specific memory instructions.
Which WebAssembly Micro Runtime functionality is vulnerable in CVE-2025-58749?
The vulnerability in CVE-2025-58749 is related to the LLVM-JIT mode when handling the 'memory.fill' instruction.