A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
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-2023-34455

CVE-2023-34455: Xerial Snappy-java DOS Vulnerability

CVE-2023-34455 is a denial of service flaw in Xerial Snappy-java caused by unchecked chunk length that triggers fatal errors. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2023-34455 Overview

CVE-2023-34455 is a denial-of-service vulnerability in snappy-java, a widely used compressor/decompressor library for Java maintained by Xerial. The flaw affects versions prior to 1.1.10.1 and resides in the hasNextChunk function of SnappyInputStream.java. The function reads a 4-byte chunk length from an attacker-controlled stream without validating its value. A crafted input can trigger a java.lang.NegativeArraySizeException or, worse, an unrecoverable java.lang.OutOfMemoryError. The issue is tracked under [CWE-770: Allocation of Resources Without Limits or Throttling].

Critical Impact

Remote attackers can crash any Java service that decompresses untrusted Snappy-framed data, producing a fatal JVM error and denial of service.

Affected Products

  • xerial:snappy-java versions prior to 1.1.10.1
  • Java applications and frameworks bundling vulnerable snappy-java (Kafka, Spark, Hadoop, Cassandra ecosystems)
  • NetApp products incorporating snappy-java (per NetApp Security Advisory ntap-20230818-0009)

Discovery Timeline

  • 2023-06-15 - CVE-2023-34455 published to the National Vulnerability Database
  • 2023-06-15 - Vendor advisory GHSA-qcwq-55hx-v3vh and patch commit 3bf67857 released in version 1.1.10.1
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-34455

Vulnerability Analysis

The vulnerability resides in the hasNextChunk method of SnappyInputStream.java. The method attempts to read four bytes from the underlying stream and interprets them directly as the length of the next compressed chunk. No bounds checks are applied to this value before it is used to allocate a backing byte array. When the internal compressed buffer is null, the code allocates new byte[chunkSize] using the raw attacker-supplied length.

Two distinct failure modes result. Supplying 0xFFFFFFFF (interpreted as -1 in Java's signed integer arithmetic) raises a java.lang.NegativeArraySizeException. Supplying a large positive value such as 0x7FFFFFFF triggers a java.lang.OutOfMemoryError, which is an unrecoverable JVM Error rather than a catchable Exception. The second outcome terminates the affected process or leaves the JVM in an inconsistent state.

Root Cause

The root cause is missing input validation on a length field parsed from untrusted data. The chunk length is consumed verbatim from the network or file stream and used directly as the size argument to a Java array allocation. The library does not enforce an upper bound, reject negative values, or compare the declared length against remaining stream bytes before allocating memory.

Attack Vector

The vulnerability is reachable over the network whenever a Java service decompresses Snappy-framed data from an untrusted source. No authentication or user interaction is required. Common exposure points include message brokers, RPC layers, data pipelines, and file-import functions that accept Snappy-compressed payloads. An attacker crafts a four-byte chunk-length header indicating a huge or negative size and submits it to the target. See the patched source in SnappyInputStream.java for the corrected length-validation logic.

// No verified exploit code is published for this CVE.
// The vulnerability is triggered by sending a Snappy-framed stream
// whose 4-byte chunk-length field decodes to 0xFFFFFFFF (-1) or a
// very large positive value such as 0x7FFFFFFF, causing the
// vulnerable allocation in SnappyInputStream.hasNextChunk().

Detection Methods for CVE-2023-34455

Indicators of Compromise

  • Java application logs containing java.lang.OutOfMemoryError or java.lang.NegativeArraySizeException originating from org.xerial.snappy.SnappyInputStream.hasNextChunk
  • Unexpected JVM termination or container restarts on services that ingest Snappy-compressed payloads
  • Repeated malformed Snappy frames originating from the same remote source

Detection Strategies

  • Inventory Java applications and dependencies for snappy-java versions below 1.1.10.1 using software composition analysis (SCA) tools or mvn dependency:tree and gradle dependencies
  • Hunt for vulnerable JARs on disk by hashing or by scanning manifests for Bundle-Version entries under the xerial:snappy-java coordinate
  • Correlate application crash events with inbound network flows carrying Snappy-framed data (Kafka, Hadoop RPC, Spark shuffle)

Monitoring Recommendations

  • Forward JVM error logs and crash dumps to a centralized logging or SIEM platform and alert on OutOfMemoryError patterns from snappy stack frames
  • Monitor service-restart counts and broker partition under-replication metrics that may indicate repeated DoS attempts
  • Track upstream advisories from GHSA-qcwq-55hx-v3vh and NetApp ntap-20230818-0009 for downstream product fixes

How to Mitigate CVE-2023-34455

Immediate Actions Required

  • Upgrade snappy-java to version 1.1.10.1 or later across all Java applications, services, and container images
  • Identify transitive dependencies pulling in vulnerable versions and override them in pom.xml or build.gradle
  • Restrict network exposure of services that decompress Snappy data from untrusted peers until patches are deployed
  • Apply vendor-supplied updates for downstream products such as those listed in NetApp ntap-20230818-0009

Patch Information

The fix is delivered in snappy-java1.1.10.1 via commit 3bf67857. The patch validates the parsed chunkSize before allocating the backing array, rejecting negative and unreasonably large values. Refer to GHSA-qcwq-55hx-v3vh for the authoritative vendor advisory.

Workarounds

  • Where immediate upgrade is impossible, place a size-limited reverse proxy or message-broker quota in front of services that accept Snappy-compressed input
  • Validate or strip Snappy frames at an application gateway before they reach the vulnerable decompressor
  • Configure JVM resource limits and container memory ceilings so a triggered OutOfMemoryError is contained and the workload is automatically restarted by the orchestrator
bash
# Maven: force the patched snappy-java version in dependencyManagement
# <dependencyManagement>
#   <dependencies>
#     <dependency>
#       <groupId>org.xerial.snappy</groupId>
#       <artifactId>snappy-java</artifactId>
#       <version>1.1.10.1</version>
#     </dependency>
#   </dependencies>
# </dependencyManagement>

# Gradle: pin the resolved version
# configurations.all {
#   resolutionStrategy.force 'org.xerial.snappy:snappy-java:1.1.10.1'
# }

# Verify the version actually loaded at runtime
mvn dependency:tree -Dincludes=org.xerial.snappy:snappy-java

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSnappy Java

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.61%

  • 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-770
  • Technical References
  • GitHub Snappy Java Source Code

  • GitHub Snappy Java Source Code

  • NetApp Security Advisory ntap-20230818-0009
  • Vendor Resources
  • GitHub Snappy Java Commit

  • GitHub Security Advisory GHSA-qcwq-55hx-v3vh
  • Related CVEs
  • CVE-2023-43642: Xerial Snappy-java DoS Vulnerability

  • CVE-2023-34454: Snappy-java Buffer Overflow Vulnerability

  • CVE-2023-34453: Snappy-java Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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