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

CVE-2025-5914: Libarchive Buffer Overflow Vulnerability

CVE-2025-5914 is a buffer overflow flaw in Libarchive that triggers an integer overflow leading to a double-free condition, enabling arbitrary code execution. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-5914 Overview

A critical vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition. The vulnerability affects the RAR archive format processing functionality, making any application that uses libarchive to handle RAR files potentially vulnerable.

Critical Impact

Remote attackers can exploit this double-free vulnerability via maliciously crafted RAR archives to achieve arbitrary code execution or crash affected systems, potentially compromising data confidentiality, integrity, and availability.

Affected Products

  • libarchive libarchive (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

  • June 9, 2025 - CVE-2025-5914 published to NVD
  • January 15, 2026 - Last updated in NVD database

Technical Details for CVE-2025-5914

Vulnerability Analysis

The vulnerability exists in the archive_read_format_rar_seek_data() function within the libarchive library. When processing RAR archive files, an integer overflow condition can occur during seek operations, which subsequently triggers a double-free memory corruption issue. Double-free vulnerabilities occur when the same memory location is freed twice, corrupting the memory allocator's internal data structures. This corruption can be exploited by attackers to achieve arbitrary code execution by manipulating the heap state to gain control over program execution flow.

The flaw is classified under CWE-415 (Double Free), which represents a dangerous memory safety issue. Applications that process untrusted RAR archives using vulnerable versions of libarchive are at risk. This includes file managers, backup utilities, container platforms, and any other software that relies on libarchive for archive extraction capabilities.

Root Cause

The root cause stems from improper integer handling in the RAR format seek data processing logic. When large or specially crafted offset values are processed, an integer overflow can occur, leading to incorrect memory management calculations. This causes the library to free the same memory block twice, resulting in heap corruption. The vulnerability is triggered during the decompression or reading of malformed RAR archive files where the seek position data has been manipulated to cause the overflow condition.

Attack Vector

An attacker can exploit this vulnerability by crafting a malicious RAR archive file designed to trigger the integer overflow condition. When a victim application using a vulnerable version of libarchive attempts to process this archive, the double-free condition occurs. The attack can be delivered through various vectors:

  • Email attachments containing malicious RAR archives
  • Downloaded files from untrusted sources
  • Archives processed by automated systems (backup software, container builds)
  • Web applications that accept and process user-uploaded archive files

The vulnerability requires no authentication and can be exploited remotely over the network by delivering the malicious archive to the target system.

Detection Methods for CVE-2025-5914

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using libarchive when processing RAR files
  • Memory corruption errors or heap-related crashes in system logs
  • Unusual process behavior or spawning of child processes after archive extraction operations
  • Core dumps indicating double-free or heap corruption in libarchive-related processes

Detection Strategies

  • Monitor for abnormal process termination signals (SIGABRT, SIGSEGV) in applications that utilize libarchive
  • Deploy memory safety tools such as AddressSanitizer (ASan) in development and testing environments to detect double-free conditions
  • Implement file integrity monitoring on systems processing external archive files
  • Analyze application logs for repeated failures when handling RAR archive files from external sources

Monitoring Recommendations

  • Enable detailed logging for archive processing operations to track file sources and extraction activities
  • Implement network-level monitoring to detect large volumes of RAR file downloads or email attachments
  • Configure endpoint detection solutions to alert on exploitation indicators such as unexpected memory access patterns
  • Establish baseline behavior for applications using libarchive and alert on deviations

How to Mitigate CVE-2025-5914

Immediate Actions Required

  • Update libarchive to version v3.8.0 or later, which contains the security fix
  • Apply vendor-specific patches from Red Hat for affected Enterprise Linux and OpenShift Container Platform deployments
  • Temporarily restrict or isolate systems that process untrusted RAR archives until patches are applied
  • Review and audit applications in your environment that depend on libarchive for archive processing

Patch Information

The vulnerability has been addressed in libarchive version v3.8.0. The fix is available through GitHub Pull Request #2598, and the patched release can be obtained from GitHub Release v3.8.0.

Red Hat has released multiple security advisories addressing this vulnerability across their product lines. Enterprise Linux users should apply the appropriate updates based on their version:

  • Red Hat CVE Report for CVE-2025-5914
  • Red Hat Bugzilla Report #2370861

Workarounds

  • Disable or restrict RAR archive processing in applications where it is not strictly required
  • Implement input validation to reject suspicious or oversized RAR archive files before processing
  • Deploy application sandboxing or containerization to limit the impact of potential exploitation
  • Use network segmentation to isolate systems that must process untrusted archives from critical infrastructure
bash
# Check installed libarchive version
pkg-config --modversion libarchive

# For RHEL/CentOS systems, update libarchive package
sudo yum update libarchive

# For Debian/Ubuntu systems
sudo apt update && sudo apt upgrade libarchive13

# Verify the update was applied
libarchive --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

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.08%

  • 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-415
  • Technical References
  • Red Hat Security Advisory RHSA-2025:14130

  • Red Hat Security Advisory RHSA-2025:14135

  • Red Hat Security Advisory RHSA-2025:14137

  • Red Hat Security Advisory RHSA-2025:14141

  • Red Hat Security Advisory RHSA-2025:14142

  • Red Hat Security Advisory RHSA-2025:14525

  • Red Hat Security Advisory RHSA-2025:14528

  • Red Hat Security Advisory RHSA-2025:14594

  • Red Hat Security Advisory RHSA-2025:14644

  • Red Hat Security Advisory RHSA-2025:14808

  • Red Hat Security Advisory RHSA-2025:14810

  • Red Hat Security Advisory RHSA-2025:14828

  • Red Hat Security Advisory RHSA-2025:15024

  • Red Hat Security Advisory RHSA-2025:15397

  • Red Hat Security Advisory RHSA-2025:15709

  • Red Hat Security Advisory RHSA-2025:15827

  • Red Hat Security Advisory RHSA-2025:15828

  • Red Hat Security Advisory RHSA-2025:16524

  • Red Hat Security Advisory RHSA-2025:18217

  • Red Hat Security Advisory RHSA-2025:18218

  • Red Hat Security Advisory RHSA-2025:18219

  • Red Hat Security Advisory RHSA-2025:19041

  • Red Hat Security Advisory RHSA-2025:19046

  • Red Hat Security Advisory RHSA-2025:21885

  • Red Hat Security Advisory RHSA-2025:21913

  • Red Hat Security Advisory RHSA-2026:0326

  • Red Hat CVE Report CVE-2025-5914

  • Red Hat Bugzilla Report #2370861

  • GitHub Release v3.8.0
  • Vendor Resources
  • GitHub Pull Request #2598
  • Related CVEs
  • CVE-2025-5915: 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