Skip to content
OpenAdvisories
High · 7.8 CVE-2025-5914 EUVD-2025-17572GHSA-7376-x4rm-3v8x

Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c

Published Jun 9, 2025 · Updated Nov 6, 2026 · Assigned by redhat

Vendor: Red Hat Product: cert-manager operator for Red Hat OpenShift 1.16 Product: OpenShift Compliance Operator 1 Product: OpenShift File Integrity Operator - FIO 1 Product: Red Hat Discovery 2 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.2 Advanced Update Support Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Extended Update Support Product: Red Hat Insights proxy 1.5 Product: Red Hat OpenShift Container Platform 4 Product: Red Hat OpenShift Container Platform 4.14 Product: Red Hat OpenShift Container Platform 4.15 Product: Red Hat OpenShift Container Platform 4.16 Product: Red Hat OpenShift Container Platform 4.17 Product: Red Hat OpenShift Container Platform 4.18 Product: Red Hat OpenShift Container Platform 4.19 Product: Red Hat OpenShift Container Platform 4.20 Product: Red Hat OpenShift distributed tracing 3.5.3 Product: Red Hat OpenShift sandboxed containers 1.10 Product: Red Hat Web Terminal 1.11 on RHEL 9 Product: Red Hat Web Terminal 1.12 on RHEL 9 Product: RHOSS-1.36-RHEL-8 Package: libarchive Package: libarchive Package: libarchive Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.

Affected products

