Host Panic in Wasmtime Package Due to Call Async Cancellation

wasmtime Updated 15 Oct 2026

Summary

14/10/2026
N/A
Yes i
Medium
5.9

RUSTSEC-2026-0354: Host panic when component call_async is cancelled under some conditions. Affects wasmtime across 2 version ranges.

>= 46.0.0, < 48.0.6 >= 49.0.0, < 49.0.3

Fixed in 48.0.6 or 49.0.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Wasmtime is a runtime for WebAssembly that allows developers to run WebAssembly modules safely and efficiently. It provides a way to execute code written in languages that compile to WebAssembly, enabling high-performance applications across various platforms. However, a recent vulnerability has been identified that can lead to host panic when the call_async component is cancelled under certain conditions, potentially disrupting application functionality.

Vulnerability Detail

The vulnerability arises from the handling of asynchronous calls within the Wasmtime package. When a call_async operation is cancelled, it can lead to a host panic, which is a severe error that causes the host application to terminate unexpectedly. This issue can occur under specific conditions, making it critical for developers using Wasmtime to be aware of the potential for application crashes. The vulnerability has been assigned a CVSS score of 5.9, indicating a moderate severity level that could impact the stability of applications relying on this package.

How To Fix

Latest published version: 50.0.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 46.0.0, < 48.0.6 48.0.6
  • >= 49.0.0, < 49.0.3 49.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, developers can implement error handling around the call_async function to catch potential panics and prevent the application from crashing. Here is a sample code snippet:

try {

    call_async(...);
} catch (panic) {
    // Handle the panic gracefully
    log.error('Async call failed: ' + panic.message);
}

Conclusion

The vulnerability in the Wasmtime package poses a risk of host panic when the call_async function is cancelled. It is crucial for developers to update to the patched versions to ensure application stability. Implementing error handling can serve as a temporary workaround while updates are being applied.

See every vulnerability recorded for wasmtime →

Share this vulnerability

FAQ

The vulnerability is related to host panic occurring when the call_async function is cancelled under certain conditions.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Versions 48.0.6 and 49.0.3 of Wasmtime are safe to use as they contain fixes for the identified vulnerability.

If immediate updates are not possible, implement error handling around the call_async function to mitigate the impact of potential panics.

The CVSS score of this vulnerability is 5.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for wasmtime.

How To Fix

Latest published version: 50.0.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 46.0.0, < 48.0.6 48.0.6
  • >= 49.0.0, < 49.0.3 49.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback