Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35195

CVE-2026-35195: Wasmtime Buffer Overflow Vulnerability

CVE-2026-35195 is a buffer overflow vulnerability in Wasmtime's WebAssembly runtime that allows guests to write arbitrary data to host memory. This article covers technical details, affected versions, impact, and mitigation.

Published: April 9, 2026

CVE-2026-35195 Overview

CVE-2026-35195 is an Out-of-Bounds Write vulnerability affecting Wasmtime, a runtime for WebAssembly. The vulnerability exists in Wasmtime's implementation of transcoding strings between components, where the return value of a guest component's realloc function is not properly validated before the host attempts to write through the pointer. This flaw enables a malicious guest component to cause the host to write arbitrary transcoded string bytes to memory locations up to 4GiB away from the base of linear memory.

Critical Impact

A guest component can corrupt host memory or cause denial of service by exploiting improper pointer validation during string transcoding operations.

Affected Products

  • Wasmtime versions prior to 24.0.7
  • Wasmtime versions prior to 36.0.7
  • Wasmtime versions prior to 42.0.2 and 43.0.1

Discovery Timeline

  • 2026-04-09 - CVE CVE-2026-35195 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-35195

Vulnerability Analysis

This vulnerability stems from a missing validation check in Wasmtime's string transcoding mechanism used for inter-component communication. When transcoding strings between WebAssembly components, the host runtime calls the guest's realloc function to allocate memory for the transcoded output. The critical flaw is that the pointer returned by realloc is used directly without validation, allowing a malicious guest to return an arbitrary pointer value.

By default, Wasmtime reserves 4GiB of virtual memory for a guest's linear memory space. When exploitation is attempted under this default configuration, the out-of-bounds write will typically hit unmapped memory regions, causing the host process to abort due to an unhandled memory access fault. This results in a denial of service condition.

However, Wasmtime can be configured to reserve less memory for guests and to remove guard pages entirely. In these non-default configurations, the vulnerability becomes significantly more dangerous, potentially allowing corruption of host data structures or other guests' linear memories. This could lead to more severe consequences including arbitrary code execution or sandbox escape scenarios.

Root Cause

The root cause is classified as CWE-787 (Out-of-bounds Write). The vulnerability exists because Wasmtime's string transcoding implementation trusts the return value from a guest component's realloc function without performing bounds validation. The host should verify that the returned pointer falls within the expected boundaries of the guest's linear memory before writing transcoded string data through it.

Attack Vector

The attack vector requires network access with low complexity but some prerequisites must be met. An attacker needs the ability to execute a malicious WebAssembly component within a Wasmtime runtime environment. The exploitation flow involves:

  1. The attacker crafts a malicious WebAssembly component with a specially designed realloc implementation
  2. When string transcoding occurs between components, the malicious realloc returns a pointer outside the expected memory bounds
  3. The host runtime writes transcoded string bytes to the attacker-controlled memory location
  4. Depending on configuration, this either crashes the host (DoS) or corrupts host/other guest memory

The vulnerability mechanism exploits the trust relationship between the host runtime and guest components during memory allocation for string operations. The realloc function, which should return a valid pointer within the guest's linear memory, instead returns an arbitrary value that the host uses without validation. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-35195

Indicators of Compromise

  • Unexpected process crashes in applications using Wasmtime runtime with memory access violations
  • Abnormal memory allocation patterns in WebAssembly guest components
  • Segmentation faults or access violations occurring during component-to-component string operations
  • Evidence of memory corruption in host data structures adjacent to WebAssembly linear memory

Detection Strategies

  • Monitor for unexpected crashes in Wasmtime-based applications with fault addresses significantly outside expected memory regions
  • Implement runtime instrumentation to detect out-of-bounds pointer returns from guest realloc functions
  • Use memory sanitizers (ASan/MSan) during development and testing to catch out-of-bounds writes
  • Review logs for patterns indicating repeated crashes during string transcoding operations

Monitoring Recommendations

  • Enable crash reporting and analysis for applications using Wasmtime runtime
  • Implement alerting on unusual memory access patterns in WebAssembly execution environments
  • Monitor system logs for segmentation faults and memory access violations in Wasmtime processes
  • Track and analyze any abnormal behavior during inter-component communication

How to Mitigate CVE-2026-35195

Immediate Actions Required

  • Upgrade Wasmtime to patched versions 24.0.7, 36.0.7, 42.0.2, or 43.0.1 immediately
  • Audit current Wasmtime configurations for reduced memory reservations or disabled guard pages
  • Review WebAssembly components from untrusted sources running in your environment
  • Consider temporarily disabling inter-component string operations if immediate patching is not possible

Patch Information

Bytecode Alliance has released security patches addressing this vulnerability in multiple Wasmtime versions. Organizations should upgrade to one of the following fixed versions based on their current deployment:

  • Version 24.0.7 for those on the 24.x release branch
  • Version 36.0.7 for those on the 36.x release branch
  • Version 42.0.2 for those on the 42.x release branch
  • Version 43.0.1 for those on the 43.x release branch

For detailed patch information and additional guidance, refer to the GitHub Security Advisory.

Workarounds

  • Ensure Wasmtime is configured with default memory reservation (4GiB) and guard pages enabled to limit impact to DoS
  • Restrict execution of untrusted WebAssembly components until patching is complete
  • Implement network-level controls to limit exposure of Wasmtime-based services
  • Consider running Wasmtime instances in isolated environments with additional sandboxing
bash
# Verify Wasmtime version and upgrade if vulnerable
wasmtime --version
# Example: Upgrade using cargo
cargo install wasmtime-cli --version 43.0.1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechWasmtime

  • SeverityMEDIUM

  • CVSS Score6.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34944: Wasmtime Buffer Overflow Vulnerability

  • CVE-2026-24116: Wasmtime Buffer Overflow Vulnerability

  • CVE-2023-26489: Cranelift-codegen Buffer Overflow Bug

  • CVE-2026-35186: Wasmtime Winch Compiler DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English