CVE-2026-14164

Libarchive: double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack()

Published Jun 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A double free issue has been identified in libarchive's RAR5 reader. During parsing of a specially crafted RAR5 archive, the filtered_buf pointer may remain stale after being freed during unpacking state reinitialization. Subsequent processing of another archive entry can trigger a second free of the same memory region, resulting in a double-free condition. Successful exploitation may cause applications using the vulnerable libarchive API to terminate unexpectedly, leading to a denial of service.

Analysis

AI-generated

Technical impact

The vulnerability is a classic double‑free bug in libarchive's RAR5 reader. During unpacking state reinitialization, the filtered_buf pointer can be left pointing to freed memory. When the next archive entry is processed, a second free on the same region can occur, causing a double‑free condition. An attacker who can supply a crafted RAR5 archive may trigger this and cause the host application to crash or terminate unexpectedly, resulting in a denial of service.

Affected Systems

Affected vendors include Red Hat Enterprise Linux 10, 6, 7, 8, 9, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4. No specific version numbers are listed, so any installation that includes the vulnerable libarchive package may be impacted as long as RAR5 support is present.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. EPSS is not available, but the double‑free can be exploited if an attacker can feed a malicious file to the application. Since the vulnerability is not in CISA’s KEV catalog, no known exploits have been publicly reported yet. The risk is moderate‑high, especially for services that parse user‑supplied archives or run with elevated privileges.

Remediation

Vendor Workaround

No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the appropriate security update once it becomes available.


OpenCVE Recommended Actions

  • Monitor Red Hat Product Security for an upcoming security update that patches libarchive.
  • When the update becomes available, apply it to all affected systems immediately to remove the vulnerable code path.
  • As a temporary measure, disable or remove RAR5 archive handling, or restrict input to trusted sources. If possible, use a content filter or drop the RAR5 support in your application configuration.
  • Run applications that use libarchive in a confined environment such as a sandbox or container with least privilege so that a crash cannot affect the host.

Generated by OpenCVE AI on June 30, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4762-1 libarchive security update
Ubuntu USN Ubuntu USN USN-8581-1 libarchive vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:30333 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:52674 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:52675 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:54387 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:54760 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:54769 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:56954 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:58558 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:58573 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:58574 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:58981 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:61783 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:62409 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:63041 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:63044 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:63100 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:65839 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:65851 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:67857 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:67935 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:70586 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:70615 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72394 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72395 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72399 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72470 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72475 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72476 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72502 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:73909 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:73959 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:73960 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:73961 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:73962 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74458 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74459 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74460 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74461 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74462 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74463 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:74674 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82061 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82304 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82322 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82336 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82347 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82354 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82371 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82372 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82857 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82888 cve-icon cve-icon
https://access.redhat.com/security/cve/CVE-2026-14164 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2493411 cve-icon cve-icon
https://github.com/libarchive/libarchive/issues/3069 cve-icon cve-icon cve-icon
https://github.com/libarchive/libarchive/pull/3071 cve-icon cve-icon
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
First Time appeared Redhat ai Inference Server
CPEs cpe:/a:redhat:ai_inference_server:3.5::el9
Vendors & Products Redhat ai Inference Server
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai:3.4::el9
References
Type Values Removed Values Added
First Time appeared Redhat cert Manager
CPEs cpe:/a:redhat:cert_manager:1.20::el9
Vendors & Products Redhat cert Manager
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.19::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.21::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.20::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/o:redhat:rhel_eus:9.6::baseos
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/o:redhat:rhel_e4s:9.2::baseos
cpe:/o:redhat:rhel_e4s:9.4::baseos
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
CPEs cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:4.22::el9
References
Type Values Removed Values Added
First Time appeared Redhat discovery
CPEs cpe:/a:redhat:discovery:2::el9
Vendors & Products Redhat discovery
References
Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:5::el9
Vendors & Products Redhat rhui
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Libarchive
Libarchive libarchive
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A double free issue has been identified in libarchive's RAR5 reader. During parsing of a specially crafted RAR5 archive, the filtered_buf pointer may remain stale after being freed during unpacking state reinitialization. Subsequent processing of another archive entry can trigger a second free of the same memory region, resulting in a double-free condition. Successful exploitation may cause applications using the vulnerable libarchive API to terminate unexpectedly, leading to a denial of service.
Title Libarchive: double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack()
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-415
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
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
Redhat openshift
References
Metrics cvssV3_1

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