Skip to content

CVE-2025-66627 Wasmi's Linear Memory has a Critical Use After Free Vulnerability

HighCVSS 7.8 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io wasmi(crates.io) >= 0.41.0, < 0.41.2; >= 0.42.0, < 0.47.1; >= 0.50.0, < 0.51.3; >= 1.0.0, < 1.0.1 0.41.2, 0.47.1, 0.51.3, 1.0.1 Fixed
wasmi-labs wasmi = 1.0.0; = >= 0.41.0, < 0.41.2; = >= 0.42.0, < 0.47.1; = >= 0.50.0, < 0.51.3 +4 more 0.41.2, 0.47.1, 0.51.3 Fixed

Affected products

ProductAffected versionsFixed in
crates.io wasmi(crates.io) >= 0.41.0, < 0.41.2 0.41.2
crates.io wasmi(crates.io) >= 0.42.0, < 0.47.1 0.47.1
crates.io wasmi(crates.io) >= 0.50.0, < 0.51.3 0.51.3
crates.io wasmi(crates.io) >= 1.0.0, < 1.0.1 1.0.1
wasmi-labs wasmi = >= 0.41.0, < 0.41.2 No fix listed
wasmi-labs wasmi = >= 0.42.0, < 0.47.1 No fix listed
wasmi-labs wasmi = >= 0.50.0, < 0.51.3 No fix listed
wasmi-labs wasmi = >= 1.0.0, < 1.0.1 No fix listed
wasmi-labs wasmi >= 0.41.0, < 0.41.2 0.41.2
wasmi-labs wasmi >= 0.47.0, < 0.47.1 0.47.1
wasmi-labs wasmi >= 0.51.0, < 0.51.3 0.51.3
wasmi-labs wasmi = 1.0.0 No fix listed

References