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-2024-26256

CVE-2024-26256: Libarchive RCE Vulnerability

CVE-2024-26256 is a remote code execution vulnerability in Libarchive that allows attackers to execute arbitrary code on affected systems. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-26256 Overview

CVE-2024-26256 is a remote code execution vulnerability affecting Libarchive, a widely-used multi-format archive and compression library. This vulnerability stems from a heap-based buffer overflow (CWE-122) and out-of-bounds write (CWE-787) condition that can be triggered when processing specially crafted archive files. Due to Libarchive's extensive integration into operating systems and applications—including Microsoft Windows 11 and Windows Server 2022—this vulnerability presents significant risk across enterprise environments.

Critical Impact

Successful exploitation allows attackers to execute arbitrary code in the context of the user running the vulnerable application. Given the local attack vector requiring user interaction, exploitation typically occurs through malicious archive files delivered via email, downloads, or compromised file shares.

Affected Products

  • Libarchive (versions prior to 3.7.4)
  • Microsoft Windows 11 22H2
  • Microsoft Windows 11 23H2
  • Microsoft Windows Server 2022 23H2
  • Fedora 39 and 40

Discovery Timeline

  • April 9, 2024 - CVE-2024-26256 published to NVD
  • January 8, 2025 - Last updated in NVD database

Technical Details for CVE-2024-26256

Vulnerability Analysis

This vulnerability exists within Libarchive's archive processing routines and involves improper memory handling that results in a heap-based buffer overflow. When the library parses certain malformed archive structures, it fails to properly validate input boundaries before writing data to allocated heap memory. This allows an attacker to corrupt adjacent heap structures, potentially overwriting function pointers or other critical data structures.

The vulnerability requires local access and user interaction—meaning an attacker must convince a user to open a malicious archive file. However, given that archive extraction is a common operation across desktop and server environments, the attack surface remains substantial. Applications that automatically preview or extract archive contents are particularly at risk.

Root Cause

The root cause is improper bounds checking in Libarchive's archive parsing code, classified as CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). When processing archive file headers or compressed data streams, the library allocates a fixed-size buffer but fails to enforce appropriate limits on the data written to it. An attacker can craft an archive with malformed size fields or nested structures that cause the parser to write beyond allocated boundaries.

Attack Vector

The attack requires local access with user interaction (AV:L/UI:R). A typical attack scenario involves:

  1. An attacker creates a specially crafted archive file (e.g., .tar, .zip, .7z) containing malformed structures designed to trigger the heap overflow
  2. The malicious archive is delivered to the victim via email attachment, malicious download, USB drive, or compromised file share
  3. The victim opens or extracts the archive using any application leveraging the vulnerable Libarchive library
  4. During archive processing, the heap overflow corrupts memory structures
  5. The attacker achieves arbitrary code execution with the privileges of the user or application processing the archive

The vulnerability does not require elevated privileges to exploit, making standard user accounts valid targets.

Detection Methods for CVE-2024-26256

Indicators of Compromise

  • Unexpected crashes or memory access violations in applications processing archive files
  • Unusual child processes spawned by archive extraction utilities or file managers
  • Memory corruption artifacts in crash dumps related to libarchive.dll or libarchive shared objects
  • Suspicious archive files with abnormal header structures or size fields

Detection Strategies

  • Monitor for abnormal behavior patterns when archive files are accessed or extracted, particularly unexpected process creation
  • Implement file integrity monitoring on systems to detect unauthorized modifications following archive extraction
  • Deploy endpoint detection rules that alert on archive extraction utilities spawning unexpected child processes
  • Review application crash reports for heap corruption patterns associated with archive processing

Monitoring Recommendations

  • Enable detailed logging for file system operations involving archive file extensions (.tar, .zip, .7z, .rar, .gz, .bz2)
  • Configure endpoint protection to scan archive contents before extraction
  • Monitor for unusual network activity following archive file extraction operations
  • Implement behavioral analysis to detect post-exploitation activities following potential compromise

How to Mitigate CVE-2024-26256

Immediate Actions Required

  • Update Libarchive to version 3.7.4 or later immediately across all affected systems
  • Apply Microsoft security updates for affected Windows 11 and Windows Server 2022 versions
  • Update Fedora 39 and 40 systems using the official package updates
  • Restrict archive processing to trusted sources until patches are applied
  • Educate users about risks of opening archives from unknown or untrusted sources

Patch Information

The Libarchive development team has released version 3.7.4 which addresses this vulnerability. The specific fix is available in the GitHub libarchive patch. Microsoft has also released patches for Windows components that bundle Libarchive, detailed in the Microsoft CVE-2024-26256 Update. Fedora users should apply updates documented in the Fedora Package Announcements.

Workarounds

  • Implement application allowlisting to restrict which applications can process archive files
  • Configure email gateways to quarantine or strip archive attachments pending review
  • Use sandboxed environments or virtual machines for extracting archives from untrusted sources
  • Disable automatic archive preview features in file managers and email clients until patching is complete
bash
# Verify Libarchive version on Linux systems
bsdtar --version
# Should report: bsdtar 3.7.4 or later

# Check for vulnerable Windows components via PowerShell
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" |
    Where-Object { $_.DisplayName -like "*libarchive*" } |
    Select-Object DisplayName, DisplayVersion

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLibarchive

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability40.56%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • CWE-787
  • Technical References
  • Microsoft CVE-2024-26256 Update

  • Openwall OSS Security Discussion

  • Openwall OSS Security Discussion

  • GitHub libarchive Release 3.7.4

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Openwall OSS Security Discussion
  • Vendor Resources
  • GitHub nixpkgs Commit

  • GitHub libarchive Patch
  • Related CVEs
  • CVE-2026-5121: libarchive RCE Vulnerability

  • CVE-2026-5745: libarchive NULL Pointer DoS Vulnerability

  • CVE-2026-4426: libarchive DOS Vulnerability

  • CVE-2026-4424: libarchive Information Disclosure Flaw
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