BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-34942 in Bytecodealliance Wasmtime

Medium 6.5

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
CVSS v45.9
EPSS0.4%
EPSS percentile31th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitNot 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'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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34942
BreachSpider IDBS-2026-GLOBAL-151379-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2026-04-09
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-129: CWE-129

Related attack patterns (CAPEC)

CAPEC-100 Overflow Buffers via CWE-129

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Wasmtime, a runtime for WebAssembly, prior to versions 24.0.7, 36.0.7, 42.0.2, and 43.0.1, contains a vulnerability in its implementation of transcoding strings into the Component Model's utf16 or latin1+utf16 encodings. The improper verification of string alignment can lead to unaligned pointers being passed to the host, causing a host panic.

An attacker could exploit this vulnerability by crafting specific WebAssembly modules that trigger the improper string alignment verification during transcoding. This could lead to a host panic, potentially allowing for further exploitation depending on the context in which Wasmtime is used.

Questions

What is CVE-2026-34942?

Wasmtime, a runtime for WebAssembly, prior to versions 24.0.7, 36.0.7, 42.0.2, and 43.0.1, contains a vulnerability in its implementation of transcoding strings into the Component Model's utf16 or latin1+utf16 encodings. The improper verification of string alignment can lead to unaligned pointers being passed to the host, causing a host panic.

What is the CVSS score for CVE-2026-34942?

CVE-2026-34942 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.

Is CVE-2026-34942 actively exploited?

No confirmed active exploitation of CVE-2026-34942 as of 2026-11-03.

How do I remediate CVE-2026-34942?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34942?

CVE-2026-34942 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.