CVE-2026-34941: Wasmtime has a Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding
Vulnerability summary
CVE-2026-34941 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.2% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 09-04-2026PublishedVulnerability first disclosed.
- 10-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · Crates.ioEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- washAll versions (No fix recorded)
- wasmcloud< 2.0.4-r0
- wizer< 11.0.3-r10
- yara-x< 1.15.0-r2
- zed< 0.228.0-r3
Wolfi5 products
- washAll versions (No fix recorded)
- wasmcloud< 2.0.4-r0
- wizer< 11.0.3-r10
- yara-x< 1.15.0-r2
- zed< 0.228.0-r3
Bytecodealliance1 product
- wasmtime≥ 43.0.0, < 44.0.1 | < 24.0.7 | ≥ 25.0.0, < 36.0.7 | ≥ 37.0.0, < 42.0.2 | ≥ 43.0.0, < 43.0.1
Crates.Io1 product
- wasmtime< 24.0.7 | ≥ 25.0.0, < 36.0.7 | ≥ 37.0.0, < 42.0.2 | ≥ 43.0.0, < 43.0.1
Debian1 product
- rust-wasmtimeAll versions (No fix recorded) | < 36.0.7+dfsg-1
Ubuntu1 product
- rust-wasmtimeAll versions (No fix recorded)
6 vendors · 14 products
References
10 links- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hx6p-xpx3-jvvvX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- crates.io/crates/wasmtimePACKAGE