Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35195: CWE-787: Out-of-bounds Write in bytecodealliance wasmtime

0
Medium
VulnerabilityCVE-2026-35195cvecve-2026-35195cwe-787
Published: Thu Apr 09 2026 (04/09/2026, 18:55:56 UTC)
Source: CVE Database V5
Vendor/Project: bytecodealliance
Product: wasmtime

Description

CVE-2026-35195 is a medium severity out-of-bounds write vulnerability in the Wasmtime runtime for WebAssembly. The issue arises from Wasmtime's string transcoding implementation where the guest component's realloc return value is not validated before the host writes data. This can cause the host to write arbitrary bytes up to 4GiB away from the guest's linear memory base, potentially leading to host process aborts or memory corruption depending on configuration. The vulnerability affects multiple Wasmtime versions prior to fixed releases 24. 0. 7, 36. 0. 7, 42. 0. 2, and 43.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 19:21:19 UTC

Technical Analysis

Wasmtime, a WebAssembly runtime by bytecodealliance, contains an out-of-bounds write vulnerability (CWE-787) in its string transcoding between components. The flaw occurs because the host does not validate the guest component's realloc return pointer before writing transcoded string bytes. This allows a guest to cause the host to write data up to 4GiB away from the guest's linear memory base. By default, Wasmtime reserves 4GiB of virtual memory for guest linear memory, causing out-of-bounds writes to hit unmapped memory and abort the host process. However, configurations with less reserved memory and no guard pages may allow corruption of host data structures or other guests' memory. The vulnerability affects Wasmtime versions before 24.0.7, between 25.0.0 and 36.0.7, between 37.0.0 and 42.0.2, and between 43.0.0 and 44.0.1. Fixed versions are 24.0.7, 36.0.7, 42.0.2, and 43.0.1.

Potential Impact

Exploitation can cause the host process running Wasmtime to abort due to unhandled memory faults or, under certain configurations, lead to corruption of host data structures or other guests' linear memories. This can impact the stability and security of the host environment running Wasmtime. The CVSS 4.0 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, partial privileges required, no user interaction, and high impact on availability.

Mitigation Recommendations

Fixed versions of Wasmtime are available: 24.0.7, 36.0.7, 42.0.2, and 43.0.1. Users should upgrade to one of these versions to remediate the vulnerability. Patch status is not explicitly confirmed beyond the identification of fixed versions; therefore, users should consult the official bytecodealliance Wasmtime advisories for the latest remediation guidance. No alternative mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-01T18:48:58.936Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d7f88e1cc7ad14da0c179f

Added to database: 4/9/2026, 7:05:50 PM

Last enriched: 4/9/2026, 7:21:19 PM

Last updated: 4/9/2026, 8:20:59 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses