CVE-2026-34941 Wasmtime has a Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime contains a vulnerability where when transcoding a UTF-16 string to the latin1+utf16 component-model encoding it would incorrectly validate the byte length of the input string when performing a bounds check. Specifically the number of code units were checked instead of the byte length, which is twice the size of the code units. This vulnerability can cause the host to read beyond the end of a WebAssembly's linear memory in an attempt to transcode nonexistent bytes. In Wasmtime's default configuration this will read unmapped memory on a guard page, terminating the process with a segfault. Wasmtime can be configured, however, without guard pages which would mean that host memory beyond the end of linear memory may be read and interpreted as UTF-16. A host segfault is a denial-of-service vulnerability in Wasmtime, and possibly being able to read beyond the end of linear memory is additionally a vulnerability. Note that reading beyond the end of linear memory requires nonstandard configuration of Wasmtime, specifically with guard pages disabled. This vulnerability is fixed in 24.0.7, 36.0.7, 42.0.2, and 43.0.1.
Upgrade path
8 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-wasmtime(Debian 13) | = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5; = 26.0.1+dfsg-6 +40 more | No fix listed | No fix yet |
| redhat/redhat-user-workloads/rhcl-1-3-wasm-shim(Red Hat connectivity_link 1) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| bytecodealliance wasmtime | < 24.0.7; = < 24.0.7; = >= 25.0.0, < 36.0.7; = >= 37.0.0, < 42.0.2 +4 more | 24.0.7, 36.0.7, 42.0.2, 43.0.1 | Fixed |
| crates.io wasmtime(crates.io) | < 24.0.7; = 43.0.0; >= 0.0.0-0, < 24.0.7; >= 25.0.0, < 36.0.7 +2 more | 24.0.7, 36.0.7, 42.0.2, 43.0.1 | Fixed |
| debian/rust-wasmtime(Debian 14) | < 36.0.7+dfsg-1; = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5 +31 more | 36.0.7+dfsg-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bytecodealliance wasmtime | = < 24.0.7 | No fix listed |
| bytecodealliance wasmtime | = >= 25.0.0, < 36.0.7 | No fix listed |
| bytecodealliance wasmtime | = >= 37.0.0, < 42.0.2 | No fix listed |
| bytecodealliance wasmtime | = >= 43.0.0, < 44.0.1 | No fix listed |
| crates.io wasmtime(crates.io) | < 24.0.7 | 24.0.7 |
| crates.io wasmtime(crates.io) | >= 25.0.0, < 36.0.7 | 36.0.7 |
| crates.io wasmtime(crates.io) | >= 37.0.0, < 42.0.2 | 42.0.2 |
| crates.io wasmtime(crates.io) | >= 43.0.0, < 43.0.1 | 43.0.1 |
| crates.io wasmtime(crates.io) | = 43.0.0 | No fix listed |
| crates.io wasmtime(crates.io) | >= 0.0.0-0, < 24.0.7 | 24.0.7 |
| debian/rust-wasmtime(Debian:13) | All versions | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-3 | No fix listed |
Show 72 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.11+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.13+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.7+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.8+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | < 36.0.7+dfsg-1 | 36.0.7+dfsg-1 |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-7 | No fix listed |
| redhat/redhat-user-workloads/rhcl-1-3-wasm-shim(Red Hat:connectivity_link:1) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.10) | All versions | No fix listed |
| bytecodealliance wasmtime | < 24.0.7 | 24.0.7 |
| bytecodealliance wasmtime | >= 25.0.0, < 36.0.7 | 36.0.7 |
| bytecodealliance wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 |
| bytecodealliance wasmtime | >= 43.0.0, < 43.0.1 | 43.0.1 |
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hx6p-xpx3-jvvv vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com
- github.com
- Debian Security Tracker CVE-2026-34941 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2456997 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking