The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-29795

CVE-2026-29795: Stellar XDR Buffer Overflow Vulnerability

CVE-2026-29795 is a buffer overflow vulnerability in the stellar-xdr library where StringM validation fails to enforce maximum length constraints. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-29795 Overview

CVE-2026-29795 is an input validation vulnerability in the stellar-xdr library, a Rust library and CLI tool used for working with Stellar XDR (External Data Representation) data types. The vulnerability exists in the StringM::from_str implementation, which fails to properly validate that input string lengths conform to the declared maximum constraint. This allows attackers to create StringM instances that violate their length invariants, potentially leading to downstream integrity issues in serialization, validation, and other processing logic.

Critical Impact

Applications relying on the StringM type's maximum length constraint for data validation may process oversized strings, potentially corrupting serialized data or bypassing security checks that assume the length invariant holds.

Affected Products

  • stellar-xdr library versions prior to 25.0.1
  • rs-stellar-xdr Rust crate (all versions before 25.0.1)
  • Applications using StringM::from_str or str::parse for string validation

Discovery Timeline

  • 2026-03-06 - CVE CVE-2026-29795 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-29795

Vulnerability Analysis

The vulnerability stems from improper input validation in the StringM::from_str trait implementation within the stellar-xdr library. The StringM<N> type is designed to be a bounded string type where N represents the maximum allowable length in bytes. However, the from_str implementation does not properly enforce this constraint.

When calling StringM::<N>::from_str(s) where s contains more than N bytes, the function incorrectly returns an Ok result instead of the expected Err(Error::LengthExceedsMax). This creates a StringM instance that violates its fundamental length invariant—the core guarantee that any StringM<N> instance will contain at most N bytes.

This class of vulnerability is categorized under CWE-770 (Allocation of Resources Without Limits or Throttling), as the implementation fails to enforce the expected resource constraints on string allocation.

Root Cause

The root cause is a missing length validation check in the FromStr trait implementation for the StringM type. The Rust trait FromStr is commonly used via the str::parse() method, making this a widely-used code path for constructing StringM values from string input.

The implementation accepts strings of any length and successfully constructs StringM instances without comparing the input length against the type's declared maximum (MAX). This oversight allows oversized data to bypass the type system's intended safety guarantees.

Attack Vector

The attack vector is local, requiring an attacker to provide crafted string input to an application that uses the vulnerable StringM::from_str method. Exploitation scenarios include:

An attacker could provide an oversized string to any application endpoint that parses user input into StringM types. The oversized StringM value would then propagate through the application's data flow. Downstream components that assume the length invariant holds may exhibit unexpected behavior when processing the oversized data, including:

  • Serialization routines producing malformed XDR data
  • Validation logic incorrectly passing oversized values
  • Buffer size calculations becoming inaccurate
  • Data integrity checks failing on peer systems that properly validate length constraints

For technical implementation details, refer to the GitHub Security Advisory GHSA-x57h-xx53-v53w and GitHub Issue #499.

Detection Methods for CVE-2026-29795

Indicators of Compromise

  • Applications processing XDR data with string fields exceeding their declared maximum lengths
  • Serialization errors or data corruption in Stellar XDR payloads
  • Validation failures when exchanging data with systems using patched versions
  • Unexpected data truncation or buffer-related issues in downstream processing

Detection Strategies

  • Audit application dependencies for stellar-xdr versions prior to 25.0.1
  • Review application logs for XDR serialization or deserialization errors
  • Implement integrity checks comparing string field lengths against XDR schema constraints
  • Use Rust dependency scanning tools (e.g., cargo audit) to identify vulnerable versions

Monitoring Recommendations

  • Monitor for anomalous string lengths in XDR data flows
  • Implement logging for StringM construction failures after upgrading to catch previously-allowed oversized inputs
  • Track data validation errors that may indicate exploitation attempts
  • Review application telemetry for unexpected data integrity issues

How to Mitigate CVE-2026-29795

Immediate Actions Required

  • Upgrade stellar-xdr to version 25.0.1 or later immediately
  • Audit codebases for usage of StringM::from_str or str::parse with StringM types
  • Review any data persisted using the vulnerable version for potential integrity issues
  • Implement additional input validation as a defense-in-depth measure

Patch Information

The vulnerability has been patched in stellar-xdr version 25.0.1. The fix adds proper length validation to the from_str implementation, ensuring that strings exceeding the declared maximum length correctly return Err(Error::LengthExceedsMax).

The patch is available via the GitHub Commit Update. Users should update their Cargo.toml dependency to require version 25.0.1 or higher.

For additional context on the fix implementation, see GitHub Pull Request #500.

Workarounds

  • Implement manual length validation before calling StringM::from_str to reject oversized inputs
  • Use alternative construction methods that include explicit length checking
  • Add application-level input validation to enforce string length constraints before XDR type construction
  • Consider wrapper functions that validate input length against the expected maximum before delegating to from_str
bash
# Update stellar-xdr dependency in Cargo.toml
# Change the version requirement to:
stellar-xdr = ">=25.0.1"

# Then run cargo update to fetch the patched version
cargo update -p stellar-xdr

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechStellar Xdr

  • SeverityMEDIUM

  • CVSS Score4.0

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Commit Update

  • GitHub Issue #499

  • GitHub Pull Request #500

  • GitHub Security Advisory GHSA-x57h-xx53-v53w
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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