Improper control of a resource through its lifetime in Wasmtime - CVE-2025-53901

 

Improper control of a resource through its lifetime in Wasmtime - CVE-2025-53901

Published: April 23, 2026


Vulnerability identifier: #VU127039
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-53901
CWE-ID: CWE-664
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Wasmtime

How to mitigate CVE-2025-53901

Install security update from vendor's website.

Wasmtime - addressed in versions 24.0.4, 33.0.2, 34.0.2

External References

Related Security Bulletins