VendorProductAffectedFixed
— libarchive < 3.8.0 3.8.0
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat OpenShift Container Platform 4.14 — —
Red Hat Red Hat OpenShift Container Platform 4.15 — —
Red Hat Red Hat OpenShift Container Platform 4.16 — —
Red Hat Red Hat OpenShift Container Platform 4.17 — —
Red Hat Red Hat OpenShift Container Platform 4.18 — —
Red Hat Red Hat OpenShift Container Platform 4.19 — —
Red Hat Red Hat OpenShift Container Platform 4.20 — —
Red Hat Red Hat Web Terminal 1.11 on RHEL 9 — —
Red Hat Red Hat Web Terminal 1.12 on RHEL 9 — —
Red Hat RHOSS-1.36-RHEL-8 — —
Red Hat cert-manager operator for Red Hat OpenShift 1.16 — —
Red Hat OpenShift Compliance Operator 1 — —
Red Hat OpenShift File Integrity Operator - FIO 1 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Insights proxy 1.5 — —
Red Hat Red Hat OpenShift distributed tracing 3.5.3 — —
Red Hat Red Hat OpenShift sandboxed containers 1.10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libarchive 3.7.4-4 —
Debian 13 libarchive 3.7.4-4 —
Debian 12 libarchive 3.6.2-1+deb12u3 —
Debian 11 libarchive 3.4.3-2+deb11u3 DLA-4368-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libarchive 3.7.7-0ubuntu3 —
Ubuntu 24.04 LTS libarchive 3.7.2-2ubuntu0.5 USN-7601-1
Ubuntu 22.04 LTS libarchive 3.6.0-1ubuntu1.5 USN-7601-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libarchive 3.4.0-2ubuntu1.5+esm1 —
Ubuntu Pro 18.04 LTS libarchive 3.2.2-3.1ubuntu0.7+esm2 —
Ubuntu Pro 16.04 LTS libarchive 3.1.2-11ubuntu0.16.04.8+esm2 —
Ubuntu Pro 14.04 LTS libarchive 3.1.2-7ubuntu2.8+esm4 —
ReleasePackageFixed inAdvisory
RHEL 10 bsdtar +2 3.7.7-4.el10_0 RHSA-2025:14137
RHEL 9 bsdtar +2 3.5.3-6.el9_6 RHSA-2025:14130
RHEL 8 bsdtar +2 3.3.3-6.el8_10 RHSA-2025:14135
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS bsdtar +2 3.5.3-4.el9_4.1 RHSA-2025:14142
RHEL 9.2 E4S bsdtar +1 3.5.3-5.el9_2 RHSA-2025:15024
RHEL 9.0 E4S bsdtar +1 3.5.3-2.el9_0.1 RHSA-2025:14141
RHEL 8.8 TUS bsdtar +1 3.3.3-5.el8_8.1 RHSA-2025:14525
RHEL 8.8 E4S bsdtar +1 3.3.3-5.el8_8.1 RHSA-2025:14525
RHEL 8.6 TUS bsdtar +1 3.3.3-6.el8_6 RHSA-2025:14808
RHEL 8.6 E4S bsdtar +1 3.3.3-6.el8_6 RHSA-2025:14808
RHEL 8.6 AUS bsdtar +1 3.3.3-6.el8_6 RHSA-2025:14808
RHEL 8.4 EUS Long Life bsdtar +1 3.3.3-1.el8_4.1 RHSA-2025:14810
RHEL 8.4 AUS bsdtar +1 3.3.3-1.el8_4.1 RHSA-2025:14810
RHEL 8.2 AUS bsdtar +1 3.3.2-8.el8_2.1 RHSA-2025:14528
RHEL 7 ELS bsdtar +3 3.1.2-14.el7_9.1 RHSA-2025:14828

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 bsdtar +2 3.7.7-4.el10_0 ALSA-2025:14137
AlmaLinux 9 bsdtar +2 3.5.3-6.el9_6 ALSA-2025:14130
AlmaLinux 8 bsdtar +2 3.3.3-6.el8_10 ALSA-2025:14135

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libarchive 3.7.7-4.el10_0 RLSA-2025:14137
Rocky Linux 9 libarchive 3.5.3-6.el9_6 RLSA-2025:14130
Rocky Linux 8 libarchive 3.3.3-6.el8_10 RLSA-2025:14135
ReleasePackageFixed inAdvisory
SLES 15 SP7 libarchive 3.7.2-150600.3.17.1 SUSE-SU-2025:02566-1
SLES 15 SP6 libarchive 3.7.2-150600.3.17.1 SUSE-SU-2025:02566-1
SLES 15 SP5 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SLES 15 SP4 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SLES 12 SP5 libarchive 3.3.3-32.14.1 SUSE-SU-2025:02522-2, SUSE-SU-2025:02522-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SLES for SAP 15 SP4 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SLE Micro 6.1 libarchive 3.7.4-slfo.1.1_3.1 SUSE-SU-2025:20594-1
SLE Micro 6.0 libarchive 3.6.2-5.1 SUSE-SU-2025:20560-1
SLE Micro 5.5 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-1
SLE Micro 5.4 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-1
SLE Micro 5.3 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-1
SLE HPC 15 SP5 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SLE HPC 15 SP4 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SUSE Manager Server LTS 4.3 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
SUSE Manager Proxy LTS 4.3 libarchive 3.5.1-150400.3.21.1 SUSE-SU-2025:02718-2
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 libarchive 3.7.2-150600.3.17.1 SUSE-SU-2025:02566-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bsdcat +5 3.7.4-2.amzn2023.0.3 ALAS2023-2025-1022
Amazon Linux 2 bsdtar +3 3.1.2-14.amzn2.0.4 ALAS2-2025-2912

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libarchive 3.7.7-3 —
Azure Linux 2 (CBL-Mariner) libarchive 3.6.1-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 bsdtar +2 3.7.7-4.el10_0 ELSA-2025-14137
Oracle Linux 9 bsdtar +2 3.5.3-6.el9_6 ELSA-2025-14130
Oracle Linux 8 bsdtar +2 3.3.3-6.el8_10 ELSA-2025-14135
Oracle Linux 7 bsdtar +3 3.1.2-14.0.1.el7_9 ELSA-2025-14828

Advisories 37

References