Critical Security Flaws in libarchive: Information Disclosure and Code Execution Risks

libarchive Updated 19 Apr 2026

Summary

19/04/2026
N/A
Yes i
High
7.5

RLSA-2026:8510: Important: libarchive security update. Affects libarchive versions < 0:3.5.3-9.el9_7. Fixed in 0: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 Penetration testing for web, API and mobile 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 facilitates the creation and reading of various streaming archive formats, such as GNU tar, cpio, and ISO 9660 CD-ROM images. It is widely utilized in tools like the bsdtar utility, scripting language bindings (e.g., python-libarchive), and numerous popular desktop file managers. Given its extensive use, vulnerabilities in libarchive can have significant implications for system security.

Vulnerability Detail

The vulnerabilities in libarchive stem from improper handling of certain archive formats. Specifically, CVE-2026-4424 allows for information disclosure through a heap out-of-bounds read when processing RAR archives, potentially exposing sensitive data. Meanwhile, CVE-2026-5121 presents a more severe risk, enabling arbitrary code execution due to an integer overflow during ISO9660 image processing. These vulnerabilities can be exploited by attackers to gain unauthorized access or execute malicious code, posing a critical threat to systems utilizing the library.

How To Fix

Minimum fixed version

0:3.5.3-9.el9_7

This is the first release that contains the fix.

sudo dnf update libarchive

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 RAR and ISO9660 archives until the update is applied. This will help mitigate the risk of exploitation while waiting for the official patch.

Conclusion

The vulnerabilities in libarchive represent significant security risks that can lead to information disclosure and arbitrary code execution. It is crucial for users to update to the patched version promptly and consider using tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for libarchive →

Share this vulnerability

FAQ

libarchive is a programming library that allows users to create and read various archive formats, making it essential for file management and data storage.

The vulnerabilities include an information disclosure risk via heap out-of-bounds read in RAR archives (CVE-2026-4424) and arbitrary code execution due to integer overflow in ISO9660 image processing (CVE-2026-5121).

You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities in real-time.

The CVSS score for these vulnerabilities is 7.5, indicating a high severity level that requires immediate attention.

If an immediate update is not possible, refrain from processing RAR and ISO9660 archives to minimize the risk of exploitation until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for libarchive.

How To Fix

Minimum fixed version

0:3.5.3-9.el9_7

This is the first release that contains the fix.

sudo dnf update libarchive

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