wasmi
Affected
- introduced
0.41.0, fixed0.41.2(semver)
Fixed versions
0.41.2
Fix
- Fixed version
0.41.2cargo update -p wasmi --precise 0.41.2
Advisory
Also known as: CVE-2025-66627
Critical Use-After-Free in Wasmi's Linear Memory
Summary
A use-after-free vulnerability has been discovered in the linear memory implementation of Wasmi. This issue can be triggered by a WebAssembly module under certain memory growth conditions, potentially leading to memory corruption, information disclosure, or code execution.
Impact
Affected Versions
Wasmi v0.41.0 through Wasmi v1.0.0.
Workarounds
Credits
This vulnerability was discovered by Robert T. Morris (RTM).
High Basis: The source's own band: HIGH
0.41.0, fixed 0.41.2 (semver)0.41.2
0.41.2cargo update -p wasmi --precise 0.41.20.42.0, fixed 0.47.1 (semver)0.47.1
0.47.1cargo update -p wasmi --precise 0.47.10.50.0, fixed 0.51.3 (semver)0.51.3
0.51.3cargo update -p wasmi --precise 0.51.31.0.0, fixed 1.0.1 (semver)1.0.1
1.0.1cargo update -p wasmi --precise 1.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0