Missing Release of Resource after Effective Lifetime Affecting wasmtime package, versions >=37.0.0 <37.0.2


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-WASMTIME-13517510
  • published10 Oct 2025
  • disclosed7 Oct 2025
  • creditUnknown

Introduced: 7 Oct 2025

NewCVE-2025-61670  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade wasmtime to version 37.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the unroot operation of the wasmtime_val_unroot() function. A permanent memory leak can occur when bindings of externref or anyref WebAssembly values are used in the C/C++ API, leading to resource exhaustion over time.

CVSS Base Scores

version 4.0
version 3.1