Integer Overflow or Wraparound
CVE-2025-58749
Summary
WebAssembly Micro Runtime (WAMR) is a lightweight, standalone WebAssembly (Wasm) runtime. In WAMR, 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 issue affects wasm-micro-runtime versions prior to 2.4.2.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- LOW
CWE-190 - Integer Overflow or Wraparound
The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
References
Advisory Timeline
- Published