Bug 2494761 - CVE-2026-14164 mingw-libarchive: Double-Free Vulnerability in RAR5 Decompression Logic via dangling filtered_buf pointer in init_unpack() [fedora-all]
Summary: CVE-2026-14164 mingw-libarchive: Double-Free Vulnerability in RAR5 Decompress...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-libarchive
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michael Cronenworth
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-08-17 15:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2026-06-30 06:24:02 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).

Comment 1 Aoife Moloney 2026-08-17 15:06:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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