Bug 2494763 - CVE-2026-14164 libarchive: Double-Free Vulnerability in RAR5 Decompression Logic via dangling filtered_buf pointer in init_unpack() [fedora-all]
Summary: CVE-2026-14164 libarchive: Double-Free Vulnerability in RAR5 Decompression Lo...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libarchive
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Pavol Sloboda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ce213b8a-43fa-4d87-9c7a-a...
Depends On:
Blocks: CVE-2026-14164
TreeView+ depends on / blocked
 
Reported: 2026-06-30 06:24 UTC by TEJ RATHI
Modified: 2026-06-30 12:18 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-30 12:18:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2026-06-30 06:24:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A double-free vulnerability exists in the libarchive RAR5 reader subsystem within archive_read_support_format_rar5.c where the state tracking pointer rar->cstate.filtered_buf 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 init_unpack(), it releases the allocation mapped to filtered_buf 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).


Note You need to log in before you can comment on or make changes to this bug.