Skip to main content
← All vulnerabilities
CVE-2025-66627GHSA-G4V2-CJQP-RFMQ

Wasmi's Linear Memory has a Critical Use After Free Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.41.2, 0.47.1, 0.51.3, 1.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Wasmi is a WebAssembly interpreter focused on constrained and embedded systems. In versions 0.41.0, 0.41.1, 0.42.0 through 0.47.1, 0.50.0 through 0.51.2 and 1.0.0, Wasmi's linear memory implementation leads to a Use After Free vulnerability, triggered by a WebAssembly module under certain memory growth conditions. This issue potentially leads to memory corruption, information disclosure, or code execution. This issue is fixed in versions 0.41.2, 0.47.1, 0.51.3 and 1.0.1. To workaround this issue, consider limiting the maximum linear memory sizes where feasible.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • wasmi-labs wasmi

    From 0.41.0 · fixed in 0.41.2; From 0.42.0 · fixed in 0.47.1; From 0.50.0 · fixed in 0.51.3; From 1.0.0 · fixed in 1.0.1

  • wasmicrates.io

    From 0.41.0 · fixed in 0.41.2

  • wasmicrates.io

    From 0.42.0 · fixed in 0.47.1

  • wasmicrates.io

    From 0.50.0 · fixed in 0.51.3

  • wasmicrates.io

    From 1.0.0 · fixed in 1.0.1

References 1

GitHub · wasmi-labs/wasmi