CVE-2026-126407
Wasmtime before 36.0.20, 37.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 allocates untracked host memory when a component receives a borro…
Impact
Wasmtime before 36.0.20, 37.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 allocates untracked host memory when a component receives a borrow of a resource it defines itself, bypassing the per-store handle limit. A malicious guest component can repeatedly transfer such borrowed resources to consume arbitrary host memory, causing denial of service.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of outages.
Affected products · Bytecodealliance
| Product | Affected versions |
|---|---|
| Wasmtime | before 36.0.20 from 37.0.0 before 48.0.8 from 49.0.0 before 49.0.5 from 50.0.0 before 50.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6fr9-xmw9-5352
- https://www.vulncheck.com/advisories/wasmtime-before-36.0.20-denial-of-service-via-borrowed-resource-transfer
- https://github.com/advisories/GHSA-2gjh-4jcm-q34v
- https://nvd.nist.gov/vuln/detail/CVE-2026-126407