CVE-2026-140417
Published:December 01, 2026
Updated:December 04, 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.
Affected Packages
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) =v51.0.0-rc.1 <v51.0.0Fix Suggestion:
Update to version v51.0.0https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v37.0.0 <v48.0.9 || >=v38.0.1 <v48.0.9 || >=v39.0.0 <v48.0.9 || >=v40.0.0 <v48.0.9 || >=v41.0.0 <v48.0.9 || >=v42.0.0 <v48.0.9 || >=v43.0.0 <v48.0.9 || >=v44.0.0 <v48.0.9 || >=v45.0.0 <v48.0.9 || >=v46.0.0 <v48.0.9 || >=v47.0.0 <v48.0.9 || >=v48.0.0 <v48.0.9Fix Suggestion:
Update to version v48.0.9https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v49.0.0-rc.1 <v49.0.6Fix Suggestion:
Update to version v49.0.6https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=0.2.0 <v36.0.21 || >=v1.0.0 <v36.0.21 || >=v2.0.0 <v36.0.21 || >=v3.0.0 <v36.0.21 || >=v4.0.0 <v36.0.21 || >=v5.0.0 <v36.0.21 || >=v6.0.0 <v36.0.21 || >=v7.0.0 <v36.0.21 || >=v8.0.0 <v36.0.21 || >=v9.0.0 <v36.0.21 || >=v10.0.0 <v36.0.21 || >=v11.0.0 <v36.0.21 || >=v12.0.0 <v36.0.21 || >=v13.0.0 <v36.0.21 || >=v14.0.0 <v36.0.21 || >=v15.0.0 <v36.0.21 || =v16.0.0 <v36.0.21 || >=v17.0.0 <v36.0.21 || >=v18.0.0 <v36.0.21 || >=v19.0.0 <v36.0.21 || >=v20.0.0 <v36.0.21 || >=v21.0.0 <v36.0.21 || >=v22.0.0 <v36.0.21 || >=v23.0.0 <v36.0.21 || >=v24.0.0 <v36.0.21 || >=v25.0.0 <v36.0.21 || >=v26.0.0 <v36.0.21 || =v27.0.0 <v36.0.21 || >=v28.0.0 <v36.0.21 || >=v29.0.0 <v36.0.21 || >=v30.0.0 <v36.0.21 || =v31.0.0 <v36.0.21 || >=v32.0.0 <v36.0.21 || >=v33.0.0 <v36.0.21 || >=v34.0.0 <v36.0.21 || =v35.0.0 <v36.0.21 || >=v36.0.0 <v36.0.21Fix Suggestion:
Update to version v36.0.21https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v50.0.0-rc.1 <v50.0.2Fix Suggestion:
Update to version v50.0.2wasmtime (RUST):
Affected version(s) >=25.0.0 <36.0.21 || >=28.0.0 <36.0.21 || >=14.0.0 <36.0.21 || >=10.0.0 <36.0.21 || >=1.0.0 <36.0.21 || >=33.0.0 <36.0.21 || >=24.0.0 <36.0.21 || >=11.0.0 <36.0.21 || >=30.0.0 <36.0.21 || >=22.0.0 <36.0.21 || >=8.0.0 <36.0.21 || =31.0.0 <36.0.21 || =27.0.0 <36.0.21 || >=5.0.0 <36.0.21 || >=18.0.0 <36.0.21 || >=17.0.0 <36.0.21 || >=20.0.0 <36.0.21 || >=15.0.0 <36.0.21 || >=6.0.0 <36.0.21 || >=12.0.0 <36.0.21 || >=7.0.0 <36.0.21 || >=2.0.0 <36.0.21 || >=19.0.0 <36.0.21 || >=32.0.0 <36.0.21 || >=4.0.0 <36.0.21 || >=13.0.0 <36.0.21 || >=21.0.0 <36.0.21 || >=36.0.0 <36.0.21 || >=23.0.0 <36.0.21 || >=3.0.0 <36.0.21 || >=0.0.0 <36.0.21 || =16.0.0 <36.0.21 || >=9.0.0 <36.0.21 || >=26.0.0 <36.0.21 || >=29.0.0 <36.0.21 || =35.0.0 <36.0.21 || >=34.0.0 <36.0.21Fix Suggestion:
Update to version 36.0.21wasmtime (RUST):
Affected version(s) >=49.0.0-rc.1 <49.0.6Fix Suggestion:
Update to version 49.0.6wasmtime (RUST):
Affected version(s) >=47.0.0 <48.0.9 || >=40.0.0 <48.0.9 || >=39.0.0 <48.0.9 || >=48.0.0 <48.0.9 || >=44.0.0 <48.0.9 || >=37.0.0 <48.0.9 || >=38.0.0 <48.0.9 || >=43.0.0 <48.0.9 || >=41.0.0 <48.0.9 || >=46.0.0 <48.0.9 || >=42.0.0 <48.0.9 || >=45.0.0 <48.0.9Fix Suggestion:
Update to version 48.0.9wasmtime (RUST):
Affected version(s) =51.0.0-rc.1 <51.0.0Fix Suggestion:
Update to version 51.0.0wasmtime (RUST):
Affected version(s) >=50.0.0-rc.1 <50.0.2Fix Suggestion:
Update to version 50.0.2Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
2.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Reachable Assertion
EPSS
Base Score:
0.37