A double free issue has been identified in libarchives 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.
The product calls free() twice on the same memory address.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | libarchive-0:3.7.7-10.el10_2 | * |
| Red Hat Enterprise Linux 9 | RedHat | libarchive-0:3.5.3-11.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | libarchive-0:3.5.3-11.el9_8 | * |
| Red Hat Discovery 2 | RedHat | discovery/discovery-server-rhel9:1786638573 | * |
| Red Hat Hardened Images | RedHat | libarchive-main-3.8.8-2.hum1 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-kubernetes-rhel9:1786435241 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-rhel9:1786533457 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/haproxy-rhel9:1786533449 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/installer-rhel9:1786435483 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/rhua-rhel9:1786533529 | * |
| Libarchive | Ubuntu | devel | * |
| Libarchive | Ubuntu | esm-infra/focal | * |
| Libarchive | Ubuntu | jammy | * |
| Libarchive | Ubuntu | noble | * |
| Libarchive | Ubuntu | questing | * |
| Libarchive | Ubuntu | resolute | * |
| Libarchive | Ubuntu | upstream | * |