{"id":"CVE-2026-140421","summary":"Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End","details":"Wasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, as it records only that an end is busy. A malicious WebAssembly component can call stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end while a copy is pending, panicking the host via an out-of-bounds type lookup when the host has passed the stream or future between component instances in one store.","aliases":["GHSA-xrvr-8678-5wp8","RUSTSEC-2026-0572"],"modified":"2026-12-01T16:46:01.954109234Z","published":"2026-12-01T14:28:38.630Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-1287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140421.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140421.json"},{"type":"ADVISORY","url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xrvr-8678-5wp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140421"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/wasmtime-46.0.0-before-48.0.9-panic-via-stream-future-cancel-on-wrong-end"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytecodealliance/wasmtime","events":[{"introduced":"423be7a4e4d30bb377c836d317521d1eb874e157"},{"fixed":"6d94ceb1b955f52bafbe0892836b2a91a0bb6649"},{"introduced":"17830bd3c0331d920a8aa38846eebc4d46d98c23"},{"fixed":"4ba914dbf04deca0372da1c66281b319e78f4a32"},{"introduced":"ebe5e8df1f4e12c5fc2f5954926881d8d61367d8"},{"fixed":"f9a93b049a23bef9a33cfa3888f32af33a178749"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"46.0.0"},{"fixed":"48.0.9"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"49.0.0"},{"fixed":"49.0.6"}]},{"strategy":"StandardRange","range":[{"introduced":"50.0.0"},{"fixed":"50.0.2"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v49.0.5","v50.0.1","v50.0.0","v49.0.4","v49.0.3","v49.0.2","v49.0.1","v49.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140421.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}