CVE-2026-34983
MEDIUM5.0EPSS 0.01%Use-after-free bug after cloning `wasmtime::Linker`
發布日:2026/4/9修改日:2026/5/21
描述
Wasmtime is a runtime for WebAssembly. In 43.0.0, cloning a wasmtime::Linker is unsound and can result in use-after-free bugs. This bug is not controllable by guest Wasm programs. It can only be triggered by a specific sequence of embedder API calls made by the host. Specifically, the following steps must occur to trigger the bug clone a wasmtime::Linker, drop the original linker instance, use the new, cloned linker instance, resulting in a use-after-free. This vulnerability is fixed in 43.0.1.
受影響套件(4)
- crates.io/wasmtime>= 43.0.0, < 43.0.1
- crates.io/wasmtime>= 43.0.0, < 43.0.1
- Debian/rust-wasmtimefrom 0
- PyPI/wasmtimefrom 0, <= 43.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:P/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hfr4-7c6c-48w2
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-34983
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-34983
- PATCHhttps://crates.io/crates/wasmtime
- PATCHhttps://github.com/bytecodealliance/wasmtime
- WEBhttps://rustsec.org/advisories/RUSTSEC-2026-0090.html