Home / bytecodealliance / wasmtime / CVE-2026-34942
CVE-2026-34942: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2026-34942 is an improper array index validation vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 22:39 UTC). Affected: wasmtime before 24.0.7, wasmtime from 25.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and 1 more (GitHub advisory GHSA-jxhv-7h78-9775). Fixed in 24.0.7, 36.0.7, 42.0.2 and 43.0.1 (GitHub advisory GHSA-jxhv-7h78-9775). Severity: Medium (5.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 22:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-34942?
Wasmtime panics when transcoding misaligned utf-16 strings
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.
From the CVE record by GitHub_M, last updated April 9, 2026, 19:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.7 >= 25.0.0, < 36.0.7 >= 37.0.0, < 42.0.2 >= 43.0.0, < 44.0.1 |
As the CVE record by GitHub_M states it, last updated April 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | wasmtime | < 24.0.7 | 24.0.7 | GHSA-jxhv-7h78-9775 |
| crates.io | wasmtime | >= 25.0.0, < 36.0.7 | 36.0.7 | GHSA-jxhv-7h78-9775 |
| crates.io | wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 | GHSA-jxhv-7h78-9775 |
| crates.io | wasmtime | >= 43.0.0, < 43.0.1 | 43.0.1 | GHSA-jxhv-7h78-9775 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 24, 2026. Summary: Wasmtime: Panic when transcoding misaligned utf-16 strings.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | wasmtime | before 24.0.7 | application |
| bytecodealliance | wasmtime | from 25.0.0 before 36.0.7 | application |
| bytecodealliance | wasmtime | from 37.0.0 before 42.0.2 | application |
| bytecodealliance | wasmtime | from 43.0.0 before 43.0.1 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-34942?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | 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 | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-34942 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 9, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 33.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-129 Improper Validation of Array Index
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jxhv-7h78-9775 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- March 31, 2026
- Published
- April 9, 2026, 18:32 UTC
- CVE record updated
- April 9, 2026, 19:36 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 22:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect wasmtime?
- Dec 1, 2026CVE-2026-140414 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140415 bytecodealliance wasmtime: denial of service (uncontrolled resource consumption)
- Dec 1, 2026CVE-2026-140416 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140417 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140418 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140419 bytecodealliance wasmtime: out-of-bounds read
- Dec 1, 2026CVE-2026-140420 bytecodealliance wasmtime: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140421 bytecodealliance wasmtime: improper Validation of Specified Type of Input
Questions about CVE-2026-34942
Is CVE-2026-34942 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 22:39 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2026-34942?
wasmtime before 24.0.7, wasmtime from 25.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and wasmtime from 43.0.0 before 43.0.1, per the GitHub advisory GHSA-jxhv-7h78-9775. The tables above give every range the sources list.
Which version fixes CVE-2026-34942?
24.0.7, 36.0.7, 42.0.2 and 43.0.1, per the GitHub advisory GHSA-jxhv-7h78-9775. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-34942?
Medium (5.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-34942?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.