cbcvebase.

Bytecodealliance Wasmtime vulnerabilities

63 known vulnerabilities affecting bytecodealliance/wasmtime.

Total CVEs
63
CISA KEV
0
Public exploits
0
Exploited in wild
1
Severity breakdown
CRITICAL8HIGH17MEDIUM29LOW9

Vulnerabilities

Page 2 of 4
CVE-2026-27195P3HIGHCVSS 7.5≥ 39.0.0, < 40.0.4≥ 41.0.0, < 41.0.4+2 more2026-02-24
CVE-2026-27195 [HIGH] CWE-755 CVE-2026-27195: Wasmtime is a runtime for WebAssembly. Starting with Wasmtime 39.0.0, the `component-model-async` fe Wasmtime is a runtime for WebAssembly. Starting with Wasmtime 39.0.0, the `component-model-async` feature became the default, which brought with it a new implementation of `[Typed]Func::call_async` which made it capable of calling async-typed guest export functions. However, that implementation had a bug leading to a panic under certain circumstances:
ghsanvdosv
CVE-2026-34946P3HIGHCVSS 7.5≥ 25.0.0, < 36.0.7≥ 37.0.0, < 42.0.2+4 more2026-04-09
CVE-2026-34946 [HIGH] CWE-670 CVE-2026-34946: Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler contains a vulnerability where the compilation of the table.fill instruction can result in a host panic. This means that a valid guest can be compiled with Winch, on any architecture, and cause the host to panic. This represents a denial-o
ghsanvdosv
CVE-2026-34943P3HIGHCVSS 7.5fixed in 24.0.7≥ 25.0.0, < 36.0.7+5 more2026-04-09
CVE-2026-34943 [HIGH] CWE-248 CVE-2026-34943: Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime contain Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, 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
ghsanvdosv
CVE-2026-35186P3HIGHCVSS 7.5≥ 25.0.0, < 36.0.7≥ 37.0.0, < 42.0.2+4 more2026-04-09
CVE-2026-35186 [HIGH] CWE-789 CVE-2026-35186: Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler backend contains a bug where translating the table.grow operator causes the result to be incorrectly typed. For 32-bit tables this means that the result of the operator, internally in Winch, is tagged as a 64-bit value instead of a 32-bit
ghsanvdosv
CVE-2022-39392P3HIGHCVSS 7.4fixed in 1.0.2≥ 2.0.0, < 2.0.2+1 more2022-11-10
CVE-2022-39392 [HIGH] CWE-119 CVE-2022-39392: Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-re
ghsanvdosv
CVE-2026-44216P3HIGHCVSS 7.5≥ 30.0.0, < 36.0.8≥ 37.0.0, < 43.0.2+3 more2026-05-14
CVE-2026-44216 [HIGH] CWE-770 CVE-2026-44216: Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, and 44.0.1, Wasmtime's allocat Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, and 44.0.1, Wasmtime's allocation logic for a WebAssembly table contained checked arithmetic which panicked on overflow. This overflow is possible to trigger, and thus panic, when a table with an extremely large size is allocated. This is possible with the WebAssembly memory64 propo
ghsanvd
CVE-2026-34945P3MEDIUMCVSS 6.5≥ 25.0.0, < 36.0.7≥ 37.0.0, < 42.0.2+4 more2026-04-09
CVE-2026-34945 [MEDIUM] CWE-681 CVE-2026-34945: Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler contains a bug where a 64-bit table, part of the memory64 proposal of WebAssembly, incorrectly translated the table.size instruction. This bug could lead to disclosing data on the host's stack to WebAssembly guests. The host's stack can
ghsanvdosv
CVE-2026-34988P3MEDIUMCVSS 6.3≥ 28.0.0, < 36.0.7≥ 37.0.0, < 42.0.2+4 more2026-04-09
CVE-2026-34988 [MEDIUM] CWE-119 CVE-2026-34988: Wasmtime is a runtime for WebAssembly. From 28.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Wasmtime is a runtime for WebAssembly. From 28.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of its pooling allocator contains a bug where in certain configurations the contents of linear memory can be leaked from one instance to the next. The implementation of resetting the virtual memory permissions for linear memory used the
ghsanvdosv
CVE-2026-27204P3MEDIUMCVSS 6.5fixed in 24.0.6≥ 25.0.0, < 36.0.6+5 more2026-02-24
CVE-2026-27204 [MEDIUM] CWE-400 CVE-2026-27204: Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.6, 36.0.6, 4.0.04, 41.0.4, and 42.0.0, Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.6, 36.0.6, 4.0.04, 41.0.4, and 42.0.0, Wasmtime's implementation of WASI host interfaces are susceptible to guest-controlled resource exhaustion on the host. Wasmtime did not appropriately place limits on resource allocations requested by the guests. This serves as a Denial of Service vec
ghsanvdosv
CVE-2026-34942P3MEDIUMCVSS 6.5fixed in 24.0.7≥ 25.0.0, < 36.0.7+5 more2026-04-09
CVE-2026-34942 [MEDIUM] CWE-129 CVE-2026-34942: Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's imple Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of transcoding strings into the Component Model's utf16 or latin1+utf16 encodings improperly verified the alignment of reallocated strings. This meant that unaligned pointers could be passed to the host for transcoding which would trigger a
ghsanvdosv
CVE-2026-35195P3MEDIUMCVSS 5.4fixed in 24.0.7≥ 25.0.0, < 36.0.7+5 more2026-04-09
CVE-2026-35195 [MEDIUM] CWE-787 CVE-2026-35195: Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's imple Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's realloc is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary
ghsanvdosv
CVE-2022-31104P4MEDIUMCVSS 5.6fixed in 0.38.1v wasmtime: < 0.38.1+1 more2022-06-28
CVE-2022-31104 [MEDIUM] CWE-682 CVE-2022-31104: Wasmtime is a standalone runtime for WebAssembly. In affected versions wasmtime's implementation of Wasmtime is a standalone runtime for WebAssembly. In affected versions wasmtime's implementation of the SIMD proposal for WebAssembly on x86_64 contained two distinct bugs in the instruction lowerings implemented in Cranelift. The aarch64 implementation of the simd proposal is not affected. The bugs were presented in the `i8x16.swizzle` and `select`
ghsanvdosv
CVE-2026-58494P4MEDIUMCVSS 6.5fixed in 24.0.11v>= 25.0.0, < 36.0.12+2 more2026-07-08
CVE-2026-58494 [MEDIUM] CWE-281 CVE-2026-58494: Wasmtime is a runtime for WebAssembly. Prior to 24.0.11, 36.0.12, 45.0.3, and 46.0.1, wasmtime-wasi Wasmtime is a runtime for WebAssembly. Prior to 24.0.11, 36.0.12, 45.0.3, and 46.0.1, wasmtime-wasi hard-link creation and renaming check directory permissions but not matching FilePerms on source and destination preopens, allowing a WASI guest with a read-only source file capability to overwrite host files exposed as FilePerms::READ through wasip1,
nvd
CVE-2021-39218P4MEDIUMCVSS 6.3≥ 0.26.0, < 0.30.0v>= 0.26.0, <= 0.29.02021-09-17
CVE-2021-39218 [MEDIUM] CWE-125 CVE-2021-39218: Wasmtime is an open source runtime for WebAssembly & WASI. In Wasmtime from version 0.26.0 and befor Wasmtime is an open source runtime for WebAssembly & WASI. In Wasmtime from version 0.26.0 and before version 0.30.0 is affected by a memory unsoundness vulnerability. There was an invalid free and out-of-bounds read and write bug when running Wasm that uses `externref`s in Wasmtime. To trigger this bug, Wasmtime needs to be running Wasm that uses `
ghsanvd
CVE-2026-115892P4MEDIUMCVSS 5.7v>= 46.0.0, < 48.0.7v>= 49.0.0, < 49.0.42026-10-23
CVE-2026-115892 [MEDIUM] CWE-248 CVE-2026-115892: Wasmtime is a runtime for WebAssembly. From 46.0.0 until 48.0.7 and 49.0.4, lowering a host-created Wasmtime is a runtime for WebAssembly. From 46.0.0 until 48.0.7 and 49.0.4, lowering a host-created component-model stream or future into a guest can omit a required payload-type check after the value passes through guest code and returns through StreamAny, FutureAny, Val::Stream, Val::Future, or an equivalent typed reader. A malicious guest that c
ghsanvd
CVE-2021-39219P4MEDIUMCVSS 6.3fixed in 0.30.0≤ 0.29.02021-09-17
CVE-2021-39219 [MEDIUM] CWE-843 CVE-2021-39219: Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime before version 0.30.0 is affecte Wasmtime is an open source runtime for WebAssembly & WASI. Wasmtime before version 0.30.0 is affected by a type confusion vulnerability. As a Rust library the `wasmtime` crate clearly marks which functions are safe and which are `unsafe`, guaranteeing that if consumers never use `unsafe` then it should not be possible to have memory unsafety issues
ghsanvd
CVE-2026-115379P4MEDIUMCVSS 5.7≥ 47.0.0, < 48.0.4≥ 49.0.0, < 49.0.22026-10-22
CVE-2026-115379 [MEDIUM] CWE-416 CVE-2026-115379: Wasmtime 47.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a missing GC rooting vulnerability t Wasmtime 47.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a missing GC rooting vulnerability that leaves references live across try_call unrooted when compiling Wasm modules. Attackers can supply Wasm modules whose callee triggers garbage collection, leaving stale or dangling references that cause GC heap corruption or incorrect execution.
nvd
CVE-2026-54786P4MEDIUMCVSS 5.0fixed in 24.0.10≥ 25.0.0, < 36.0.11+5 more2026-07-01
CVE-2026-54786 [MEDIUM] CWE-400 CVE-2026-54786: Wasmtime is a runtime for WebAssembly. All versions prior to 24.0.10; versions 25.0.0 through those Wasmtime is a runtime for WebAssembly. All versions prior to 24.0.10; versions 25.0.0 through those before 36.0.11; versions 37.0.0 through those before 44.0.3; and versions 45.0.0 and 45.0.1 contain a native implementation of WASIp1 which suffers from a leak in the fd_renumber function where the file descriptor being renumbered to is not properly cl
nvd
CVE-2021-39216P4MEDIUMCVSS 6.3≥ 0.19.0, < 0.30.0v>=0.19.0, <=0.29.02021-09-17
CVE-2021-39216 [MEDIUM] CWE-416 CVE-2021-39216: Wasmtime is an open source runtime for WebAssembly & WASI. In Wasmtime from version 0.19.0 and befor Wasmtime is an open source runtime for WebAssembly & WASI. In Wasmtime from version 0.19.0 and before version 0.30.0 there was a use-after-free bug when passing `externref`s from the host to guest Wasm content. To trigger the bug, you have to explicitly pass multiple `externref`s from the host to a Wasm instance at the same time, either by passing m
ghsanvdosv
CVE-2026-115391P4MEDIUMCVSS 5.8≥ 46.0.0, < 46.0.3≥ 47.0.0, < 47.0.42026-10-22
CVE-2026-115391 [MEDIUM] CWE-770 CVE-2026-115391: Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation vulnerability in its WASIp3 implementation that buffers guest-specified-length writes on the host without limit. Malicious guests can offer large buffers to WASIp3 file or HTTP write streams, causing the host to copy and buffer all bytes, bounded onl
nvd
Bytecodealliance Wasmtime vulnerabilities | cvebase