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

Published Jun 26, 2026
·
Updated

A double free issue has been identified in libarchive's RAR5 reader. During parsing of a specially crafted RAR5 archive, the filteredbuf 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.

Other sources

A double-free vulnerability exists in the libarchive RAR5 reader subsystem within archivereadsupportformatrar5.c where the state tracking pointer rar->cstate.filteredbuf can be linked to a temporary filter output block during archive decompression. When the unpacking engine subsequently processes an adjacent file or resets its internal state layout via initunpack(), it releases the allocation mapped to filteredbuf but fails to clear or nullify the underlying pointer variable. A specially crafted RAR5 archive can exploit this lingering dangling pointer by forcing a secondary release operation on the exact same memory address, triggering a standard memory-manager abort that immediately crashes the application and results in a Denial of Service (DoS).

Red Hat

Libarchive: double-free vulnerability in rar5 decompression logic via dangling filteredbuf pointer in initunpack()

Microsoft

Affected Software

3 affected componentsFixes available
libarchive
Microsoft azl3 libarchive 3.7.7-6<3.7.7-7
3.7.7-7
debian/libarchive<=3.4.3-2+deb11u1, <=3.4.3-2+deb11u4, <=3.6.2-1+deb12u4, <=3.6.2-1+deb12u2, <=3.7.4-4+deb13u1
3.8.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.7.7-7
  2. Upgrade

    Upgrade debian/libarchive to a version that resolves this vulnerability.

    Fixed in 3.8.8-2

Event History

Jun 26, 2026
Data Sourced
via Red Hat·01:02 PM
DescriptionSeverityAffected Software
Jun 30, 2026
CVE Published
via MITRE·06:29 AM
Data Sourced
via MITRE·06:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Jul 3, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Jul 21, 2026
Data Sourced
via Ubuntu·08:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:17 PM
DescriptionAffected Software
Data Sourced
via Launchpad·08:17 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2026-14164?

CVE-2026-14164 has a high severity rating of 7.5.

2

How do I fix CVE-2026-14164?

To fix CVE-2026-14164, update libarchive to the latest version that addresses this double-free vulnerability.

3

What type of vulnerability is CVE-2026-14164?

CVE-2026-14164 is classified as a double free vulnerability in the RAR5 decompression logic.

4

What are the potential impacts of CVE-2026-14164?

CVE-2026-14164 can result in a denial of service due to improper memory handling.

5

In which software is CVE-2026-14164 found?

CVE-2026-14164 is found in the libarchive software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203