Skip to content

deps: upgrade wasmtime from 42.x to >=43.0.2 (RUSTSEC-2026-0114) #259

@avrabe

Description

@avrabe

Summary

wasmtime 42.0.2 is currently a transitive dependency (via wasmtime-wasiwigglerivet-core's wasm feature gate). The 2026-04-30 advisory RUSTSEC-2026-0114 flags a medium-severity (5.9) panic when allocating a table exceeding the host address space.

The advisory was suppressed in 0.8.0 CI via --ignore because rivet doesn't allocate large wasmtime tables in practice. This issue tracks the proper upgrade.

Fix

Upgrade wasmtime to one of the fixed ranges:

  • >=36.0.8, <37.0.0
  • >=43.0.2, <44.0.0
  • >=44.0.1

Most natural: bump to >=43.0.2. May involve API changes — wasmtime 43 dropped some wasmtime-wasi interfaces vs 42; verify the wiggle path still works.

Acceptance

  • wasmtime and wasmtime-wasi and wiggle all on the fixed range
  • cargo audit clean (drop the --ignore RUSTSEC-2026-0114 line in .github/workflows/ci.yml)
  • All wasm-feature-gated tests still pass

Trigger

Surfaced during 0.8.0 release CI (PR #256). Filed as a follow-up to keep the release moving while properly tracking the upgrade.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions