# GHSA-3R89-V5MQ-J5XF: Host panic when component call\_async is cancelled under some conditions

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

## Affected versions

- wasmtime (crates.io): from 49.0.0, fixed in 49.0.3

## Description

### Summary

The `Future` returned by `TypedFunc::call_async` may trigger a panic when dropped under certain circumstances.

### Details

The `Drop` implementation for the `Future` returned by `TypedFunc::call_async` includes code to clean up and possibly cancel its associated guest task.  However, in the scenario where that task has not yet started (e.g. due to guest-imposed backpressure or because the runtime event loop has a backlog of pending work to finish first), the code responsible for finding and removing any work items associated with that task was only looking in one of several places in which those items might be found.  Consequently, it returned an error prematurely if it couldn't find any such items which was escalated via a `Result::unwrap` to a panic in the `Future`'s `Drop` implementation.

### Impact

Embedder code using `call_async` and potentially dropping the returned `Future` before it has yielded a result may be affected.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3r89-v5mq-j5xf

Page: https://cve.now/GHSA-3R89-V5MQ-J5XF

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