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-2025-66566

CVE-2025-66566: LZ4 Java Information Disclosure Flaw

CVE-2025-66566 is an information disclosure vulnerability in yawkat LZ4 Java that allows attackers to read previous buffer contents through crafted compressed input. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2025-66566 Overview

CVE-2025-66566 is an information disclosure vulnerability in yawkat LZ4 Java, a library that provides LZ4 compression for Java applications. The vulnerability stems from insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java version 1.10.0 and earlier. This flaw allows remote attackers to read previous buffer contents via crafted compressed input, potentially leading to the disclosure of sensitive data in applications where the output buffer is reused without being cleared.

Critical Impact

Remote attackers can exploit this vulnerability to read sensitive data from previous buffer contents, potentially exposing confidential information processed by the application.

Affected Products

  • yawkat lz4-java versions 1.10.0 and earlier (Java-based decompressor implementations)
  • Applications using lz4-java that reuse output buffers without clearing them
  • Note: JNI-based implementations are not affected by this vulnerability

Discovery Timeline

  • December 5, 2025 - CVE-2025-66566 published to NVD
  • December 8, 2025 - Last updated in NVD database

Technical Details for CVE-2025-66566

Vulnerability Analysis

This vulnerability is classified under CWE-201 (Insertion of Sensitive Information Into Sent Data). The core issue lies in how the Java-based decompressor implementations handle output buffers during the decompression process. When processing LZ4-compressed data, the decompressor fails to properly clear or initialize the output buffer before writing decompressed content.

In scenarios where applications reuse buffers for performance optimization—a common practice in high-throughput data processing systems—residual data from previous operations may remain in portions of the buffer that aren't overwritten by the current decompression operation. An attacker who can supply crafted compressed input may be able to cause the decompressor to return a buffer containing this stale data, effectively leaking information from previous operations.

The network-based attack vector means this vulnerability can be exploited remotely without requiring authentication or user interaction, though successful exploitation requires specific conditions in the target application's buffer handling patterns.

Root Cause

The root cause of CVE-2025-66566 is the failure to properly sanitize output buffers in the Java-based LZ4 decompressor implementations. When decompression occurs, the output buffer should either be fully overwritten or explicitly cleared before use. The vulnerable code path does not ensure complete buffer clearing, leaving remnants of previous data accessible when:

  1. The output buffer is allocated once and reused across multiple decompression operations
  2. The decompressed data does not fully occupy the entire buffer space
  3. An attacker crafts input that results in partial buffer utilization

This represents a classic information leakage pattern where memory is not properly sanitized between operations.

Attack Vector

The attack vector for this vulnerability is network-based, requiring the attacker to supply maliciously crafted LZ4-compressed data to a vulnerable application. The attack mechanism involves:

  1. Reconnaissance: The attacker identifies an application using lz4-java versions 1.10.0 or earlier with Java-based decompressors
  2. Crafted Input: The attacker creates specially crafted compressed data designed to trigger partial buffer utilization during decompression
  3. Data Extraction: When the application processes the malicious input and returns or processes the output buffer, residual data from previous operations may be accessible
  4. Information Disclosure: Sensitive data previously processed through the same buffer (credentials, personal information, cryptographic material) may be exposed

The vulnerability specifically affects Java-based decompressor implementations. JNI-based implementations use different buffer handling mechanisms and are not susceptible to this attack.

Detection Methods for CVE-2025-66566

Indicators of Compromise

  • Unusual or malformed LZ4-compressed data received from external sources
  • Anomalous decompression operations where output size doesn't match expected patterns
  • Detection of sensitive data appearing in unexpected locations within application output
  • Log entries indicating decompression errors or unusual buffer utilization patterns

Detection Strategies

  • Implement dependency scanning to identify lz4-java versions 1.10.0 and earlier in your codebase
  • Monitor for applications using lz4-java with Java-based decompressor classes rather than JNI implementations
  • Conduct code reviews to identify buffer reuse patterns in applications using lz4-java
  • Deploy runtime application self-protection (RASP) to detect anomalous decompression behavior

Monitoring Recommendations

  • Enable detailed logging for all compression/decompression operations in affected applications
  • Monitor network traffic for potentially malicious LZ4-compressed payloads
  • Implement alerts for unusual data patterns in decompression output
  • Track dependency versions across your software inventory to quickly identify vulnerable deployments

How to Mitigate CVE-2025-66566

Immediate Actions Required

  • Upgrade lz4-java to version 1.10.1 or later immediately
  • Audit applications using lz4-java to identify buffer reuse patterns
  • Consider switching to JNI-based decompressor implementations as an interim measure (these are not affected)
  • Implement explicit buffer clearing before reuse as a defense-in-depth measure

Patch Information

The vulnerability has been fixed in lz4-java version 1.10.1. The fix ensures proper clearing of output buffers in Java-based decompressor implementations, preventing information leakage through buffer reuse. Technical details of the fix are available in the GitHub commit, and the full security advisory is documented in the GitHub Security Advisory GHSA-cmp6-m4wj-q63q.

Organizations should update their Maven or Gradle dependencies to reference version 1.10.1 or later:

xml
<!-- Maven dependency update -->
<dependency>
    <groupId>io.github.yawkat</groupId>
    <artifactId>lz4-java</artifactId>
    <version>1.10.1</version>
</dependency>

Workarounds

  • Explicitly clear output buffers using Arrays.fill() before each decompression operation
  • Allocate new buffers for each decompression operation instead of reusing existing buffers
  • Switch to JNI-based decompressor implementations which are not affected by this vulnerability
  • Implement input validation to reject malformed or suspicious LZ4 compressed data at application boundaries

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLz4 Java

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-201
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync 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