Critical Security Flaw in libarchive and bsdtar: Information Disclosure and Code Execution Risks

bsdtar Updated 17 Apr 2026

Summary

16/04/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:8510: Important: libarchive security update. Affects bsdtar versions < 3.5.3-9.el9_7. Fixed in 3.5.3-9.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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libarchive is a versatile programming library that enables the creation and reading of various streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM images. It is widely utilized in the bsdtar utility, scripting language bindings like python-libarchive, and several popular desktop file managers. This library's extensive use makes it a critical component in many software applications, thus highlighting the importance of maintaining its security.

Vulnerability Detail

The vulnerability arises from two significant issues in libarchive: an information disclosure vulnerability due to a heap out-of-bounds read when processing RAR archives (CVE-2026-4424) and an arbitrary code execution risk stemming from an integer overflow in ISO9660 image processing (CVE-2026-5121). These vulnerabilities can potentially allow attackers to exploit the library, leading to unauthorized access to sensitive information or execution of malicious code.

How To Fix

Minimum fixed version

3.5.3-9.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 using the affected features of libarchive until the packages are updated. It is advisable to refrain from processing untrusted RAR archives or ISO9660 images until the vulnerabilities are patched.

Conclusion

The vulnerabilities in libarchive and bsdtar pose significant risks, including information disclosure and arbitrary code execution. It is crucial for users to update their packages to the patched version to mitigate these risks. Additionally, employing tools like Vulert can help monitor and manage open-source vulnerabilities effectively.

See every vulnerability recorded for bsdtar →

Share this vulnerability

FAQ

The main vulnerabilities include an information disclosure issue due to a heap out-of-bounds read in RAR archive processing and an arbitrary code execution risk from an integer overflow in ISO9660 image processing.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

If immediate updates are not possible, avoid processing untrusted RAR archives or ISO9660 images as a temporary workaround until the vulnerabilities are patched.

For more details, refer to the CVE pages for CVE-2026-4424 and CVE-2026-5121, which provide insights into the vulnerabilities and their impacts.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.

Related vulnerabilities

Recent vulnerabilities recorded for bsdtar.

How To Fix

Minimum fixed version

3.5.3-9.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