UBUNTU-CVE-2026-126409: Low severity ubuntu/rust-wasmtime vulnerability
Wasmtime 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::withfinalityandsupertype 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.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Only Wasmtime embedders that use multiple Engine instances and create a GC struct type using a supertype from a different Engine are exposed. Guest WebAssembly code cannot trigger the issue.
What does an attacker need to do to exploit it?
Exploitation requires high privileges and user interaction, and depends on the embedding application constructing the cross-engine GC type relationship. The documented outcome is runtime panics or GC heap corruption leading to denial of service.
Are default Wasmtime deployments affected?
The issue is not triggered by guest WebAssembly alone. An application is affected only if its embedding code uses multiple engines and passes a supertype from one Engine while creating a GC struct type for another.
What can be done before updating?
Avoid creating GC struct types with supertypes obtained from a different Engine. Ensure each StructType::with_finality_and_supertype call uses a supertype associated with the same Engine as the struct type being created.
Which upstream releases contain fixes?
Fixed releases are 48.0.8, 49.0.5, and 50.0.1. The affected releases are 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1.