# GHSA-HMWQ-G22X-QJW5: Panic when pending calls are run after a trap

- 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

Wasmtime may panic if additional event loop tasks are allowed to run after the store is poisoned due to a trap and left in an inconsistent state.

### Details

When Wasmtime generates a trap error due to e.g. misbehaving guest code or improper use if embedder APIs, it may leave the `Store` in an inconsistent and "poisoned" state.  In most cases, attempting to continue to use that `Store` will result in more errors, but in this case, when a call that was started earlier is allowed to proceed after the trap, it was possible to trigger an assertion failure which panicked instead.

### Impact

Embedder code which continues to use a `Store` after an earlier operation involving that store has errored may be affected.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hmwq-g22x-qjw5

Page: https://cve.now/GHSA-HMWQ-G22X-QJW5

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