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

CVE-2025-5916: Libarchive Integer Overflow DoS Vulnerability

CVE-2025-5916 is an integer overflow denial-of-service flaw in Libarchive triggered by malicious WARC files. Attackers can exploit this to cause crashes or memory corruption. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-5916 Overview

An integer overflow vulnerability has been identified in the libarchive library affecting the processing of Web Archive (WARC) files. This flaw occurs when libarchive handles a maliciously crafted WARC file that claims to have more than INT64_MAX - 4 content bytes. An attacker could exploit this vulnerability by providing a specially crafted WARC archive to applications that utilize libarchive for archive processing, potentially leading to memory corruption, unpredictable program behavior, or denial-of-service conditions.

Critical Impact

Applications processing untrusted WARC archives using vulnerable libarchive versions may experience memory corruption or denial-of-service when encountering maliciously crafted content length values.

Affected Products

  • libarchive versions prior to 3.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-5916 published to NVD
  • December 12, 2025 - Last updated in NVD database

Technical Details for CVE-2025-5916

Vulnerability Analysis

This vulnerability is classified as an Integer Overflow (CWE-190) within the WARC file format handler in libarchive. The WARC format is commonly used for web archiving and stores web content along with metadata. When libarchive parses a WARC file, it reads the declared content length from the archive header. If this value is maliciously set to exceed INT64_MAX - 4, the subsequent arithmetic operations on this value can overflow, wrapping around to a small or negative number.

The practical consequences of this integer overflow include potential buffer allocation miscalculations, leading to undersized memory allocations followed by out-of-bounds memory operations. Applications that process untrusted WARC archives are particularly vulnerable, as an attacker can craft an archive specifically designed to trigger this condition.

Root Cause

The root cause lies in insufficient bounds checking when handling the content-length field in WARC archive headers. The libarchive library failed to properly validate that the declared content size would not cause integer overflow when used in subsequent size calculations. This allows values approaching or exceeding INT64_MAX to trigger arithmetic overflow during internal processing operations.

Attack Vector

This vulnerability requires local access and user interaction to exploit. An attacker must craft a malicious WARC archive file and convince a user or automated system to process it using a vulnerable version of libarchive. The attack vector is local, meaning the attacker needs to deliver the malicious file to a system where it will be processed by an application using the vulnerable library.

Exploitation scenarios include:

  • Delivering the malicious WARC file via email attachment
  • Hosting the file on a web server for download
  • Including it in archive repositories or backup systems
  • Targeting automated archive processing pipelines

The vulnerability does not provide arbitrary code execution on its own but can corrupt memory states and cause denial-of-service conditions in affected applications.

Detection Methods for CVE-2025-5916

Indicators of Compromise

  • Unusual crashes or segmentation faults in applications processing WARC files
  • Memory-related errors in applications using libarchive for archive extraction
  • Presence of WARC files with abnormally large declared content-length values exceeding normal file size limits
  • Application logs showing unexpected behavior when processing web archive content

Detection Strategies

  • Monitor for application crashes related to libarchive functions, particularly during WARC file processing
  • Implement file inspection rules to flag WARC archives with suspicious content-length declarations
  • Deploy endpoint detection to identify attempts to deliver oversized or malformed archive files
  • Use SentinelOne's behavioral AI to detect anomalous memory access patterns during archive processing operations

Monitoring Recommendations

  • Enable crash reporting and memory error logging for applications that process archive files
  • Audit systems to identify vulnerable libarchive versions using package management queries
  • Monitor file processing queues for WARC files with metadata inconsistencies
  • Configure alerts for denial-of-service conditions in archive processing applications

How to Mitigate CVE-2025-5916

Immediate Actions Required

  • Update libarchive to version 3.8.0 or later, which contains the fix for this vulnerability
  • Restrict processing of WARC files from untrusted sources until patching is complete
  • Review and update Red Hat Enterprise Linux systems using the vendor-provided security updates
  • Audit applications that use libarchive to identify all potentially affected systems

Patch Information

The vulnerability has been addressed in libarchive version 3.8.0. The fix is available through the GitHub Pull Request #2568 and the v3.8.0 release. Red Hat has published a security advisory at their CVE-2025-5916 advisory page with additional tracking information available in Red Hat Bug Report #2370872.

For Red Hat Enterprise Linux and OpenShift Container Platform users, apply the appropriate vendor-supplied patches through yum update or dnf update commands once updates are available in your configured repositories.

Workarounds

  • Disable or restrict WARC file processing in applications until patching can be completed
  • Implement input validation to reject WARC files with content-length values exceeding reasonable thresholds
  • Use application sandboxing to limit the impact of potential memory corruption
  • Deploy network-level filtering to block delivery of suspicious archive files to critical systems
bash
# Check installed libarchive version on Red Hat-based systems
rpm -qa | grep libarchive

# Update libarchive to patched version
sudo dnf update libarchive

# Verify the updated version
rpm -q libarchive

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibarchive

  • SeverityMEDIUM

  • CVSS Score5.6

  • EPSS Probability0.03%

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

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

  • GitHub Pull Request #2568
  • Related CVEs
  • CVE-2026-4426: libarchive DOS Vulnerability

  • CVE-2026-4111: libarchive RAR5 DoS Vulnerability

  • CVE-2025-25724: Libarchive DOS Vulnerability

  • CVE-2025-1632: Libarchive NULL Pointer Dereference DoS
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