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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | libarchive | 3.7.2-150600.3.17.1 | SUSE-SU-2025:02566-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- WID-SEC-2025-1266 libarchive: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jun 28, 2026
- USN-7601-1 libarchive vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2025:20594-1 Security update for libarchive SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20560-1 Security update for libarchive SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02718-2 Security update for libarchive SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02718-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02566-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- DLA-4368-1 libarchive - security update Debian Security (DSA / DLA) · Nov 11, 2025
- ALAS2023-2025-1091 Moderate: libarchive security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2-2025-2932 Moderate: libarchive security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 30, 2025