Description
A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over-read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window. This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions.
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 | — |
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 |
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 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libarchive | 3.7.7-3 | — |
| Azure Linux 2 (CBL-Mariner) | libarchive | 3.6.1-7 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
R3n3r0/cve-2025-5915 ★ 0 · Jul 30, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- 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
- ALAS2023-2025-1091 Moderate: libarchive security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025