Integer overflow in Bytecodealliance Wasm-Micro-Runtime
CVE-2025-58749
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.
Vulnerability class: Integer Overflow
EPSS: 0.003 (27.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-58749?
- CVE-2025-58749 is a medium-severity vulnerability in Bytecodealliance Wasm-Micro-Runtime, classified under Integer Overflow or Wraparound. CVSS score: 5.3/10. Published 2025-09-16.
- How severe is CVE-2025-58749?
- Medium severity. CVSS v3 base score is 5.3 out of 10.