Libarchive: infinite loop denial of service in rar5 decompression via archive_read_data() in libarchive
Summary
| CVE | CVE-2026-4111 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-13 19:55:13 UTC |
| Updated | 2026-04-20 04:16:45 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000340000 probability, percentile 0.096550000 (date 2026-04-19)
Problem Types: CWE-835 | CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 10 | unaffected 0:3.7.7-5.el10_1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | unaffected 0:3.7.7-5.el10_0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.5.3-7.el9_7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.5.3-7.el9_7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions | unaffected 0:3.5.3-2.el9_0.3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions | unaffected 0:3.5.3-5.el9_2.1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 0:3.5.3-4.el9_4.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | unaffected 0:3.5.3-6.el9_6.1 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 413.92.202604080111-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat AI Inference Server 3.2 | unaffected sha256:54616c9f3e4d27120504b0b2020432ef3ff85286a50de7be842f05df0cfcd69e * rpm | Not specified |
| CNA | Red Hat | Red Hat AI Inference Server 3.3 | unaffected sha256:0ec114881d9dcd28a5dbbb2ec0ea1301ad87d5ae133121ce8167ef29d19802cc * rpm | Not specified |
| CNA | Red Hat | Red Hat AI Inference Server 3.3 | unaffected sha256:813ba7ccd1696b44deb90d9e6cd8af114bdb47781eae7f27246a81fba062a892 * rpm | Not specified |
| CNA | Red Hat | Red Hat AI Inference Server 3.3 | unaffected sha256:be6d568f28044533e4ad80f0856407c359e2eaf31a6b89cada433e6575d2300e * rpm | Not specified |
| CNA | Red Hat | Red Hat Discovery 2 | unaffected sha256:040dadd657afdb9f0914f896a4962fd3dbf40b70c8037e4d72b6801b766c9b7d * rpm | Not specified |
| CNA | Red Hat | Red Hat Discovery 2 | unaffected sha256:062310de4b34e278f8c7e4634def673a77d1228d493541ef1264ba4cb83b68eb * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Hardened Images | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/security/cve/CVE-2026-4111 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:8747 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:8865 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:6647 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7106 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7105 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7329 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:8748 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:5080 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:5063 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7335 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7093 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:8746 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:7239 | [email protected] | access.redhat.com | |
| github.com/libarchive/libarchive/pull/2877 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Elhanan Haenel for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-11T11:18:51.609Z | Reported to Red Hat. |
| CNA | 2026-03-11T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.