Skip to content

CVE-2026-54786 Wasmtime: Leak in WASIp1 `fd_renumber` implementation

LowCVSS 2.3 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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 closed. Wasmtime's implementation erroneously only updated the table of descriptors for WASIp1 and didn't update the underlying table of descriptors used by the host. This behavior means that while fd_renumber works correctly from a guest's perspective it ends up leaking resources in the host that aren't cleaned up until the corresponding Store is destroyed. In a loop, guests can use fd_renumber to cause hosts to exhaust both resources and file descriptors. This bug only affects the native implementation of WASIp1, meaning that only runtimes which load core wasm modules and expose fd_renumber are affected. Runtimes are additionally only affected if they expose the ability to acquire a file descriptor, such as opening a file. For runtimes that deny access to files they are unaffected. This issue has been fixed in versions 24.0.10, 36.0.11, 44.0.3, and 45.0.2.

Upgrade path

9 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/rust-wasmtime(Debian 13) = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5; = 26.0.1+dfsg-6 +40 more No fix listed No fix yet
redhat/rhcl-1/wasm-shim-rhel9(Red Hat connectivity_link 1) All versions No fix listed No fix yet
redhat/virt-firmware-rs(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.10) All versions No fix listed No fix yet
bytecodealliance wasmtime < 24.0.10; = < 24.0.10; = >= 25.0.0, < 36.0.11; = >= 37.0.0, < 44.0.3 +4 more 24.0.10, 36.0.11, 44.0.3, 45.0.2 Fixed
crates.io wasmtime-wasi(crates.io) < 24.0.10; >= 0.0.0-0, < 24.0.10; >= 25.0.0, < 36.0.11; >= 37.0.0, < 44.0.3 +1 more 24.0.10, 36.0.11, 44.0.3, 45.0.2 Fixed
debian/rust-wasmtime(Debian 14) < 36.0.11+dfsg-1; = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5 +35 more 36.0.11+dfsg-1 Fixed

Affected products

ProductAffected versionsFixed in
bytecodealliance wasmtime = < 24.0.10 No fix listed
bytecodealliance wasmtime = >= 25.0.0, < 36.0.11 No fix listed
bytecodealliance wasmtime = >= 37.0.0, < 44.0.3 No fix listed
bytecodealliance wasmtime = >= 45.0.0, < 45.0.2 No fix listed
crates.io wasmtime-wasi(crates.io) < 24.0.10 24.0.10
crates.io wasmtime-wasi(crates.io) >= 45.0.0, < 45.0.2 45.0.2
crates.io wasmtime-wasi(crates.io) >= 25.0.0, < 36.0.11 36.0.11
crates.io wasmtime-wasi(crates.io) >= 37.0.0, < 44.0.3 44.0.3
crates.io wasmtime-wasi(crates.io) >= 0.0.0-0, < 24.0.10 24.0.10
redhat/rhcl-1/wasm-shim-rhel9(Red Hat:connectivity_link:1) All versions No fix listed
redhat/virt-firmware-rs(Red Hat:enterprise_linux:10) All versions No fix listed
debian/rust-wasmtime(Debian:13) All versions No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-10 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-8 No fix listed
debian/rust-wasmtime(Debian:13) = 26.0.1+dfsg-9 No fix listed
debian/rust-wasmtime(Debian:13) = 27.0.0+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:13) = 27.0.0+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 27.0.0+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:13) = 28.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 28.0.1+dfsg-2 No fix listed
Show 76 more
ProductAffected versionsFixed in
debian/rust-wasmtime(Debian:13) = 28.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:13) = 29.0.1+dfsg-8 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.11+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.12+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.12+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.12+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.13+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.5+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.5+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.5+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.5+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.5+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.6+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.7+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.8+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.9+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:13) = 36.0.9+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) < 36.0.11+dfsg-1 36.0.11+dfsg-1
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-10 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-8 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-9 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-8 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.5+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.5+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.5+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.5+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.5+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.6+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.7+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.8+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.9+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 36.0.9+dfsg-2 No fix listed
ubuntu/rust-wasmtime(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.10) All versions No fix listed
bytecodealliance wasmtime < 24.0.10 24.0.10
bytecodealliance wasmtime >= 25.0.0, < 36.0.11 36.0.11
bytecodealliance wasmtime >= 37.0.0, < 44.0.3 44.0.3
bytecodealliance wasmtime >= 45.0.0, < 45.0.2 45.0.2

References