CVE-2025-66627

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

Published Dec 9, 2025 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g4v2-cjqp-rfmq Critical Use-After-Free in Wasmi's Linear Memory
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:*
cpe:2.3:a:wasmi-labs:wasmi:1.0.0:*:*:*:*:rust:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wasmi-labs
Wasmi-labs wasmi
Vendors & Products Wasmi-labs
Wasmi-labs wasmi
Type Values Removed Values Added
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.
Title Wasmi's Linear Memory has a Critical Use After Free Vulnerability
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 9, 2025, 3:21 PM
Reserved
Dec 5, 2025, 3:42 PM
Status
Analyzed
Published
Dec 9, 2025, 4:18 PM
Modified
Oct 14, 2026, 9:10 PM