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-2026-4111

CVE-2026-4111: libarchive RAR5 DoS Vulnerability

CVE-2026-4111 is a denial-of-service flaw in libarchive's RAR5 decompression logic that causes infinite loops and CPU exhaustion. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-4111 Overview

A flaw was identified in the RAR5 archive decompression logic of the libarchive library, specifically within the archive_read_data() processing path. When a specially crafted RAR5 archive is processed, the decompression routine may enter a state where internal logic prevents forward progress. This condition results in an infinite loop that continuously consumes CPU resources. Because the archive passes checksum validation and appears structurally valid, affected applications cannot detect the issue before processing. This can allow attackers to cause persistent denial-of-service conditions in services that automatically process archives.

Critical Impact

Attackers can cause persistent denial-of-service conditions by submitting specially crafted RAR5 archives that trigger infinite loops in the decompression logic, exhausting CPU resources on affected systems.

Affected Products

  • libarchive library (RAR5 decompression component)
  • Applications and services using libarchive for archive processing
  • Linux distributions packaging libarchive (Red Hat, Fedora, etc.)

Discovery Timeline

  • 2026-03-13 - CVE-2026-4111 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-4111

Vulnerability Analysis

This vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition), commonly known as an infinite loop vulnerability. The flaw resides in the RAR5 archive decompression logic within the libarchive library. When processing certain malformed RAR5 archives, the decompression routine enters a state where the exit conditions for the processing loop can never be satisfied, causing the function to execute indefinitely.

The insidious nature of this vulnerability lies in the fact that the malicious archive passes standard validation checks, including checksum verification and structural validation. This means applications relying on libarchive cannot distinguish between legitimate and malicious archives prior to decompression, making filtering ineffective without additional safeguards.

Root Cause

The root cause is a logic error in the archive_read_data() processing path for RAR5 archives. Specific archive structures can manipulate the internal state of the decompression routine in a way that prevents forward progress through the data stream. The decompression loop continues to execute without advancing through the archive data or reaching a termination condition, resulting in indefinite execution and CPU resource consumption.

Attack Vector

The attack can be executed remotely over a network by submitting a specially crafted RAR5 archive to any service that processes archives using the vulnerable libarchive library. Attack scenarios include:

  • Email attachments processed by mail servers or security gateways
  • File upload endpoints that accept compressed archives
  • Automated backup or archive processing systems
  • CI/CD pipelines that extract dependencies from archives
  • Cloud storage services with archive preview or extraction features

The attack requires no authentication or user interaction since the malicious payload is processed automatically when the archive is decompressed.

The vulnerability manifests when a crafted RAR5 archive triggers specific internal state conditions in the decompression routine. The archive is constructed to pass checksum and structural validation while containing data that causes the processing loop to never terminate. For technical details on the fix implementation, refer to GitHub Pull Request #2877.

Detection Methods for CVE-2026-4111

Indicators of Compromise

  • Sustained high CPU utilization by processes using libarchive
  • Processes running archive_read_data() calls that never complete
  • Stalled or unresponsive services that handle archive extraction
  • RAR5 archives with unusual internal structures or abnormal decompression times

Detection Strategies

  • Monitor for processes exhibiting prolonged CPU spikes during archive processing operations
  • Implement timeout mechanisms for archive decompression tasks to detect hung processes
  • Track archive processing duration metrics and alert on anomalous processing times
  • Deploy application-level monitoring to detect stalled libarchive function calls

Monitoring Recommendations

  • Configure resource limits and timeouts for archive processing services
  • Implement process monitoring to detect and terminate runaway decompression tasks
  • Set up alerting for archive processing queues that stop making progress
  • Monitor CPU utilization patterns for services handling RAR5 archives

How to Mitigate CVE-2026-4111

Immediate Actions Required

  • Update libarchive to the patched version addressing CVE-2026-4111
  • Apply Red Hat security updates RHSA-2026:5063 and RHSA-2026:5080 for affected systems
  • Implement processing timeouts for archive extraction operations
  • Consider temporarily disabling RAR5 archive support if updates cannot be applied immediately

Patch Information

Security patches are available through vendor channels. Red Hat has released security advisories RHSA-2026:5063 and RHSA-2026:5080 addressing this vulnerability. The upstream fix is available in GitHub Pull Request #2877. Additional technical details can be found in the Red Hat CVE Details and Red Hat Bugzilla Report #2446453.

Workarounds

  • Implement strict timeout limits on archive extraction operations to prevent infinite loops from consuming resources indefinitely
  • Use process isolation (containers, sandboxing) for archive processing to limit the impact of CPU exhaustion
  • Deploy resource control mechanisms (cgroups, ulimits) to cap CPU time for archive processing tasks
  • Consider pre-screening archives with alternative tools before processing with libarchive
bash
# Configuration example - Set CPU time limits for archive processing
# Using ulimit to restrict CPU time (in seconds)
ulimit -t 300

# Using timeout command to limit extraction duration
timeout 60s bsdtar -xf archive.rar

# Using cgroups to limit CPU usage (requires root)
cgcreate -g cpu:/archive_processing
cgset -r cpu.cfs_quota_us=50000 archive_processing
cgexec -g cpu:archive_processing bsdtar -xf archive.rar

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibarchive

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • Red Hat Security Advisory RHSA-2026:5063

  • Red Hat Security Advisory RHSA-2026:5080

  • Red Hat CVE Details CVE-2026-4111

  • Red Hat Bugzilla Report #2446453

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

  • CVE-2025-5916: Libarchive Integer Overflow 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