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

CVE-2024-3204: Blosc C-blosc2 Buffer Overflow Vulnerability

CVE-2024-3204 is a critical heap-based buffer overflow in Blosc C-blosc2 affecting versions up to 2.13.2. Attackers can exploit this remotely to compromise systems. This article covers technical details, impact, and mitigation.

Published: April 15, 2026

CVE-2024-3204 Overview

A critical heap-based buffer overflow vulnerability has been identified in c-blosc2, a high-performance data compression library. This vulnerability affects the ndlz4_decompress function located in /src/c-blosc2/plugins/codecs/ndlz/ndlz4x4.c. The flaw allows remote attackers to manipulate compressed data in a way that triggers a heap-based buffer overflow during decompression operations, potentially leading to arbitrary code execution or system compromise.

Critical Impact

This vulnerability can be exploited remotely without authentication to achieve code execution by triggering a heap-based buffer overflow during data decompression operations.

Affected Products

  • blosc c-blosc2 versions up to 2.13.2

Discovery Timeline

  • 2024-04-02 - CVE-2024-3204 published to NVD
  • 2025-04-25 - Last updated in NVD database

Technical Details for CVE-2024-3204

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow), a memory corruption flaw that occurs when data written to a heap-allocated buffer exceeds the buffer's allocated size. The vulnerable function ndlz4_decompress in the NDLZ4 codec plugin fails to properly validate the size of incoming compressed data before writing to the destination buffer during decompression.

The c-blosc2 library is widely used for high-performance compression in scientific computing, data analytics, and storage applications. When processing maliciously crafted compressed data, the decompression routine can be tricked into writing beyond the allocated heap buffer boundaries. This can corrupt adjacent heap metadata or other application data structures, potentially allowing an attacker to achieve arbitrary code execution.

The network-accessible attack vector makes this particularly dangerous for applications that accept and decompress user-supplied data from untrusted sources. No user interaction or authentication is required to exploit this vulnerability.

Root Cause

The root cause lies in insufficient bounds checking within the ndlz4_decompress function. When processing NDLZ4-compressed blocks, the function does not adequately validate that the decompressed output will fit within the allocated destination buffer. An attacker can craft a malicious compressed payload that specifies output sizes larger than the actual buffer allocation, causing the decompression routine to write past the buffer boundaries on the heap.

Attack Vector

The attack can be launched remotely by sending specially crafted compressed data to an application using vulnerable versions of c-blosc2. The attacker constructs a malicious NDLZ4-compressed payload where the encoded length fields indicate a larger decompressed size than the target buffer can accommodate.

When the application attempts to decompress this malicious data using the vulnerable ndlz4_decompress function, the heap buffer overflow occurs. Depending on the application's memory layout and the attacker's ability to control heap state, this can be leveraged for arbitrary code execution, denial of service, or information disclosure.

The vulnerability has been disclosed to the public and proof-of-concept materials have been shared. Technical details can be found in the VulDB entry for CVE-2024-3204 and supporting documentation in the shared research folder.

Detection Methods for CVE-2024-3204

Indicators of Compromise

  • Unexpected application crashes or segmentation faults during decompression operations
  • Anomalous memory access patterns in applications using c-blosc2 for data processing
  • Core dumps indicating heap corruption in the vicinity of NDLZ codec operations
  • Unusually large or malformed compressed data payloads received from external sources

Detection Strategies

  • Deploy memory corruption detection tools such as AddressSanitizer (ASan) in development and testing environments to identify heap overflow conditions
  • Implement input validation to reject compressed data from untrusted sources exceeding reasonable size thresholds
  • Monitor application logs for crashes originating from c-blosc2 decompression routines
  • Use Software Composition Analysis (SCA) tools to identify applications and containers running vulnerable c-blosc2 versions

Monitoring Recommendations

  • Enable heap corruption detection mechanisms in production monitoring where performance permits
  • Track version information of c-blosc2 libraries across the software inventory
  • Monitor network traffic for anomalously large or frequent compressed data transfers to applications using this library
  • Implement application-level logging around decompression operations to aid forensic analysis

How to Mitigate CVE-2024-3204

Immediate Actions Required

  • Upgrade c-blosc2 to version 2.14.3 or later, which contains the security fix for this vulnerability
  • Audit applications and dependencies to identify all instances of c-blosc2 usage
  • If immediate patching is not possible, restrict network access to applications that process compressed data using vulnerable versions
  • Review and validate the source of any compressed data processed by affected applications

Patch Information

The vulnerability has been addressed in c-blosc2 version 2.14.3. The fix implements proper bounds checking in the ndlz4_decompress function to prevent heap buffer overflow conditions. Organizations should upgrade to this version or later to remediate the vulnerability.

The patched release is available from the GitHub c-blosc2 Release v2.14.3.

Workarounds

  • Implement strict input validation and size limits on compressed data before passing to c-blosc2 decompression functions
  • Sandbox or isolate applications that must process untrusted compressed data using vulnerable library versions
  • Deploy Web Application Firewalls (WAF) or network-based controls to filter potentially malicious compressed payloads
  • Consider using alternative compression codecs within c-blosc2 that are not affected until the upgrade can be completed
bash
# Upgrade c-blosc2 to patched version
# For source installations:
git clone https://github.com/Blosc/c-blosc2.git
cd c-blosc2
git checkout v2.14.3
mkdir build && cd build
cmake ..
make && sudo make install

# For conda installations:
conda update c-blosc2

# Verify installed version
blosc2_info --version

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechBlosc

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • Google Drive Shared Folder

  • GitHub c-blosc2 Release v2.14.3

  • VulDB #259051 (CTIID)

  • VulDB #259051

  • VulDB Submission #304557
  • Related CVEs
  • CVE-2024-3203: Blosc C-blosc2 Buffer Overflow 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