Skip to content
OpenAdvisories

Description

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.

Affected products

VendorProductAffectedFixed
— libarchive < 3.8.0 3.8.0
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —
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
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
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.4 ALAS2023-2025-1091
Amazon Linux 2 bsdtar +3 3.1.2-14.amzn2.0.5 ALAS2-2025-2932

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.30.3-8 —
Azure Linux 3 libarchive 3.7.7-3 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-20 —
Azure Linux 2 (CBL-Mariner) libarchive 3.6.1-7 —

Advisories 10

References