Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-34942
Published:April 09, 2026
Updated:August 06, 2026
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.
Affected Packages
wasmtime (RUST):
Affected version(s) >=0.0.0 <24.0.7
Fix Suggestion:
Update to version 24.0.7
wasmtime (RUST):
Affected version(s) =43.0.0 <43.0.1
Fix Suggestion:
Update to version 43.0.1
wasmtime (RUST):
Affected version(s) >=37.0.0 <42.0.2
Fix Suggestion:
Update to version 42.0.2
wasmtime (RUST):
Affected version(s) >=25.0.0 <36.0.7
Fix Suggestion:
Update to version 36.0.7
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
LOW
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Validation of Array Index
Improper Restriction of Operations within the Bounds of a Memory Buffer
EPSS
Base Score:
0.35