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

CVE-2026-32829: lz4_flex Information Disclosure Flaw

CVE-2026-32829 is an information disclosure vulnerability in lz4_flex that leaks sensitive data from uninitialized memory during decompression of invalid LZ4 data. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-32829 Overview

CVE-2026-32829 is an Out-of-Bounds Read vulnerability in lz4_flex, a pure Rust implementation of LZ4 compression/decompression. The vulnerability exists in versions 0.11.5 and below, as well as version 0.12.0, where decompressing invalid LZ4 data can leak sensitive information from uninitialized memory or from previous decompression operations. The library fails to properly validate offset values during LZ4 "match copy operations," allowing out-of-bounds reads from the output buffer.

Critical Impact

Crafted or malformed LZ4 input can expose sensitive data and secrets through out-of-bounds memory reads during decompression operations.

Affected Products

  • lz4_flex versions 0.11.5 and below
  • lz4_flex version 0.12.0
  • Applications using block-based API functions (decompress_into, decompress_into_with_dict) when safe-decode is disabled

Discovery Timeline

  • 2026-03-20 - CVE CVE-2026-32829 published to NVD
  • 2026-03-20 - Last updated in NVD database

Technical Details for CVE-2026-32829

Vulnerability Analysis

This vulnerability is classified under CWE-201 (Insertion of Sensitive Information Into Sent Data) and represents a memory information disclosure flaw in the LZ4 decompression implementation. The root issue lies in insufficient validation of offset parameters during LZ4 match copy operations.

LZ4 compression uses a technique where repeated sequences are encoded as references to previously decompressed data. The decompression routine must copy bytes from earlier positions in the output buffer based on offset values specified in the compressed stream. When these offset values are not properly validated against the current position and buffer boundaries, the decompressor can read memory contents that were never intended to be accessed.

The vulnerability specifically affects the block-based API functions including decompress_into and decompress_into_with_dict, particularly when the safe-decode feature is disabled. Frame-based APIs remain unaffected as they implement additional validation layers.

Root Cause

The root cause is improper input validation of offset values during LZ4 match copy operations in the decompression routine. When processing malformed or crafted LZ4 data, the library fails to verify that offset values point to valid, previously-written portions of the output buffer. This allows an attacker-controlled offset to reference uninitialized memory regions or data from previous decompression operations that remain in the buffer, resulting in information leakage.

Attack Vector

An attacker can exploit this vulnerability by supplying specially crafted LZ4 compressed data to an application using the vulnerable lz4_flex library. The attack occurs over the network as the malformed input can be delivered through any data channel that eventually reaches the decompression function. The attack does not require authentication or user interaction.

The exploitation mechanism involves crafting an LZ4 block with malicious offset values in match copy instructions. When the vulnerable decompression function processes this data, it reads beyond the intended boundaries of legitimately decompressed data, potentially exposing:

  • Uninitialized memory contents
  • Residual data from previous decompression operations
  • Adjacent memory regions containing sensitive application data

This information is then included in the decompression output, effectively exfiltrating memory contents to the attacker.

Detection Methods for CVE-2026-32829

Indicators of Compromise

  • Unusual or malformed LZ4 compressed data being processed by applications
  • Decompression output containing unexpected data patterns or anomalous content
  • Applications using lz4_flex versions 0.11.5 or below, or version 0.12.0
  • Error conditions or crashes during LZ4 decompression operations

Detection Strategies

  • Monitor application dependencies for lz4_flex versions affected by this vulnerability using cargo audit or similar Rust security tools
  • Implement input validation for compressed data before passing to decompression functions
  • Review application logs for decompression failures that may indicate exploitation attempts
  • Use the RustSec Advisory Database to identify affected crate versions in your projects

Monitoring Recommendations

  • Enable verbose logging for decompression operations to capture potential exploitation attempts
  • Monitor for unusual network traffic patterns involving compressed data streams
  • Implement anomaly detection for decompression output size versus input size ratios
  • Track memory access patterns in security-sensitive applications using lz4_flex

How to Mitigate CVE-2026-32829

Immediate Actions Required

  • Upgrade lz4_flex to version 0.11.6 or 0.12.1 immediately
  • Enable the safe-decode feature flag when using block-based API functions
  • Audit applications for use of affected API functions (decompress_into, decompress_into_with_dict)
  • Review the GitHub Security Advisory for additional guidance

Patch Information

The vulnerability has been fixed in lz4_flex versions 0.11.6 and 0.12.1. The fix implements proper validation of offset values during match copy operations to prevent out-of-bounds reads. The security patch is available via the GitHub commit.

To update your application, modify your Cargo.toml to require the patched versions and run cargo update to apply the fix.

Workarounds

  • Enable the safe-decode feature flag in your Cargo.toml configuration for lz4_flex
  • Use frame-based APIs instead of block-based APIs as frame APIs are not affected by this vulnerability
  • Implement input sanitization to reject potentially malicious LZ4 data before decompression
  • Consider switching to alternative LZ4 implementations temporarily until upgrade is possible
bash
# Update lz4_flex to patched version
cargo update -p lz4_flex

# Alternatively, specify minimum version in Cargo.toml
# For 0.11.x branch: lz4_flex = ">=0.11.6"
# For 0.12.x branch: lz4_flex = ">=0.12.1"

# Run security audit to verify fix
cargo audit

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 Flex

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.02%

  • 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 Changes

  • GitHub Security Advisory

  • RustSec Advisory RUSTSEC-2026-0041
  • 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