Untrusted Pointer Dereference Affecting bytecodealliance/wasm-micro-runtime package, versions [,2.4.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-BYTECODEALLIANCEWASMMICRORUNTIME-12863313
  • published18 Sept 2025
  • disclosed16 Sept 2025
  • creditLiu Jia, gaaraw

Introduced: 16 Sep 2025

NewCVE-2025-58749  (opens in a new tab)
CWE-822  (opens in a new tab)

How to fix?

Upgrade bytecodealliance/wasm-micro-runtime to version 2.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Pointer Dereference in the memory.fill process when the first operand (memory address pointer) is greater than or equal to 2147483648 bytes in LLVM-JIT mode. An attacker can cause the runtime to hang or crash by executing a WebAssembly program with a specially crafted memory.fill instruction. This is only exploitable if the runtime is operating in LLVM-JIT mode; the issue does not occur in FAST-JIT mode or other runtime tools.

References

CVSS Base Scores

version 4.0
version 3.1