CVE-2026-34983

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

Published Apr 9, 2026 CVSS 4.0 · 1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In Wasmtime 43.0.0 a host‑side error in the linker cloning API can trigger a use‑after‑free. When a program clones a wasmtime::Linker, later drops the original instance, and continues to use the cloned instance, the runtime accesses memory that has already been released, causing unpredictable behavior such as crashes or memory corruption. The flaw cannot be activated by guest WebAssembly code; the attack vector requires specific host API calls.

Affected Systems

The affected product is the Wasmtime runtime supplied by Bytecodealliance, version 43.0.0. Any application that embeds this release and performs the clone‑then‑drop sequence – for example, servers, virtual machine managers, or embedded runtimes – may be vulnerable. Version 43.0.1 and later contain the fix.

Risk and Exploitability

The CVSS score is 1, indicating a low severity. EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. Because the flaw is triggered solely by host code under a very specific API sequence, remote exploitation is unlikely, though a compromised or malicious host could still experience instability or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Wasmtime runtime to version 43.0.1 or later where the bug is fixed.
  • If an upgrade is not immediately feasible, review host code to avoid dropping an original linker immediately after cloning; keep the original instance alive until the cloned instance is no longer used.
  • Verify that applications no longer exercise the clone‑then‑drop pattern after the upgrade.
  • Monitor the Bytecodealliance release channel for any additional advisories and apply future patches as they become available.

Generated by OpenCVE AI on April 10, 2026 at 01:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hfr4-7c6c-48w2 Wasmtime has use-after-free bug after cloning `wasmtime::Linker`
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bytecodealliance:wasmtime:43.0.0:*:*:*:*:rust:*:*
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 5.0, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
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.
Title Wasmtime has a use-after-free bug after cloning `wasmtime::Linker`
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 1, 'vector': 'CVSS:4.0/AV:P/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 13, 2026, 3:38 PM
Reserved
Mar 31, 2026, 7:38 PM
Status
Analyzed
Published
Apr 9, 2026, 7:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Low
Public date
Apr 9, 2026, 6:47 PM