Missing Release of Resource after Effective Lifetime in Wasmtime - CVE-2025-61670

 

Missing Release of Resource after Effective Lifetime in Wasmtime - CVE-2025-61670

Published: April 23, 2026


Vulnerability identifier: #VU127040
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-61670
CWE-ID: CWE-772
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vendor: Bytecode Alliance
Affected software:
Wasmtime

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to improper resource management in the Wasmtime C/C++ API when handling externref or anyref values. A remote user can trigger memory leaks to cause a denial of service.

The issue affects the C/C++ API, while the Rust crate is unaffected. User interaction is required.


How to mitigate CVE-2025-61670

Install security update from vendor's website.

Sources