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

CVE-2024-48957: Libarchive Buffer Overflow Vulnerability

CVE-2024-48957 is a buffer overflow vulnerability in Libarchive that allows out-of-bounds access via crafted archive files. This article covers the technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-48957 Overview

CVE-2024-48957 is an out-of-bounds read vulnerability in the execute_filter_audio function within archive_read_support_format_rar.c in libarchive versions before 3.7.5. The vulnerability occurs when processing crafted RAR archive files, where the source pointer (src) can move beyond the destination buffer (dst), resulting in unauthorized memory access.

Critical Impact

Successful exploitation of this vulnerability could allow an attacker to read sensitive information from memory or cause application crashes through crafted RAR archive files, potentially leading to information disclosure or denial of service conditions.

Affected Products

  • libarchive versions prior to 3.7.5
  • Applications and systems utilizing vulnerable libarchive versions for RAR archive processing
  • Linux distributions and package managers incorporating affected libarchive versions

Discovery Timeline

  • 2024-10-10 - CVE-2024-48957 published to NVD
  • 2025-09-29 - Last updated in NVD database

Technical Details for CVE-2024-48957

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read) and affects the audio filter execution routine within libarchive's RAR format support. The flaw exists in the execute_filter_audio function, which is responsible for processing audio data within RAR archives. During the filtering operation, the source pointer can exceed the boundaries of the destination buffer, leading to memory access beyond allocated regions.

The vulnerability requires local access with user interaction, meaning an attacker must convince a user to open or process a maliciously crafted RAR archive file. Upon successful exploitation, the vulnerability could compromise confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability lies in insufficient boundary checking within the execute_filter_audio function. When processing audio filter operations in RAR archives, the code fails to properly validate that the source pointer remains within the bounds of the destination buffer. This allows the src pointer to advance past the legitimate memory region defined by dst, resulting in out-of-bounds memory reads.

The issue stems from the complex pointer arithmetic involved in the audio decompression algorithm, where the relationship between source and destination buffers is not adequately constrained during iterative processing loops.

Attack Vector

The attack vector for CVE-2024-48957 requires local access to the target system. An attacker must craft a malicious RAR archive file containing specially constructed audio filter data that triggers the out-of-bounds condition. The attack scenario typically involves:

  1. The attacker creates a RAR archive with malformed audio filter parameters designed to manipulate pointer calculations
  2. The victim downloads or receives the crafted archive file
  3. When the victim attempts to extract or preview the archive using an application that relies on libarchive, the vulnerable execute_filter_audio function is invoked
  4. The malicious data causes the source pointer to move beyond the destination buffer boundaries, resulting in out-of-bounds memory access

The vulnerability mechanism involves improper pointer boundary validation in the RAR audio filter processing routine. When libarchive processes a specially crafted RAR archive, the execute_filter_audio function iterates through audio data using source and destination pointers. Under normal conditions, these pointers should remain within their allocated buffer regions. However, malicious archive data can manipulate the filter parameters such that the source pointer (src) advances beyond the destination buffer (dst), allowing reads from unintended memory locations. For complete technical details, refer to the CVE-2024-48957 Report.

Detection Methods for CVE-2024-48957

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using libarchive when processing RAR archives
  • Memory access violation errors in system logs related to archive extraction operations
  • Anomalous RAR archive files with unusual audio filter configurations in headers

Detection Strategies

  • Implement version checking for libarchive installations to identify versions prior to 3.7.5
  • Deploy file integrity monitoring on critical systems to detect unexpected libarchive binary modifications
  • Use application security testing tools to scan for the presence of vulnerable libarchive versions in your software supply chain
  • Monitor for unusual RAR file processing patterns or repeated extraction failures

Monitoring Recommendations

  • Enable verbose logging for applications that utilize libarchive for archive processing
  • Implement runtime application self-protection (RASP) to detect out-of-bounds memory access attempts
  • Deploy endpoint detection and response (EDR) solutions configured to monitor for exploitation attempts against memory corruption vulnerabilities
  • Establish baseline behavior for archive processing operations to identify anomalous activity

How to Mitigate CVE-2024-48957

Immediate Actions Required

  • Update libarchive to version 3.7.5 or later immediately on all affected systems
  • Audit applications and dependencies for libarchive usage and prioritize patching
  • Implement input validation controls to filter potentially malicious RAR archives before processing
  • Consider temporarily disabling RAR archive processing capabilities if immediate patching is not feasible

Patch Information

The vulnerability has been addressed in libarchive version 3.7.5. The fix involves adding proper boundary checks to ensure the source pointer cannot exceed the destination buffer limits during audio filter execution. Organizations should upgrade to version 3.7.5 or later to remediate this vulnerability.

For detailed information about the changes, review the GitHub Release Notes comparing v3.7.4 to v3.7.5 and the GitHub Pull Request #2149 that contains the security fix.

Workarounds

  • Restrict processing of RAR archives from untrusted sources until patching is complete
  • Implement file type validation and sandboxing for archive extraction operations
  • Use alternative archive processing libraries that are not affected by this vulnerability for handling untrusted files
  • Deploy application-level controls to quarantine and scan RAR archives before allowing extraction
bash
# Check libarchive version and update on Debian/Ubuntu systems
dpkg -l | grep libarchive
sudo apt update && sudo apt install --only-upgrade libarchive13

# Check libarchive version and update on RHEL/CentOS systems
rpm -qa | grep libarchive
sudo yum update libarchive

# Verify updated version
bsdtar --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/TechLibarchive

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.09%

  • 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-125
  • Technical References
  • CVE-2024-48957 Report
  • Vendor Resources
  • GitHub Release Notes

  • GitHub Pull Request
  • Related CVEs
  • CVE-2025-5914: Libarchive Buffer Overflow Vulnerability

  • CVE-2025-5915: Libarchive Buffer Overflow Vulnerability

  • CVE-2024-48958: Libarchive Buffer Overflow Vulnerability

  • CVE-2024-37407: Libarchive Buffer Overflow Vulnerability
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