CVE-2026-140417 PUBLISHED

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

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

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
CVSS Score: 2.1

Product Status

Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 0 to 36.0.21 (excl.)
  • Version 36.0.21 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 37.0.0 to 48.0.9 (excl.)
  • Version 48.0.9 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 49.0.0 to 49.0.6 (excl.)
  • Version 49.0.6 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 50.0.0 to 50.0.2 (excl.)
  • Version 50.0.2 is unaffected

References

Problem Types

  • Reachable Assertion CWE