CVE-2026-34941 in Bytecodealliance Wasmtime
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bytecodealliance | Wasmtime | < 24.0.7 ≥ 25.0.0, < 36.0.7 ≥ 37.0.0, < 42.0.2 ≥ 43.0.0, < 43.0.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34941 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-189388-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| Published | 2026-04-09 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Wasmtime, a runtime for WebAssembly, contains a vulnerability in versions prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, where incorrect validation of byte length during UTF-16 to latin1+utf16 transcoding can lead to potential security issues.
The vulnerability arises from an incorrect bounds check during the transcoding of UTF-16 strings to the latin1+utf16 component-model encoding. Specifically, the number of code units is checked instead of the byte length, which is twice the size. This can be exploited to cause a buffer overflow or other memory corruption issues.
Questions
What is CVE-2026-34941?
Wasmtime, a runtime for WebAssembly, contains a vulnerability in versions prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, where incorrect validation of byte length during UTF-16 to latin1+utf16 transcoding can lead to potential security issues.
What is the CVSS score for CVE-2026-34941?
CVE-2026-34941 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. EPSS: 0.5%.
Is CVE-2026-34941 actively exploited?
No confirmed active exploitation of CVE-2026-34941 as of 2026-11-03.
How do I remediate CVE-2026-34941?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-34941?
CVE-2026-34941 affects Bytecodealliance Wasmtime.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bytecodealliance","product":"Wasmtime","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.