CVEfocus › CVE database › CVE-2026-4111

CVE-2026-4111Libarchive: infinite loop denial of service in rar5 decompression via…

CVSS 7.5 HighEPSS 1.0% (higher than 63% of CVEs)Published 2026-03-13Updated 2026-11-23Assigner: redhat

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.

CWE-835

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
4Fix pending
2Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libarchiveFixed3.7.7-0ubuntu3.1UBUNTU-CVE-2026-4111
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.6UBUNTU-CVE-2026-4111
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.6UBUNTU-CVE-2026-4111
Ubuntu 20.04libarchiveFix pending3.4.0-2ubuntu1.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-4111
Ubuntu 18.04libarchiveFix pending3.2.2-3.1ubuntu0.7+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-4111
Ubuntu 16.04libarchiveFix pending3.1.2-11ubuntu0.16.04.8+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-4111
Ubuntu 14.04libarchiveFix pending3.1.2-7ubuntu2.8+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-4111
Debian 14libarchiveFixed3.8.6-1DEBIAN-CVE-2026-4111
Debian 13libarchiveFixed3.7.4-4+deb13u1DEBIAN-CVE-2026-4111
Debian 12libarchiveFixed3.6.2-1+deb12u4DEBIAN-CVE-2026-4111
Red Hat Enterprise Linux 10bsdtarFixed0:3.7.7-5.el10_1RHSA-2026:5063
Red Hat Enterprise Linux 10libarchiveFixed0:3.7.7-5.el10_1RHSA-2026:5063
Red Hat Enterprise Linux 10libarchive-develFixed0:3.7.7-5.el10_1RHSA-2026:5063
Red Hat Enterprise Linux 9bsdtarFixed0:3.5.3-7.el9_7RHSA-2026:5080
Red Hat Enterprise Linux 9libarchiveFixed0:3.5.3-7.el9_7RHSA-2026:5080
Red Hat Enterprise Linux 9libarchive-develFixed0:3.5.3-7.el9_7RHSA-2026:5080
Red Hat Enterprise Linux 8bsdtarNot affected
Red Hat Enterprise Linux 8libarchiveNot affected
Red Hat Enterprise Linux 8libarchive-develNot affected
Red Hat Enterprise Linux 7bsdcpioNot affected
Red Hat Enterprise Linux 7bsdtarNot affected
Red Hat Enterprise Linux 7libarchiveNot affected
Red Hat Enterprise Linux 7libarchive-develNot affected
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope
AlmaLinux 10bsdtarFixed3.7.7-5.el10_1ALSA-2026:5063
AlmaLinux 10libarchiveFixed3.7.7-5.el10_1ALSA-2026:5063
AlmaLinux 10libarchive-develFixed3.7.7-5.el10_1ALSA-2026:5063
AlmaLinux 9bsdtarFixed3.5.3-7.el9_7ALSA-2026:5080
AlmaLinux 9libarchiveFixed3.5.3-7.el9_7ALSA-2026:5080
AlmaLinux 9libarchive-develFixed3.5.3-7.el9_7ALSA-2026:5080
Rocky Linux 10libarchiveFixed0:3.7.7-5.el10_1RLSA-2026:5063
Rocky Linux 9libarchiveFixed0:3.5.3-7.el9_7RLSA-2026:5080

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.