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-47072

CVE-2024-47072: XStream BinaryStreamDriver DoS Vulnerability

CVE-2024-47072 is a denial of service flaw in XStream's BinaryStreamDriver that allows attackers to trigger stack overflow errors. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-47072 Overview

CVE-2024-47072 is a stack overflow vulnerability in XStream, a popular Java library for serializing objects to XML and back. When XStream is configured to use the BinaryStreamDriver, a remote attacker can manipulate the processed input stream to trigger a stack overflow error, resulting in a denial of service condition. The vulnerability allows attackers to crash applications by sending specially crafted binary input streams.

Critical Impact

Remote attackers can terminate applications using XStream's BinaryStreamDriver through stack overflow errors, causing denial of service without requiring authentication or user interaction.

Affected Products

  • XStream versions prior to 1.4.21
  • Applications using XStream with BinaryStreamDriver configuration
  • Java applications dependent on vulnerable XStream serialization

Discovery Timeline

  • 2024-11-08 - CVE CVE-2024-47072 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2024-47072

Vulnerability Analysis

This vulnerability is classified under CWE-121 (Stack-based Buffer Overflow). The flaw exists in XStream's BinaryStreamDriver component, which handles binary serialization and deserialization of Java objects. When processing maliciously crafted binary input streams, the library can enter a recursive processing state that exhausts the call stack, leading to a StackOverflowError. This condition is exploitable remotely over the network without requiring any authentication or user interaction, making it accessible to unauthenticated attackers.

The vulnerability specifically affects the binary stream parsing logic where recursive object graph traversal can be manipulated to exceed the JVM's stack depth limits. An attacker can craft a binary payload with deeply nested or circular structures that exploit the deserialization process.

Root Cause

The root cause lies in the BinaryStreamDriver's handling of nested object structures during deserialization. The binary stream format allows specification of object graphs that, when maliciously constructed, cause the parsing logic to recurse indefinitely. Prior to version 1.4.21, XStream lacked proper depth validation and manipulation detection in the binary input stream processing, allowing attackers to craft payloads that trigger unbounded recursion during object reconstruction.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by sending a specially crafted binary stream to any application endpoint that deserializes user-controlled input using XStream's BinaryStreamDriver. The attack results in the target JVM throwing a StackOverflowError, causing the application thread (or entire application) to terminate abnormally.

The attack vector involves crafting a binary stream with manipulation patterns designed to trigger excessive recursion in the deserialization process. Since the BinaryStreamDriver processes binary data directly, traditional XML-based sanitization approaches are ineffective against this attack.

Detection Methods for CVE-2024-47072

Indicators of Compromise

  • Repeated StackOverflowError exceptions in application logs originating from XStream deserialization
  • Abnormal binary stream input patterns with unusually deep nesting structures
  • Application crashes or thread terminations coinciding with deserialization operations
  • Increased frequency of JVM restarts or service unavailability

Detection Strategies

  • Monitor application logs for StackOverflowError exceptions with stack traces involving com.thoughtworks.xstream packages
  • Implement input size and complexity validation before passing data to XStream deserialization
  • Deploy application performance monitoring to detect unusual memory or stack usage patterns
  • Use Web Application Firewalls (WAF) to inspect and limit payload sizes for endpoints accepting binary data

Monitoring Recommendations

  • Configure alerting for JVM crashes or abnormal terminations in production environments
  • Establish baseline metrics for deserialization operation timing and resource consumption
  • Monitor network traffic for anomalous binary payloads targeting XStream-enabled endpoints
  • Review dependency scanning results to identify applications using vulnerable XStream versions

How to Mitigate CVE-2024-47072

Immediate Actions Required

  • Upgrade XStream to version 1.4.21 or later immediately
  • Identify all applications in your environment using XStream with BinaryStreamDriver configuration
  • Implement input validation and size limits on endpoints accepting binary serialized data
  • Consider temporarily disabling BinaryStreamDriver in favor of other serialization drivers until patching is complete

Patch Information

XStream version 1.4.21 addresses this vulnerability by implementing detection mechanisms for binary input stream manipulation that would cause stack overflow conditions. Instead of allowing unbounded recursion, the patched version raises an InputManipulationException when suspicious patterns are detected. The fix is documented in the GitHub Commit Details. Additional information is available in the GitHub Security Advisory and the X-Stream CVE Analysis.

Workarounds

  • If upgrading is not immediately possible, wrap XStream deserialization calls with try-catch blocks that handle StackOverflowError to prevent complete application termination
  • Implement rate limiting on endpoints that process binary serialized data
  • Use network-level controls to restrict access to vulnerable endpoints
  • Consider switching to alternative serialization drivers (XML-based) that are not affected by this specific vulnerability

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechXstream

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.36%

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

  • GitHub Security Advisory

  • X-Stream CVE Analysis

  • Debian LTS Announcement
  • Related CVEs
  • CVE-2022-40152: XStream XML Parser DOS Vulnerability

  • CVE-2021-29505: XStream Java Library RCE Vulnerability

  • CVE-2021-21347: NetApp OnCommand Insight RCE Vulnerability

  • CVE-2020-26217: XStream RCE 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