Read the docs
TI-2025-41021 Aliases CVE-2025-66627GHSA-g4v2-cjqp-rfmq

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

Priority LOW 37CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-416 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00146 3rd percentileScored 2026-11-08
Fix Fixed wasmi (wasmi-labs): 0.41.2, 0.47.1, 0.51.3 +1wasmi (crates.io): 0.41.2, 0.47.1, 0.51.3 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
wasmi-labswasmi0.41.0 to before 0.41.2; 0.42.0 to before 0.47.1; 0.50.0 to before 0.51.3; 1.0.0 to before 1.0.10.41.2, 0.47.1, 0.51.3, 1.0.1Patch availableCNA
—wasmi (crates.io)0.41.0 to before 0.41.20.41.2Patch availableGHSA-g4v2-cjqp-rfmq
—wasmi (crates.io)0.42.0 to before 0.47.10.47.1Patch availableGHSA-g4v2-cjqp-rfmq
—wasmi (crates.io)0.50.0 to before 0.51.30.51.3Patch availableGHSA-g4v2-cjqp-rfmq
—wasmi (crates.io)1.0.0 to before 1.0.11.0.1Patch availableGHSA-g4v2-cjqp-rfmq
  • wasmi Vendorwasmi-labs Affected 0.41.0 to before 0.41.2; 0.42.0 to before 0.47.1; 0.50.0 to before 0.51.3; 1.0.0 to before 1.0.1 Fixed in 0.41.2, 0.47.1, 0.51.3, 1.0.1 Patch available CNA
  • wasmi (crates.io) Vendor— Affected 0.41.0 to before 0.41.2 Fixed in 0.41.2 Patch available GHSA-g4v2-cjqp-rfmq
  • wasmi (crates.io) Vendor— Affected 0.42.0 to before 0.47.1 Fixed in 0.47.1 Patch available GHSA-g4v2-cjqp-rfmq
  • wasmi (crates.io) Vendor— Affected 0.50.0 to before 0.51.3 Fixed in 0.51.3 Patch available GHSA-g4v2-cjqp-rfmq
  • wasmi (crates.io) Vendor— Affected 1.0.0 to before 1.0.1 Fixed in 1.0.1 Patch available GHSA-g4v2-cjqp-rfmq

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:*0.41.0 to before 0.41.2; 0.47.0 to before 0.47.1; 0.51.0 to before 0.51.3Vulnerablewasmi-labs
cpe:2.3:a:wasmi-labs:wasmi:1.0.0:*:*:*:*:rust:*:*1.0.0Vulnerablewasmi-labs
  • cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:* Versions 0.41.0 to before 0.41.2; 0.47.0 to before 0.47.1; 0.51.0 to before 0.51.3 Vulnerable ·wasmi-labs
  • cpe:2.3:a:wasmi-labs:wasmi:1.0.0:*:*:*:*:rust:*:* Versions 1.0.0 Vulnerable ·wasmi-labs

Remediation

  • Fix · CNA wasmi (wasmi-labs) Fixed in 0.41.2, 0.47.1, 0.51.3, 1.0.1
  • Fix · GHSA-g4v2-cjqp-rfmq wasmi (crates.io) Fixed in 0.41.2 Advisory →
  • Fix · GHSA-g4v2-cjqp-rfmq wasmi (crates.io) Fixed in 0.47.1 Advisory →
  • Fix · GHSA-g4v2-cjqp-rfmq wasmi (crates.io) Fixed in 0.51.3 Advisory →
  • Fix · GHSA-g4v2-cjqp-rfmq wasmi (crates.io) Fixed in 1.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-66627
  2. 2026-10-03 Alias added: GHSA-g4v2-cjqp-rfmq

References

  • TI-2024-18703 Wasmi Out-of-bounds Write for host to Wasm calls with more than 128 Parameters CVSS 3.1CRITICAL 9.8

Sources