Critical Security Update for libarchive: Infinite Loop Denial of Service Vulnerability

bsdtar Updated 24 Mar 2026

Summary

19/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:5080: Important: libarchive security update. Affects bsdtar versions < 3.5.3-7.el9_7. Fixed in 3.5.3-7.el9_7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libarchive is a programming library that facilitates the creation and reading of various streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM images. It is widely utilized in tools such as bsdtar, scripting language bindings like python-libarchive, and numerous popular desktop file managers. This library's versatility makes it a critical component in many software applications, but it also exposes users to potential security risks if not properly maintained.

Vulnerability Detail

The vulnerability identified as CVE-2026-4111 in libarchive allows for an infinite loop denial of service during the decompression of RAR5 files via the archive_read_data() function. This issue arises from improper handling of certain inputs, which can lead to excessive resource consumption, potentially rendering the application unresponsive. Attackers can exploit this vulnerability by crafting malicious RAR5 files, leading to service interruptions and degraded performance for users.

How To Fix

Minimum fixed version

3.5.3-7.el9_7

This is the first release that contains the fix.

sudo dnf update bsdtar

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid processing untrusted RAR5 files until the update is applied. This precaution will help mitigate the risk of denial of service attacks while a permanent fix is being implemented.

Conclusion

The libarchive library is an essential tool for handling various archive formats, but it is crucial to address the identified vulnerability (CVE-2026-4111) to maintain system integrity and availability. By updating to the latest version, users can protect their applications from potential denial of service attacks.

See every vulnerability recorded for bsdtar →

Share this vulnerability

FAQ

CVE-2026-4111 is a vulnerability in the libarchive library that can lead to an infinite loop denial of service during the decompression of RAR5 files.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The primary impact is a denial of service, where the application may become unresponsive due to excessive resource consumption when processing malicious RAR5 files.

Yes, a patch is available in version 3.5.3-7.el9_7 or later for the affected packages. Updating to this version will resolve the issue.

If you cannot update immediately, avoid processing untrusted RAR5 files to minimize the risk of exploitation until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for bsdtar.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.5.3-7.el9_7

This is the first release that contains the fix.

sudo dnf update bsdtar

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback