Skip to content
OpenAdvisories
Low · 1.0 CVE-2026-34983 EUVD-2026-21029GHSA-hfr4-7c6c-48w2PYSEC-2026-151RUSTSEC-2026-0090

Wasmtime has a use-after-free bug after cloning `wasmtime::Linker`

Published Apr 9, 2026 · Updated Apr 13, 2026 · Assigned by GitHub_M

Description

Wasmtime is a runtime for WebAssembly. In 43.0.0, cloning a wasmtime::Linker is unsound and can result in use-after-free bugs. This bug is not controllable by guest Wasm programs. It can only be triggered by a specific sequence of embedder API calls made by the host. Specifically, the following steps must occur to trigger the bug clone a wasmtime::Linker, drop the original linker instance, use the new, cloned linker instance, resulting in a use-after-free. This vulnerability is fixed in 43.0.1.

Affected products

VendorProductAffectedFixed
bytecodealliance wasmtime >= 43.0.0, < 43.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-wasmtime 36.0.7+dfsg-1 —
Debian 13 rust-wasmtime No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-wasmtime No fix yet —
Ubuntu 26.04 LTS rust-wasmtime No fix yet —
Ubuntu 25.10 rust-wasmtime No fix yet —
Ubuntu 24.04 LTS rust-wasmtime No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling wasmcloud 2.0.4-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io wasmtime >= 43.0.0, < 43.0.1 43.0.1 GHSA-hfr4-7c6c-48w2
PyPI wasmtime <= 43.0.0 — PYSEC-2026-151

References