{"id":"JLSEC-2026-1355","aliases":["JLSEC-2026-1355"],"related":["CVE-2026-34942","EUVD-2026-20990","GHSA-jxhv-7h78-9775"],"kind":"vulnerability","state":"published","title":"Wasmtime: Panic when transcoding misaligned utf-16 strings","summary":"### Impact\n\nWasmtime'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.\n\nHost panics are considered a DoS vector in Wasmtime as the panic conditions are controlled by the guest in this situation.\n\n### Patches\n\nWasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.\n\n### Workarounds\n\nThere is no workaround for this bug. Hosts are recommended to updated to a patched version of Wasmtime.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"### Impact\n\nWasmtime'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.\n\nHost panics are considered a DoS vector in Wasmtime as the panic conditions are controlled by the guest in this situation.\n\n### Patches\n\nWasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.\n\n### Workarounds\n\nThere is no workaround for this bug. Hosts are recommended to updated to a patched version of Wasmtime.","format":"markdown","source":"jlsec"}],"published":"2026-08-21T20:43:33.133Z","modified":"2026-08-21T21:14:22.065Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Julia Security Advisories","scheme":"CVSS: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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"45.0.1+0"}],"ecosystem":"Julia","package":"Wasmtime_jll","purl":"pkg:julia/Wasmtime_jll?uuid=d20e7296-4f3e-515c-90b9-d2595a77bf72","source":"jlsec"}],"references":[{"url":"https://github.com/advisories/GHSA-jxhv-7h78-9775","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jxhv-7h78-9775","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34942","tags":["web"],"sources":["jlsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0092.html","tags":["web"],"sources":["jlsec"]}],"credits":["alexcrichton"],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1355","url":"https://osv.dev/vulnerability/JLSEC-2026-1355","licence":"CC-BY-4.0","modified":"2026-08-21T21:14:22.065Z"}],"updatedAt":"2026-11-25T22:56:25.951Z"}