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-2024-28123

CVE-2024-28123: Wasmi Buffer Overflow Vulnerability

CVE-2024-28123 is a buffer overflow flaw in Wasmi-labs Wasmi that causes out-of-bounds writes when host calls exceed 128 parameters. This article covers technical details, affected versions, impact, and mitigation.

Published: April 8, 2026

CVE-2024-28123 Overview

CVE-2024-28123 is an out-of-bounds buffer write vulnerability affecting the Wasmi WebAssembly interpreter, a lightweight and efficient interpreter designed for constrained and embedded systems. The vulnerability occurs when a host application calls or resumes a WebAssembly (Wasm) function with more parameters than the default limit of 128, causing the interpreter to write beyond the allocated stack buffer.

Critical Impact

This out-of-bounds write vulnerability can be exploited from host-to-Wasm function calls, potentially leading to arbitrary code execution, memory corruption, or denial of service in applications using vulnerable versions of the Wasmi interpreter.

Affected Products

  • wasmi-labs wasmi versions prior to 0.31.1
  • Rust applications using the Wasmi crate for WebAssembly interpretation
  • Embedded systems and constrained environments utilizing Wasmi for Wasm execution

Discovery Timeline

  • March 21, 2024 - CVE-2024-28123 published to NVD
  • June 2, 2025 - Last updated in NVD database

Technical Details for CVE-2024-28123

Vulnerability Analysis

The vulnerability exists in the Wasmi interpreter's handling of function parameters during host-to-Wasm calls. The interpreter allocates a fixed-size stack buffer capable of holding a default maximum of 128 parameters. When a host application invokes or resumes a Wasm function, it passes parameters through this buffer. However, insufficient bounds checking allows callers to supply more than 128 parameters, causing writes beyond the allocated stack space.

This flaw is classified as CWE-787 (Out-of-Bounds Write), a dangerous memory corruption vulnerability class that can lead to code execution, data corruption, or system crashes. The network attack vector indicates that applications exposing Wasmi functionality over network interfaces are particularly at risk, as remote attackers could craft malicious requests to trigger the overflow.

Root Cause

The root cause stems from inadequate validation of parameter counts during host-initiated Wasm function calls. The Wasmi interpreter assumes that host applications will respect the 128-parameter limit but does not enforce this boundary when receiving parameters from the host environment. This trust boundary violation allows parameter arrays larger than the stack allocation to be processed, resulting in memory corruption.

Attack Vector

The vulnerability is exploitable only through host-to-Wasm calls, not Wasm-to-Wasm calls within the interpreter. An attacker would need to:

  1. Identify an application using a vulnerable Wasmi version that accepts external input for Wasm function invocation
  2. Craft a malicious request that triggers a Wasm function call with more than 128 parameters
  3. Exploit the resulting out-of-bounds write to corrupt memory, hijack execution flow, or cause denial of service

The attack does not require authentication or user interaction, making it particularly dangerous for internet-facing applications. The vulnerability affects all three pillars of security—confidentiality, integrity, and availability—with potential for complete system compromise.

The vulnerability manifests in the parameter passing mechanism during host-to-Wasm function calls. When the host invokes call or resume methods with a parameter array exceeding 128 elements, the interpreter writes beyond the stack buffer boundaries. See the GitHub Security Advisory GHSA-75jp-vq8x-h4cq for complete technical details.

Detection Methods for CVE-2024-28123

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in Wasmi-based applications
  • Anomalous memory access patterns or corruption in applications using WebAssembly interpretation
  • Function calls with unusually high parameter counts in application logs or telemetry
  • Stack corruption indicators in crash dumps from Wasmi-dependent services

Detection Strategies

  • Audit dependency manifests (Cargo.toml, Cargo.lock) for Wasmi versions prior to 0.31.1
  • Implement runtime monitoring for Wasm function calls with parameter counts exceeding 128
  • Deploy memory protection mechanisms (ASLR, stack canaries) to detect exploitation attempts
  • Use Software Composition Analysis (SCA) tools to identify vulnerable Wasmi dependencies

Monitoring Recommendations

  • Enable crash reporting and memory violation logging in production environments
  • Monitor for abnormal process terminations in services utilizing Wasmi
  • Implement input validation at the application layer to reject excessive parameter counts before reaching the interpreter
  • Review application logs for patterns indicating probing or exploitation attempts

How to Mitigate CVE-2024-28123

Immediate Actions Required

  • Upgrade Wasmi to version 0.31.1 or later immediately
  • Audit all applications and dependencies for vulnerable Wasmi versions
  • Implement input validation to limit function parameter counts at the application boundary
  • Consider temporarily disabling exposed Wasm invocation endpoints until patching is complete

Patch Information

The vulnerability was patched in Wasmi version 0.31.1. The fix implements proper bounds checking to ensure parameter counts do not exceed the stack buffer capacity during host-to-Wasm calls.

  • Patched Version:0.31.1
  • Patch Commit:f7b3200e9f3dc9e2cbca966cb255c228453c792f
  • Release Notes:GitHub Release v0.31.1

Workarounds

  • Implement application-level validation to reject function calls with more than 128 parameters before invoking Wasmi
  • Deploy network-level controls to filter requests that may contain excessive parameter counts
  • Isolate Wasmi-based services using sandboxing or containerization to limit blast radius of potential exploitation
  • Enable memory protection features (stack canaries, ASLR) in the runtime environment to make exploitation more difficult
bash
# Update Wasmi dependency in Cargo.toml
# Change: wasmi = "0.31.0"
# To:     wasmi = "0.31.1"

# Then run cargo update to apply the fix
cargo update -p wasmi
cargo build --release

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechWasmi

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • GitHub Release v0.31.1
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-75jp-vq8x-h4cq
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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