Bytecodealliance Wasmtime vulnerabilities

95 vulnerabilities

Known vulnerabilities in Bytecodealliance Wasmtime, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-145026bytecodealliance · wasmtime +1 moreWasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed PathThe wasmtime-wasi crate in Wasmtime before 36.0.22, 37.x through 48.x before 48.0.10, 49.x before 49.0.7, and 50.x before 50.0.3 on Windows mis-resolves drive-prefixed path components such as ./C:foo as drive-relative host paths, escaping the WASI filesystem sandbox. A guest with any preopened directory can use path-taking WASI functions or symlink targets to read, or with write access modify or delete, any file the host process can access.CVSS7.5HighRoutineCVE-2026-140414bytecodealliance · wasmtime +2 moreWasmtime 39.0.0 before 48.0.9 Host Abort via Atomic Wait/Notify InstructionsWasmtime 39.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the threads cargo feature, allows the WebAssembly threads proposal to be enabled through Config::wasm_features, leaving atomic wait/notify runtime functions as panicking stubs that cannot unwind from compiled code. A guest module can execute memory.atomic.notify, memory.atomic.wait32, or memory.atomic.wait64 to abort the host process.CVSS2.2LowEPSS0.49%RoutineCVE-2026-140415bytecodealliance · wasmtime +3 moreWasmtime before 36.0.21 Denial of Service via wasi-http Empty HTTP/2 Body Writeswasmtime-wasi-http in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not reject zero-length writes to outgoing HTTP/2 bodies sent via hyper, and these empty DATA frames bypass flow-control and send-buffer limits. A malicious wasi-http guest paired with a slow or stalled peer can issue many empty writes to exhaust host memory.CVSS6.0MediumEPSS0.45%RoutineCVE-2026-140416bytecodealliance · wasmtime +2 moreWasmtime from 50.0.0 before 50.0.2 Host Process Abort Without gc FeatureWasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unwind. A malicious guest module can declare a non-final function type and perform call_indirect, ref.test, ref.cast, or br_on_cast against it to abort the host process.CVSS2.2LowEPSS0.49%RoutineCVE-2026-140417bytecodealliance · wasmtime +3 moreWasmtime before 36.0.21 Panic in Caller::get_module_export Denial of ServiceWasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::get_module_export when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. A malicious core WebAssembly module can import a host function that uses this API and re-export it to the embedder, crashing the host when the embedder calls it.CVSS2.2LowEPSS0.37%RoutineCVE-2026-140418bytecodealliance · wasmtime +2 moreWasmtime from 50.0.0 before 50.0.2 Process Abort via Unaligned GC Heap ReservationWasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 lets a non-movable GC heap or linear memory whose reservation is not a multiple of the host page size grow past the bound assumed by compiled code, and misclassifies the resulting bounds-check fault, aborting the process. A malicious WebAssembly guest can abort the host process by allocating GC objects until the GC heap fills.CVSS2.2LowEPSS0.49%RoutineCVE-2026-140419bytecodealliance · wasmtime +2 moreWasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of ServiceWasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.CVSS5.7MediumEPSS0.16%RoutineCVE-2026-140420bytecodealliance · wasmtime +3 moreWasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writeswasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.CVSS6.9MediumEPSS0.40%RoutineCVE-2026-140421bytecodealliance · wasmtime +2 moreWasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong EndWasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, as it records only that an end is busy. A malicious WebAssembly component can call stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end while a copy is pending, panicking the host via an out-of-bounds type lookup when the host has passed the stream or future between component instances in one store.CVSS3.1LowEPSS0.49%RoutineCVE-2026-126406bytecodealliance · wasmtime +2 moreWasmtime before 36.0.20 HTTP Request Smuggling via wasi-http p2 Content-LengthThe wasmtime-wasi-http p2 implementation in Wasmtime before 36.0.20, 37.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 can send conflicting content-length headers, or ones not matching the body, in outgoing requests. A guest that reuses a received response's headers resource to send a bodyless request can enable request smuggling against non-compliant servers, potentially bypassing embedder destination access controls.CVSS6.3MediumEPSS0.30%RoutineCVE-2026-126407bytecodealliance · wasmtime +3 moreWasmtime before 36.0.20 Denial of Service via Borrowed Resource TransferWasmtime before 36.0.20, 37.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 allocates untracked host memory when a component receives a borrow of a resource it defines itself, bypassing the per-store handle limit. A malicious guest component can repeatedly transfer such borrowed resources to consume arbitrary host memory, causing denial of service.CVSS5.9MediumEPSS0.31%RoutineCVE-2026-126408bytecodealliance · wasmtime +2 moreWasmtime 47.0.0 before 48.0.8 Denial of Service via TypedFunc Type-Check PanicWasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains an insufficient type-check in the TypedFunc embedder API for I31, Option<I31>, and Option<NoneRef> parameter or result types, reaching an unreachable!() path. A malicious guest module exporting a function that uses another anyref-hierarchy type can panic the host embedding, causing denial of service.CVSS1.8LowEPSS0.23%RoutineCVE-2026-126409bytecodealliance · wasmtime +2 moreWasmtime 47.0.0 before 48.0.8 Cross-Engine Type Confusion via StructType SupertypeWasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains a cross-engine type confusion vulnerability because StructType::with_finality_and_supertype does not validate that the supplied supertype belongs to the same Engine. Embedders using multiple engines that create a GC struct type with another engine's supertype can trigger runtime panics or GC heap corruption, causing denial of service; guest WebAssembly cannot trigger it.CVSS2.0LowEPSS0.25%RoutineCVE-2026-126410bytecodealliance · wasmtime +2 moreWasmtime 48.0.0 before 48.0.8 TOCTOU UDP Send Policy Bypass via wasip3 SocketsWasmtime's wasmtime-wasi crate 48.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains a time-of-check/time-of-use race in the wasip3 wasi:sockets udp-socket host implementation that lets guests bypass socket_addr_check send restrictions. A malicious guest can race udp-socket.send against udp-socket.connect to deliver attacker-controlled datagrams to addresses the policy permits only for receiving.CVSS6.4MediumEPSS0.23%RoutineCVE-2026-121441bytecodealliance · wasmtime +1 moreWasmtime before 36.0.19, 37.0.0 before 48.0.7, and 49.0.0 before 49.0.4 wasi-http Request SmugglingMalicious guests can make the host send HTTP requests with conflicting content-length values to smuggle requests through servers or intermediaries that do not reject them.CVSS6.3MediumEPSS0.22%RoutineCVE-2026-121440bytecodealliance · wasmtime +1 moreWasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 Forwarded Trailers Header Filter BypassWASIp3 guests can forward a request or response body so its trailers skip embedder-customized forbidden header filtering, undermining header restrictions the embedder intended.CVSS6.3MediumEPSS0.22%RoutineCVE-2026-121439bytecodealliance · wasmtime +1 moreWasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 HTTP Response Splitting via wasi-httpMalicious wasip3 guests can splice an existing body into a new response with an incorrect content-length to perform response splitting or injection attacks.CVSS6.9MediumEPSS0.24%RoutineCVE-2026-119143bytecodealliance · wasmtime +2 moreWasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Panic via Zero-Length Stream WritesMalicious guests can perform zero-length component model stream reads or writes with unvalidated addresses, causing Direct{Source,Destination}::remaining to panic and crash WASIp3 embedders.CVSS5.9MediumEPSS0.26%RoutineCVE-2026-119142bytecodealliance · wasmtime +2 moreWasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Host Panic via call_async DropWhen the guest task has not started, cleanup code searches only one location for work items and unwraps the resulting error, crashing embedders that cancel pending calls.CVSS5.9MediumEPSS0.25%RoutineCVE-2026-119141bytecodealliance · wasmtime +2 moreWasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Host Panic via reallocAttackers can call into the host from realloc while lowering stream or future results, such as cancelling the active read or re-waiting a waitable-set, crashing the host.CVSS6.9MediumEPSS0.37%