CVE-2026-34941
Wasmtime: Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p wasmtime --precise 36.0.7
cargo update -p wasmtime --precise 42.0.2
cargo update -p wasmtime --precise 43.0.1
cargo update -p wasmtime --precise 24.0.7
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-125Out-of-bounds ReadMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2026-34941?
- Wasmtime: Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-34941?
- CVE-2026-34941 affects wasmtime. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34941 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2023-26489CRITICAL
wasmtime vulnerable to guest-controlled out-of-bounds read/write on x86_64
- CVE-2026-34971CRITICAL
Wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift
- CVE-2026-27572MEDIUM
Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance
- CVE-2026-35195MEDIUM
Wasmtime has out-of-bounds write or crash when transcoding component model strings
- CVE-2026-27204MEDIUM
Wasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion
- CVE-2026-35186MEDIUM
Wasmtime has improperly masked return value from `table.grow` with Winch compiler backend
- CVE-2026-34942MEDIUM
Wasmtime: Panic when transcoding misaligned utf-16 strings
- CVE-2024-51745LOW
Wasmtime doesn't fully sandbox all the Windows device filenames
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies