Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libarchive package, versions <0:3.7.7-5.el10_1


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX10-LIBARCHIVE-15758395
  • published23 Mar 2026
  • disclosed19 Mar 2026

Introduced: 19 Mar 2026

CVE-2026-4111  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:10 libarchive to version 0:3.7.7-5.el10_1 or higher.
This issue was patched in ALSA-2026:5063.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by AlmaLinux. See How to fix? for AlmaLinux:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1