Improper control of a resource through its lifetime in Wasmtime - CVE-2025-53901
Published: April 23, 2026
Wasmtime
Detailed vulnerability description
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to improper state management in the WASIp1 fd_renumber implementation in wasmtime-wasi when processing a crafted sequence of WASI calls. A remote user can call fd_renumber with equal file descriptor values or a previously closed descriptor number and then call path_open to cause a denial of service.
Exploitation requires the ability to open a subsequent file descriptor, which is only possible when a preopened directory was provided to the guest. WASIp2 and embedders using components are not affected.