Time-of-check Time-of-use (TOCTOU) Race Condition Affecting wasmtime package, versions >=46.0.0 <46.0.2>=47.0.0 <47.0.3


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-18506910
  • published2 Aug 2026
  • disclosed31 Jul 2026
  • creditUnknown

Introduced: 31 Jul 2026

New CVE NOT AVAILABLE CWE-367  (opens in a new tab)

How to fix?

Upgrade wasmtime to version 46.0.2, 47.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the handling of preemption and traps during bulk operations. An attacker can disrupt the internal virtual machine state by triggering specific trap conditions or preemption events during these operations.

CVSS Base Scores

version 4.0
version 3.1