Home / bytecodealliance / wasmtime / CVE-2025-53901
CVE-2025-53901: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2025-53901 is an operation on a Resource after Expiration or Release vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: wasmtime-wasi before 24.0.4, wasmtime-wasi from 25.0.0 before 33.0.2, wasmtime-wasi from 34.0.0 before 34.0.2 and 3 more (GitHub advisory GHSA-fm79-3f68-h2fc). Fixed in 24.0.4, 33.0.2 and 34.0.2 (GitHub advisory GHSA-fm79-3f68-h2fc). Severity: Low (3.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-53901?
Wasmtime has host panic with `fd_renumber` WASIp1 function
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.
From the CVE record by GitHub_M, last updated July 18, 2025, 17:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.4 >= 33.0.0, < 33.0.2 >= 34.0.0, < 34.0.2 |
As the CVE record by GitHub_M states it, last updated July 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | wasmtime-wasi | < 24.0.4 | 24.0.4 | GHSA-fm79-3f68-h2fc |
| crates.io | wasmtime-wasi | >= 25.0.0, < 33.0.2 | 33.0.2 | GHSA-fm79-3f68-h2fc |
| crates.io | wasmtime-wasi | >= 34.0.0, < 34.0.2 | 34.0.2 | GHSA-fm79-3f68-h2fc |
| crates.io | wasmtime | >= 10.0.0, < 24.0.4 | 24.0.4 | GHSA-fm79-3f68-h2fc |
| crates.io | wasmtime | >= 33.0.0, < 33.0.2 | 33.0.2 | GHSA-fm79-3f68-h2fc |
| crates.io | wasmtime | >= 34.0.0, < 34.0.2 | 34.0.2 | GHSA-fm79-3f68-h2fc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2025. Summary: Wasmtime CLI is vulnerable to host panic through its fd_renumber function.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | wasmtime | before 24.0.4 | application |
| bytecodealliance | wasmtime | from 33.0.0 before 33.0.2 | application |
| bytecodealliance | wasmtime | from 34.0.0 before 34.0.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:39 UTC.
How severe is CVE-2025-53901?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-53901 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 18, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-672 Operation on a Resource after Expiration or Release
Where are the vendor advisories and references?
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-fm79-3f68-h2fc x_refsource_CONFIRM
- https://docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.html x_refsource_MISC
- https://docs.wasmtime.dev/stability-release.html x_refsource_MISC
- https://github.com/WebAssembly/WASI/blob/e1aa1cae4dda4c1f70f23fe11e922aae92f240a8/legacy/preview1/witx/wasi_snapshot_preview1.witx#L245-L260 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/blob/037a6edadbc225decbea00a551aabf04203717d9/crates/wasi/src/preview1.rs#L1824-L1836 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 11, 2025
- Published
- July 18, 2025, 17:10 UTC
- CVE record updated
- July 18, 2025, 17:31 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:39 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect wasmtime?
- Dec 1, 2026CVE-2026-140414 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140415 bytecodealliance wasmtime: denial of service (uncontrolled resource consumption)
- Dec 1, 2026CVE-2026-140416 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140417 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140418 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140419 bytecodealliance wasmtime: out-of-bounds read
- Dec 1, 2026CVE-2026-140420 bytecodealliance wasmtime: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140421 bytecodealliance wasmtime: improper Validation of Specified Type of Input
Questions about CVE-2025-53901
Is CVE-2025-53901 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2025-53901?
wasmtime-wasi before 24.0.4, wasmtime-wasi from 25.0.0 before 33.0.2, wasmtime-wasi from 34.0.0 before 34.0.2, wasmtime from 10.0.0 before 24.0.4, wasmtime from 33.0.0 before 33.0.2 and wasmtime from 34.0.0 before 34.0.2, per the GitHub advisory GHSA-fm79-3f68-h2fc. The tables above give every range the sources list.
Which version fixes CVE-2025-53901?
24.0.4, 33.0.2 and 34.0.2, per the GitHub advisory GHSA-fm79-3f68-h2fc. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-53901?
Low (3.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-53901?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.