CVE-2026-34943
Rust vulnerability analysis and mitigation

Overview

CVE-2026-34943 is a denial-of-service vulnerability in Wasmtime, a WebAssembly runtime maintained by the Bytecode Alliance, caused by an uncaught panic when lifting a flags-typed component model value using the Val type. When bits are set outside the defined flag set, the WebAssembly Component Model specification requires those bits to be ignored, but Wasmtime instead panics, allowing a guest WebAssembly module to crash the host process. The vulnerability was disclosed on April 9, 2026, and affects Wasmtime versions prior to 24.0.7, versions 25.0.0–36.0.6, versions 37.0.0–42.0.1, and version 43.0.0. It carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 5.6 (Medium) (GitHub Advisory, Wasmtime Advisory).

Technical details

The root cause is classified under CWE-248 (Uncaught Exception) and CWE-1287 (Improper Validation of Specified Type of Input). When a flags-typed value in the WebAssembly Component Model is lifted via wasmtime::component::Val, Wasmtime fails to mask or ignore out-of-range bits as required by the specification, triggering a Rust panic instead. This code path is only reachable when a host application uses wasmtime::component::Val to interact with flags types defined in a WIT (WebAssembly Interface Types) interface; hosts using the flags! macro are not affected. Because the malformed flag value can be supplied by an untrusted guest WebAssembly module, this constitutes a guest-controlled panic vector against the host (GitHub Advisory, Wasmtime Advisory).

Impact

Successful exploitation results in a denial-of-service condition by crashing the Wasmtime host process via an unhandled Rust panic. There is no impact on confidentiality or integrity — the vulnerability is purely an availability issue. Any service or application relying on the affected Wasmtime instance would become unavailable for the duration of the crash, and repeated exploitation could cause persistent service disruption (GitHub Advisory, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (5th percentile), indicating a very low probability of exploitation in the near term. Exploitation requires high privileges and active user interaction per the CVSS v4.0 assessment, further limiting practical attack surface (GitHub Advisory).

Indicators of compromise

  • Logs: Unexpected Rust panic messages (e.g., thread 'main' panicked) in Wasmtime host process logs, particularly referencing component model value lifting or flags types.
  • Process: Sudden, unexplained termination of the Wasmtime host process or service restarts without a clear cause.
  • Application Behavior: Repeated crashes of services embedding Wasmtime when processing WebAssembly components that use WIT-defined flags interfaces.

Mitigation and workarounds

Upgrade Wasmtime to one of the patched versions: 24.0.7, 36.0.7, 42.0.2, or 43.0.1, depending on the current version branch in use. There is no configuration-based workaround available for hosts that use wasmtime::component::Val with flags types in a WIT interface. As an interim measure, restricting execution of untrusted WebAssembly components that use flags-typed WIT interfaces can reduce exposure until patching is possible (GitHub Advisory, Wasmtime Advisory).

Community reactions

The advisory was published by Bytecode Alliance maintainer alexcrichton on April 9, 2026, alongside a broader Wasmtime security advisory post (Bytecode Alliance). Red Hat tracked the issue via Bugzilla and assessed it as medium severity (Red Hat Bugzilla). OpenSUSE issued security announcements for affected packages in their distributions (OpenSUSE). No significant broader media coverage or notable community controversy has been observed.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

rust-wasmtime: 36.0.7+dfsg-1

Fixed

trixie

rust-wasmtime

Affected

Ubuntu

Unknown

devel

rust-wasmtime

Unknown

noble

rust-wasmtime

Unknown

noble (esm-apps)

rust-wasmtime

Unknown

resolute

rust-wasmtime

Unknown

resolute (esm-apps)

rust-wasmtime

Unknown

SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-24890MEDIUM6.8
  • Rust logoRust
  • cargo-c
NoYesSep 09, 2026
CVE-2026-53956MEDIUM5.4
  • Python logoPython
  • py-rattler
NoYesSep 09, 2026
RUSTSEC-2026-0282NONEN/A
  • Rust logoRust
  • aligned_box
NoYesSep 09, 2026
RUSTSEC-2026-0281NONEN/A
  • Rust logoRust
  • greentic-setup
NoYesSep 07, 2026
RUSTSEC-2026-0280NONEN/A
  • Rust logoRust
  • greentic-setup-dev
NoYesSep 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management