Panic Risk in Wasmtime Package: Vulnerability When Running Pending Calls After a Trap

wasmtime Updated 15 Oct 2026

Summary

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

RUSTSEC-2026-0361: Panic when pending calls are run after a trap. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Wasmtime is a standalone JIT-style runtime for WebAssembly, designed to execute WebAssembly code safely and efficiently. It provides a high-performance environment for running WebAssembly modules, making it a popular choice for developers looking to integrate WebAssembly into their applications. However, a recent vulnerability has been identified that can lead to a panic when pending calls are executed after a trap, potentially affecting the stability of applications using this package.

Vulnerability Detail

The vulnerability arises from a flaw in the Wasmtime runtime where pending calls may trigger a panic if they are executed after a trap has occurred. This issue can lead to unexpected application behavior, crashes, or even data loss, especially in production environments where stability is critical. The vulnerability affects versions 46.0.0 to 48.0.6 and 49.0.0 to 49.0.3 of the Wasmtime package, as detailed in the RustSec advisory.

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

If immediate updating is not feasible, consider implementing error handling around the calls that may lead to a panic. This can be done by wrapping the calls in a try-catch block to gracefully handle any potential errors.

Conclusion

In summary, the Wasmtime package has a vulnerability that can lead to a panic when pending calls are executed after a trap. It is crucial for developers using this package to update to the latest patched version to ensure application stability and security. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for wasmtime →

Share this vulnerability

FAQ

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

Versions 46.0.0 to 48.0.6 and 49.0.0 to 49.0.3 of Wasmtime are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Implement error handling around the calls that may lead to a panic as a temporary workaround until you can update.

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