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

CVE-2025-5915: Libarchive Buffer Overflow Vulnerability

CVE-2025-5915 is a heap buffer over-read flaw in Libarchive that occurs when filter block sizes exceed the LZSS window. This post covers the technical details, affected versions, security impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-5915 Overview

A heap buffer over-read vulnerability has been identified in the libarchive library, a widely-used open-source library for reading and writing streaming archives. This flaw occurs when the size of a filter block exceeds the Lempel-Ziv-Storer-Schieber (LZSS) window during archive decompression operations. When triggered, the library attempts to read beyond the allocated memory buffer boundaries, potentially resulting in application crashes, denial of service conditions, or the disclosure of sensitive information from adjacent memory regions.

Critical Impact

Exploitation of this vulnerability can lead to information disclosure from process memory or denial of service through application crashes when processing maliciously crafted archive files.

Affected Products

  • libarchive libarchive (all versions prior to v3.8.0)
  • Red Hat OpenShift Container Platform 4.0
  • Red Hat Enterprise Linux 6.0, 7.0, 8.0, 9.0, and 10.0

Discovery Timeline

  • 2025-06-09 - CVE-2025-5915 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-5915

Vulnerability Analysis

This vulnerability is classified as CWE-122: Heap-based Buffer Overflow, though the specific manifestation is a heap buffer over-read condition. The flaw resides in the LZSS decompression handling within libarchive. The LZSS algorithm uses a sliding window technique for data compression, and when processing malformed or specially crafted archive data, the filter block size can exceed the expected LZSS window boundaries.

When the library processes such malformed data, it fails to properly validate that the filter block size fits within the allocated buffer space. This allows read operations to access memory beyond the intended buffer boundaries, potentially exposing sensitive data that resides in adjacent heap memory allocations.

The local attack vector requires user interaction, typically by convincing a user to open or extract a maliciously crafted archive file. Applications that automatically process archive files from untrusted sources are particularly at risk.

Root Cause

The root cause is improper bounds checking in the LZSS decompression routine. When processing compressed archive data, the code does not adequately validate that the filter block size remains within the bounds of the allocated LZSS window buffer. This missing validation allows an attacker to craft archive data that causes the decompression routine to read beyond the allocated buffer boundaries.

Attack Vector

Exploitation requires local access and user interaction, typically through the following attack scenario:

  1. An attacker crafts a malicious archive file with specially constructed LZSS-compressed data
  2. The malicious archive contains filter block size values that exceed the LZSS window boundaries
  3. When a victim opens or extracts the archive using an application linked against a vulnerable libarchive version, the over-read occurs
  4. The attacker can potentially recover sensitive information from process memory or cause application crashes

The vulnerability can be triggered through any application that uses libarchive for archive extraction, including command-line tools like bsdtar and applications with archive handling capabilities built on libarchive.

Detection Methods for CVE-2025-5915

Indicators of Compromise

  • Unexpected crashes in applications using libarchive when processing archive files
  • Memory access violations or segmentation faults during archive extraction operations
  • Unusual archive files with abnormal compression metadata or malformed LZSS data structures
  • Core dumps indicating out-of-bounds memory access in libarchive decompression functions

Detection Strategies

  • Monitor for application crashes involving libarchive-linked processes during archive operations
  • Implement file integrity monitoring for archive files from untrusted sources
  • Deploy memory sanitizers (ASan, MSan) in development and testing environments to detect buffer over-reads
  • Use static analysis tools to identify potentially vulnerable code paths in applications using libarchive

Monitoring Recommendations

  • Enable crash reporting and analysis for applications that process archive files
  • Implement logging for archive extraction operations, especially those involving untrusted input
  • Monitor system logs for repeated segmentation faults in archive processing utilities
  • Track libarchive version inventory across systems to identify vulnerable installations

How to Mitigate CVE-2025-5915

Immediate Actions Required

  • Update libarchive to version v3.8.0 or later, which contains the fix for this vulnerability
  • Apply vendor-specific patches from Red Hat for affected Enterprise Linux and OpenShift Container Platform deployments
  • Restrict archive extraction from untrusted sources until patches are applied
  • Consider sandboxing archive extraction operations to limit potential impact

Patch Information

The vulnerability has been addressed in libarchive version v3.8.0. The fix is available through GitHub Pull Request #2599, which implements proper bounds checking for the LZSS filter block size. The patched release can be obtained from the libarchive v3.8.0 release page.

For Red Hat systems, refer to the Red Hat Security Advisory for CVE-2025-5915 for distribution-specific patch information. Additional technical details are available in Red Hat Bugzilla #2370865.

Workarounds

  • Avoid processing archive files from untrusted or unknown sources until systems are patched
  • Implement input validation to reject malformed archive files before processing
  • Run archive extraction processes in isolated environments with limited memory access capabilities
  • Use application-level sandboxing (e.g., seccomp, AppArmor, SELinux) to restrict the impact of potential exploitation
bash
# Check installed libarchive version on Linux systems
pkg-config --modversion libarchive

# For Red Hat/CentOS systems, check package version
rpm -qa | grep libarchive

# Update libarchive on Fedora/RHEL-based systems
sudo dnf update libarchive

# Update libarchive on Debian/Ubuntu-based systems
sudo apt update && sudo apt upgrade libarchive13

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

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • Red Hat Bug Report #2370865

  • GitHub Release v3.8.0
  • Vendor Resources
  • Red Hat CVE-2025-5915

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

  • CVE-2024-48958: Libarchive Buffer Overflow Vulnerability

  • CVE-2024-48957: 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