CVE-2026-4111Libarchive: infinite loop denial of service in rar5 decompression via…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | libarchive | Fixed | 3.7.7-0ubuntu3.1 | UBUNTU-CVE-2026-4111 |
| Ubuntu 24.04 | libarchive | Fixed | 3.7.2-2ubuntu0.6 | UBUNTU-CVE-2026-4111 |
| Ubuntu 22.04 | libarchive | Fixed | 3.6.0-1ubuntu1.6 | UBUNTU-CVE-2026-4111 |
| Ubuntu 20.04 | libarchive | Fix pending | 3.4.0-2ubuntu1.5+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-4111 |
| Ubuntu 18.04 | libarchive | Fix pending | 3.2.2-3.1ubuntu0.7+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-4111 |
| Ubuntu 16.04 | libarchive | Fix pending | 3.1.2-11ubuntu0.16.04.8+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-4111 |
| Ubuntu 14.04 | libarchive | Fix pending | 3.1.2-7ubuntu2.8+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-4111 |
| Debian 14 | libarchive | Fixed | 3.8.6-1 | DEBIAN-CVE-2026-4111 |
| Debian 13 | libarchive | Fixed | 3.7.4-4+deb13u1 | DEBIAN-CVE-2026-4111 |
| Debian 12 | libarchive | Fixed | 3.6.2-1+deb12u4 | DEBIAN-CVE-2026-4111 |
| Red Hat Enterprise Linux 10 | bsdtar | Fixed | 0:3.7.7-5.el10_1 | RHSA-2026:5063 |
| Red Hat Enterprise Linux 10 | libarchive | Fixed | 0:3.7.7-5.el10_1 | RHSA-2026:5063 |
| Red Hat Enterprise Linux 10 | libarchive-devel | Fixed | 0:3.7.7-5.el10_1 | RHSA-2026:5063 |
| Red Hat Enterprise Linux 9 | bsdtar | Fixed | 0:3.5.3-7.el9_7 | RHSA-2026:5080 |
| Red Hat Enterprise Linux 9 | libarchive | Fixed | 0:3.5.3-7.el9_7 | RHSA-2026:5080 |
| Red Hat Enterprise Linux 9 | libarchive-devel | Fixed | 0:3.5.3-7.el9_7 | RHSA-2026:5080 |
| Red Hat Enterprise Linux 8 | bsdtar | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bsdcpio | Not affected | ||
| Red Hat Enterprise Linux 7 | bsdtar | Not affected | ||
| Red Hat Enterprise Linux 7 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 7 | libarchive-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libarchive | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Will not fix Out of support scope | ||
| AlmaLinux 10 | bsdtar | Fixed | 3.7.7-5.el10_1 | ALSA-2026:5063 |
| AlmaLinux 10 | libarchive | Fixed | 3.7.7-5.el10_1 | ALSA-2026:5063 |
| AlmaLinux 10 | libarchive-devel | Fixed | 3.7.7-5.el10_1 | ALSA-2026:5063 |
| AlmaLinux 9 | bsdtar | Fixed | 3.5.3-7.el9_7 | ALSA-2026:5080 |
| AlmaLinux 9 | libarchive | Fixed | 3.5.3-7.el9_7 | ALSA-2026:5080 |
| AlmaLinux 9 | libarchive-devel | Fixed | 3.5.3-7.el9_7 | ALSA-2026:5080 |
| Rocky Linux 10 | libarchive | Fixed | 0:3.7.7-5.el10_1 | RLSA-2026:5063 |
| Rocky Linux 9 | libarchive | Fixed | 0:3.5.3-7.el9_7 | RLSA-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.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.15
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
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:
- https://access.redhat.com/errata/RHSA-2026:10065 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:10081 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:10097 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:14773 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:15087 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:16008 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:10065
- https://access.redhat.com/errata/RHSA-2026:10081
- https://access.redhat.com/errata/RHSA-2026:10097
- https://access.redhat.com/errata/RHSA-2026:14773
- https://access.redhat.com/errata/RHSA-2026:15087
- https://access.redhat.com/errata/RHSA-2026:16008
- https://access.redhat.com/errata/RHSA-2026:16009
- https://access.redhat.com/errata/RHSA-2026:16174
- https://access.redhat.com/errata/RHSA-2026:17596
- https://access.redhat.com/errata/RHSA-2026:25096
- https://access.redhat.com/errata/RHSA-2026:5063
- https://access.redhat.com/errata/RHSA-2026:5080
- https://access.redhat.com/errata/RHSA-2026:6647
- https://access.redhat.com/errata/RHSA-2026:7093
- https://access.redhat.com/errata/RHSA-2026:7105
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.