{"id":"CVE-2026-34942","published":"2026-04-09T18:32:56Z","modified":"2026-04-09T19:36:13Z","title":"Wasmtime panics when transcoding misaligned utf-16 strings","vendor":"bytecodealliance","product":"wasmtime","tier":"tail","description":{"text":"Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of transcoding strings into the Component Model's utf16 or latin1+utf16 encodings improperly verified the alignment of reallocated strings. This meant that unaligned pointers could be passed to the host for transcoding which would trigger a host panic. This panic is possible to trigger from malicious guests which transfer very specific strings across components with specific addresses. Host panics are considered a DoS vector in Wasmtime as the panic conditions are controlled by the guest in this situation. This vulnerability is fixed in 24.0.7, 36.0.7, 42.0.2, and 43.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00436,"percentile":0.29832,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jxhv-7h78-9775","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.97},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"bytecodealliance","affectedVersions":[{"vendor":"bytecodealliance","product":"wasmtime","versions":["< 24.0.7",">= 25.0.0, < 36.0.7",">= 37.0.0, < 42.0.2",">= 43.0.0, < 44.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-09T19:35:07.866289Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"wasmtime","vulnerableRanges":["<24.0.7",">=25.0.0, <36.0.7",">=37.0.0, <42.0.2",">=43.0.0, <43.0.1",">=0.0.0-0, <24.0.7"],"patched":["24.0.7","36.0.7","42.0.2","43.0.1"],"from":["GHSA-jxhv-7h78-9775","RUSTSEC-2026-0092"],"provenance":"source"}],"summary":{"text":"Wasmtime, the WebAssembly runtime from Bytecode Alliance, fails to verify the alignment of reallocated strings when transcoding them into the Component Model's utf16 or latin1+utf16 encodings, so unaligned pointers reach the host and trigger a panic. An attacker who controls a malicious guest component (with low privileges and some user interaction) and can pass very specific strings with particular addresses across components can crash the host, a denial-of-service condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:12Z"},"euvd":{"id":"EUVD-2026-20990","exploited":false,"provenance":"source"}}