{"id":"CVE-2025-66627","published":"2025-12-09T02:52:46Z","modified":"2025-12-09T15:21:18Z","title":"Wasmi's Linear Memory has a Critical Use After Free Vulnerability","vendor":"wasmi-labs","product":"wasmi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00157,"percentile":0.04916,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/wasmi-labs/wasmi/security/advisories/GHSA-g4v2-cjqp-rfmq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":0.98},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"wasmi-labs","affectedVersions":[{"vendor":"wasmi-labs","product":"wasmi","versions":[">= 0.41.0, < 0.41.2",">= 0.42.0, < 0.47.1",">= 0.50.0, < 0.51.3",">= 1.0.0, < 1.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-09T15:21:08.509833Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"wasmi","vulnerableRanges":[">=0.41.0, <0.41.2",">=0.42.0, <0.47.1",">=0.50.0, <0.51.3",">=1.0.0, <1.0.1"],"patched":["0.41.2","0.47.1","0.51.3","1.0.1"],"from":["GHSA-g4v2-cjqp-rfmq"],"provenance":"source"}],"summary":{"text":"The flaw is a Use After Free vulnerability in the linear memory implementation of Wasmi, a WebAssembly interpreter aimed at constrained and embedded systems. An attacker who can supply a WebAssembly module that triggers specific memory growth conditions can cause memory corruption, information disclosure, or code execution, with no authentication or user interaction required, though local access is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:07Z"},"euvd":{"id":"EUVD-2025-201826","exploited":false,"provenance":"source"}}