CVE-2026-17591

Libarchive: libarchive: use-after-free via aliased mac metadata copy

Published Oct 16, 2026 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in libarchive. An attacker can cause a Denial of Service (DoS) or potential information disclosure due to a use-after-free vulnerability, which occurs when a program reads memory that has already been released. This issue arises when the archive_entry_copy_mac_metadata() function deallocates an internal buffer before completing a data copy. An attacker who can supply input to an application utilizing this function can trigger the flaw to crash the application or read uninitialized memory data.

Analysis

AI-generated

Technical impact

A use‑after‑free flaw in libarchive’s archive_entry_copy_mac_metadata() can cause an application to read memory that has already been freed or crash entirely. The vulnerability may lead to application termination and, if an attacker’s input allows traversal of uninitialized memory, disclosure of sensitive data. The weakness is identified as CWE‑416. There is no indication that the flaw leads to remote code execution, but the denial of service impact can disrupt critical services.

Affected Systems

Red‑Hat Enterprise Linux distributions 6 through 9 and Red‑Hat Hardened Images are affected through the bundled libarchive component. The vulnerability applies to systems running any version of the operating system that includes the vulnerable libarchive library. No specific libarchive version numbers are provided in the available data.

Risk and Exploitability

The CVSS score of 3.6 reflects a low severity, and no EPSS score is available to estimate exploit probability. Because the flaw requires an attacker to supply controlled archive data, it is likely limited to environments where unmanaged archive streams are processed. The vulnerability is not listed in the CISA KEV catalog, which suggests that widespread exploitation has not yet been observed. Nonetheless, denial of service can be disruptive to businesses and may serve as a stepping‑stone for more complex attacks if an attacker can gain further footholds in the affected system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Red Hat package update that contains the patched libarchive library.
  • If an application can be recompiled, remove or replace the use of archive_entry_copy_mac_metadata() with a safer routine or accept only trusted archives.
  • Add pre‑processing checks to validate archive integrity and reject malformed or suspicious inputs before extraction.
  • Monitor system logs for crashes or abnormal core dumps related to libarchive usage to detect successful exploitation attempts.

Generated by OpenCVE AI on October 16, 2026 at 23:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:openshift_ai
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat openshift Ai
Redhat rhel Els
Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Vendors & Products Libarchive
Libarchive libarchive
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in libarchive. An attacker can cause a Denial of Service (DoS) or potential information disclosure due to a use-after-free vulnerability, which occurs when a program reads memory that has already been released. This issue arises when the archive_entry_copy_mac_metadata() function deallocates an internal buffer before completing a data copy. An attacker who can supply input to an application utilizing this function can trigger the flaw to crash the application or read uninitialized memory data.
Title Libarchive: libarchive: use-after-free via aliased mac metadata copy
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-416
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 3:21 PM
Reserved
Jul 27, 2026, 4:15 PM
Status
Awaiting Analysis
Published
Oct 16, 2026, 11:17 PM
Modified
Nov 25, 2026, 4:17 PM