Wasmtime wasi:http Package Vulnerability: Panic on Zero Timeout

wasmtime-wasi-http Updated 03 Oct 2026

Summary

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

RUSTSEC-2026-0320: Wasmtime wasi:http implementation panics with a zero timeout supplied. Affects wasmtime-wasi-http across 2 version ranges.

>= 46.0.0, < 48.0.4 >= 49.0.0, < 49.0.2

Fixed in 48.0.4 or 49.0.2, 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

The wasmtime-wasi-http package is part of the Wasmtime project, which provides a runtime for WebAssembly applications. This package specifically implements the WASI (WebAssembly System Interface) HTTP functionality, allowing WebAssembly modules to make HTTP requests. It is designed to be efficient and secure, but like any software, it can have vulnerabilities that may affect its stability and security.

Vulnerability Detail

The vulnerability arises from the implementation of the wasi:http functionality in the wasmtime-wasi-http package, where supplying a zero timeout leads to a panic in the application. This issue can disrupt the normal operation of applications relying on this package, potentially leading to crashes or unexpected behavior. The vulnerability was identified in versions 46.0.0 and 49.0.0, and it is crucial for developers to address this issue to maintain application stability and security.

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.4 48.0.4
  • >= 49.0.0, < 49.0.2 49.0.2

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, avoid using a zero timeout when making HTTP requests with the wasmtime-wasi-http package. Ensure that the timeout value is set to a positive integer to prevent the panic from occurring.

Conclusion

The wasmtime-wasi-http package has a vulnerability that causes a panic when a zero timeout is supplied. It is essential to update to the patched versions to ensure the stability and security of applications using this package. Additionally, developers should avoid using zero timeouts as a temporary measure.

See every vulnerability recorded for wasmtime-wasi-http →

Share this vulnerability

FAQ

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

The affected versions are 46.0.0 and 49.0.0. The vulnerability is fixed in versions 48.0.4 and 49.0.2.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

If the vulnerability is not fixed, applications using the affected versions may experience crashes or unexpected behavior due to the panic triggered by a zero timeout.

Yes, you can avoid this vulnerability by ensuring that you do not supply a zero timeout when making HTTP requests with the wasmtime-wasi-http package.

Related vulnerabilities

Recent vulnerabilities recorded for wasmtime-wasi-http.

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.4 48.0.4
  • >= 49.0.0, < 49.0.2 49.0.2

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