CVE-2026-34942: bytecodealliance wasmtime Improper Validation of Array Index
Vulnerability summary
CVE-2026-34942 is a medium (CVSS 6.5) Improper Validation of Array Index vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 09-04-2026PublishedVulnerability first disclosed.
- 09-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'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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
- OSV · Crates.ioEcosystem advisory · calculated5.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
- NVDNIST5.9MediumCVSS: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
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
+0.07 pp
From 0.35% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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-jxhv-7h78-9775X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- crates.io/crates/wasmtimePACKAGE