All vulnerabilities

crates.io

CVE-2026-140417

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

Severity
Low 2.1
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
36.0.21, 48.0.9, 49.0.6, 50.0.2
Weakness
CWE-617
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
wasmtimecrates.io · osv:crates.io:wasmtime
  • Every version 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.2

About wasmtime

Downloads in the last 90 days (crates.io)
14,115,171crates.io, 30 Nov 2026
Total downloads (crates.io)
47,863,744crates.io, 30 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140417