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: 2.4 [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]
CVE-ID: CVE-2025-61670
CWE-ID: CWE-772
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Wasmtime

How to mitigate CVE-2025-61670

Install security update from vendor's website.

Wasmtime - update to 37.0.2

External References

Related Security Bulletins