Improper control of a resource through its lifetime in Wasmtime - #VU140664

 

Improper control of a resource through its lifetime in Wasmtime - #VU140664

Published: August 1, 2026


Vulnerability identifier: #VU140664
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-664
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to stale pointer handling in bulk-data-transfer operations when preemption occurs and the store state is mutated or execution is resumed after cancellation. A remote privileged user can trigger preemption during a bulk operation and alter store state to cause memory corruption or a denial of service.

Exploitation requires embedding patterns such as using epoch deadline callbacks to mutate store state or continuing to execute wasm within the same store after a timeout or trap.


Affected software

Wasmtime

Remediation

Install security update from vendor's website.

Wasmtime - addressed in versions 46.0.2, 47.0.3

External References

Related Security Bulletins