CVE-2025-58749 Details
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.
A vulnerability exists in WebAssembly Micro Runtime (WAMR) versions prior to 2.4.2, specifically in LLVM-JIT mode. The issue arises when executing WebAssembly programs that include a memory.fill instruction with a memory address pointer of 2 GiB or more. In this scenario, the runtime fails to exit properly, causing a hang in release builds or a crash in debug builds due to invalid pointer access. This problem does not occur in FAST-JIT mode or with other runtime tools.
Users can upgrade to WAMR version 2.4.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bytecodealliance/wasm-micro-runtime/security/advisories/GHSA-xj5p-r8jq-pw47 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/bytecodealliance/wasm-micro-runtime/commit/95f506a6e77d3ac7588eac7263f95558edfa7f3b | [email protected] | Patch |
| https://github.com/bytecodealliance/wasm-micro-runtime/security/advisories/GHSA-xj5p-r8jq-pw47 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| CWE-822 | Untrusted Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bytecodealliance webassembly micro runtime | < 2.4.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | New CVE Received | [email protected] |