# JLSEC-2026-1356: Wasmtime has a possible panic when lifting `flags` component value

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-21T20:43:33.133Z
- Modified: 2026-08-21T21:14:21.931Z
- Related: CVE-2026-34943, EUVD-2026-21022, GHSA-m758-wjhj-p3jq

## Description

### 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.

(As written by Julia Security Advisories.)

## Affected

- Wasmtime_jll (Julia): before 45.0.1+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-m758-wjhj-p3jq> (web)
- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m758-wjhj-p3jq> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34943> (web)
- <https://rustsec.org/advisories/RUSTSEC-2026-0085.html> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1356](https://osv.dev/vulnerability/JLSEC-2026-1356), CC-BY-4.0, modified 2026-08-21

---

Page: https://cve.day/JLSEC-2026-1356 · Whole record: https://cve.day/JLSEC-2026-1356.json · Rebuilt by cve.day 2026-11-25T22:56:25.952Z
