cvelo
P4 · InfoCVSS 2.2EPSS 0.4%

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

  • CVE-2026-140417
  • GHSA-3788-4w6p-p89m
  • GHSA-hj27-mpw9-ff4c
  • RUSTSEC-2026-0569
  • EUVD-2026-140226

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.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • bytecodealliance wasmtime

    Affected versionsFixed in
    from 50.0.0 to before 50.0.250.0.2
    from 49.0.0 to before 49.0.649.0.6
    from 37.0.0 to before 48.0.948.0.9
    before 36.0.2136.0.21
  • wasmtimecrates.io

    Affected versionsFixed in
    from 50.0.0 to before 50.0.250.0.2
    from 49.0.0 to before 49.0.649.0.6
    from 37.0.0 to before 48.0.948.0.9
    from 0.0.0-0 to before 36.0.2136.0.21

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.