CVE-2026-140417
JSON

2.1low

Wasmtime before 36.0.21 Panic in Caller::get_module_export Denial of Service

Severity
2.1low CVSS:4.0 by VulnCheck
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0569GHSA-hj27-mpw9-ff4c

Description

Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::get_module_export when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. A malicious core WebAssembly module can import a host function that uses this API and re-export it to the embedder, crashing the host when the embedder calls it.

Affected

Product or packageVersionsReported by
bytecodealliance wasmtimebefore 36.0.21, from 37.0.0 before 48.0.9, from 49.0.0 before 49.0.6, from 50.0.0 before 50.0.2
Not affected: 36.0.21, 48.0.9, 49.0.6, 50.0.2
CVE List
wasmtime (crates.io)from 0.0.0-0 before 36.0.21, from 37.0.0 before 48.0.9, from 49.0.0 before 49.0.6, from 50.0.0 before 50.0.2RustSec Advisory Database

All scores

VulnCheck2.1low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck2.2low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L

Classification

What each source says

CVE List

Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::get_module_export when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. A malicious core WebAssembly module can import a host function that uses this API and re-export it to the embedder, crashing the host when the embedder calls it.

RustSec Advisory Database

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hj27-mpw9-ff4c For more information see the GitHub-hosted security advisory.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140417 changed 2026-12-01CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0569 changed 2026-12-01CC0-1.0
NVDCVE-2026-140417 changed 2026-12-01Public domain