cve.bz

CVE-2025-53901 bytecodealliance wasmtime

3.5 lowEPSS 0.4%Fix available

Low (3.5) in bytecodealliance wasmtime. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in wasmtime-wasi 24.0.4, 33.0.2, 34.0.2.

On this page
Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.4, 33.0.2, and 34.0.2, a bug in Wasmtime's implementation of the WASIp1 set of import functions can lead to a WebAssembly guest inducing a panic in the host (embedder). The specific bug is triggered by calling `path_open` after calling `fd_renumber` with either two equal argument values or a second argument being equal to a previously-closed file descriptor number value. The corrupt state introduced in `fd_renumber` will lead to the subsequent opening of a file descriptor to panic. This panic cannot introduce memory unsafety or allow WebAssembly to break outside of its sandbox, however. There is no possible heap corruption or memory unsafety from this panic. This bug is in the implementation of Wasmtime's `wasmtime-wasi` crate which provides an implementation of WASIp1. The bug requires a specially crafted call to `fd_renumber` in addition to the ability to open a subsequent file descriptor. Opening a second file descriptor is only possible when a preopened directory was provided to the guest, and this is common amongst embeddings. A panic in the host is considered a denial-of-service vector for WebAssembly embedders and is thus a security issue in Wasmtime. This bug does not affect WASIp2 and embedders using components. In accordance with Wasmtime's release process, patch releases are available as 24.0.4, 33.0.2, and 34.0.2. Users of other release of Wasmtime are recommended to move to a supported release of Wasmtime. Embedders who are using components or are not providing guest access to create more file descriptors (e.g. via a preopened filesystem directory) are not affected by this issue. Otherwise, there is no workaround at this time, and affected embeddings are recommended to update to a patched version which will not cause a panic in the host.

Severity

CVSS 3.1

3.5 low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-672 Operation on a Resource after Expiration or Release
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-53901 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-53901?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-53901?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-53901 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bytecodealliance:wasmtimebefore 24.0.4
bytecodealliance:wasmtimefrom 33.0.0 before 33.0.2
bytecodealliance:wasmtimefrom 34.0.0 before 34.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fm79-3f68-h2fccrates.iowasmtime-wasi<24.0.424.0.4
GHSA-fm79-3f68-h2fccrates.iowasmtime-wasi>=25.0.0 <33.0.233.0.2
GHSA-fm79-3f68-h2fccrates.iowasmtime-wasi>=34.0.0 <34.0.234.0.2
GHSA-fm79-3f68-h2fccrates.iowasmtime>=10.0.0 <24.0.424.0.4
GHSA-fm79-3f68-h2fccrates.iowasmtime>=33.0.0 <33.0.233.0.2
GHSA-fm79-3f68-h2fccrates.iowasmtime>=34.0.0 <34.0.234.0.2
RUSTSEC-2025-0046crates.iowasmtime>=10.0.0 <24.0.4
>=25.0.0 <33.0.2
>=34.0.0 <34.0.2
24.0.4, 33.0.2, 34.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13rust-wasmtimeno fix listedDEBIAN-CVE-2025-53901
Debian14rust-wasmtime36.0.5+dfsg-1DEBIAN-CVE-2025-53901
Ubuntu24.04:LTS, 25.10, 26.10rust-wasmtimeno fix listedUBUNTU-CVE-2025-53901
openSUSETumbleweedkwctl1.27.1-1.1openSUSE-SU-2025:15398-1
openSUSETumbleweedzellij0.43.1-2.1openSUSE-SU-2025:15704-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

References

Check your stackJSON