# GHSA-W4QR-P94G-MJHV: Wasmtime wasi:http implementation panics with a zero timeout supplied

- Database: GitHub
- Severity: CVSS 5.9 (Medium)
- Published: 2026-10-02
- Modified: 2026-10-23

## Tracked as

- [CVE-2026-115382](https://cve.now/CVE-2026-115382.md): Wasmtime 46.0.0 before 48.0.4 and 49.0.0 before 49.0.2 wasi:http Zero Timeout Panic DoS

## Affected versions

- wasmtime-wasi-http (crates.io): from 46.0.0, fixed in 48.0.4
- wasmtime-wasi-http (crates.io): from 49.0.0, fixed in 49.0.2

## Description

### Impact

Wasmtime's implementation of `wasi:http` for both WASIp2 and WASIp3 contained a bug where when a 0 timeout was specified for the between-bytes-timeout request option this would trigger a panic on the host. The duration from the guest was forwarded directly to a Tokio API, a dependency of Wasmtime's `wasi:http` implementation, which is documented as panicking when a 0 duration was pased to it. A guest-triggerable panic on the host is considered a denial-of-service vulnerability in Wasmtime.

This bug affects any user of the `wasmtime-wasi-http` crate in Wasmtime when the `default-send-request` Cargo feature is enabled, which is enabled by default. Embedders which do not use Wasmtime's implementation of `wasi:http` are unaffected.

### Patches

Wasmtime 48.0.4 and 49.0.2 have been released which fix this panic by clamping the timeout duration to 1 nanosecond.

### Workarounds

There is no known workaround for this issue at this time and it's recommended that users upgrade or change their embedding to not provide `wasi:http` APIs.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-w4qr-p94g-mjhv

Page: https://cve.now/GHSA-W4QR-P94G-MJHV

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
