Double-Free in libarchive RAR5 Reader
CVE-2026-14164 Published on June 30, 2026
Libarchive: double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack()
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.
Vulnerability Analysis
CVE-2026-14164 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is a Double-free Vulnerability?
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. When a program calls free() twice with the same argument, the program's memory management data structures become corrupted. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same pointer. If malloc() returns the same value twice and the program later gives the attacker control over the data that is written into this doubly-allocated memory, the program becomes vulnerable to a buffer overflow attack.
CVE-2026-14164 has been classified to as a Double-free vulnerability or weakness.
Products Associated with CVE-2026-14164
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-14164 are published in these products:
Affected Versions
Red Hat Enterprise Linux 10:- Version 0:3.7.7-10.el10_2 and below * is unaffected.
- Version 0:3.7.7-5.el10_0.1 and below * is unaffected.
- Version 0:3.5.3-11.el9_8 and below * is unaffected.
- Version 0:3.5.3-11.el9_8 and below * is unaffected.
- Version 4.22.9.8.202608130832-0 and below * is unaffected.
- Version 1786638573 and below * is unaffected.
- Version 3.8.8-2.hum1 and below * is unaffected.
- Version 1786435241 and below * is unaffected.
- Version 1786533457 and below * is unaffected.
- Version 1786533449 and below * is unaffected.
- Version 1786435483 and below * is unaffected.
- Version 1786533529 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.