Skip to content

← Actionable
Medium, CVSS 5.6

Wasmtime has a possible panic when lifting flags component value

CVE-2026-34943GHSA-m758-wjhj-p3jq

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (wasmtime 43.0.1, 42.0.2, 36.0.7, 24.0.7), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • crates.io wasmtime

    Affected
    < 24.0.7>= 25.0.0, < 36.0.7>= 37.0.0, < 42.0.2>= 43.0.0, <= 43.0.0
    Fixed in
    24.0.7, 36.0.7, 43.0.1, 42.0.2

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS 4.0
5.6 · CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N · score source
EPSS
  • CVE-2026-34943: 0.32% estimated exploitation activity in the next 30 days; percentile 25.45 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

Impact Wasmtime contains a possible panic which can happen when a flags-typed component model value is lifted with the Val type. If bits are set outside of the set of flags the component model specifies that these bits should be ignored but Wasmtime will panic when this value is lifted. This panic only affects wasmtime's implementation of lifting into Val, not when using the flags! macro. This additionally only affects flags-typed values which are part of a WIT interface. This has the risk of being a guest-controlled panic within the host which Wasmtime considers a DoS vector. Patches Wasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime. Workarounds There is no workaround for this bug if a host meets the criteria to be affected. To be affected a host must be using wasmtime::component::Val and possibly work with a flags type in the component model.

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-m758-wjhj-p3jq

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-34943

Advisory: Wasmtime has a possible panic when lifting `flags` component value
IDs: CVE-2026-34943, GHSA-m758-wjhj-p3jq
Record: https://patchnext.com/advisories/cve-2026-34943 (revision 1, source checked 26 Oct 2026, 15:42 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 5.6)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: wasmtime 43.0.1, 42.0.2, 36.0.7, 24.0.7. A vendor fix does not mean a deployment is fixed.

## Affected components
- crates.io wasmtime: affected < 24.0.7; >= 25.0.0, < 36.0.7; >= 37.0.0, < 42.0.2; >= 43.0.0, <= 43.0.0; fixed in 24.0.7, 36.0.7, 43.0.1, 42.0.2

## Suggested inspection (read-only)
- crates.io wasmtime: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on wasmtime.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-m758-wjhj-p3jq (GitHub-reviewed advisory GHSA-m758-wjhj-p3jq lists affected ranges: crates.io wasmtime >=0 =25.0.0 =37.0.0 =43.0.0 <=43.0.0)

Commands are suggestions: review each one before running it.

Loading voting…