Heap-based buffer overflow in libarchive - CVE-2025-5915
Published: June 16, 2025 / Updated: July 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error. A remote attacker can trick the victim into opening a specially crafted .rar archive, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
SUSE Manager Server 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Proxy 4.3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Development Tools Module
Basesystem Module
openSUSE Leap
Ubuntu
Anolis OS
openEuler
libarchive-debugsource
libarchive13-debuginfo
libarchive13
bsdtar
bsdtar-debuginfo
libarchive-devel
libarchive13-32bit-debuginfo
libarchive13-32bit
libarchive13-64bit
libarchive13-64bit-debuginfo
libarchive (Ubuntu package)
libarchive-doc
libarchive
bsdunzip
bsdcat
bsdcpio
libarchive-debuginfo
libarchive-help
Cloud Pak for Data System - Cyclops
How to mitigate CVE-2025-5915
libarchive-debugsource - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-debuginfo - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13 - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
bsdtar - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
bsdtar-debuginfo - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive-devel - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-32bit-debuginfo - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-32bit - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-64bit - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-64bit-debuginfo - addressed in versions 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive (Ubuntu package) - addressed in versions 3.6.0-1ubuntu1.5, 3.7.2-2ubuntu0.5, 3.7.4-1ubuntu0.3, 3.7.7-0ubuntu2.3
libarchive-doc - update to 3.7.1-6
libarchive-devel - update to 3.7.1-6
libarchive - update to 3.7.1-6
bsdunzip - update to 3.7.1-6
bsdcat - update to 3.7.1-6
bsdcpio - update to 3.7.1-6
bsdtar - update to 3.7.1-6
bsdcat - update to 3.7.1-7
libarchive-devel - update to 3.7.1-7
bsdcpio - update to 3.7.1-7
bsdtar - update to 3.7.1-7
bsdunzip - update to 3.7.1-7
libarchive-debuginfo - update to 3.7.1-7
libarchive-debugsource - update to 3.7.1-7
libarchive-help - update to 3.7.1-7
libarchive - update to 3.7.1-7
Cloud Pak for Data System - Cyclops - update to 11.3.1.1
External References
Related Security Bulletins
- Multiple vulnerabilities in libarchive
- openEuler 24.03 LTS update for libarchive
- openEuler 24.03 LTS SP1 update for libarchive
- Ubuntu update for libarchive
- Anolis OS update for libarchive
- SUSE update for libarchive
- SUSE update for libarchive
- SUSE update for libarchive
- Multiple vulnerabilities in IBM Cloud Pak for Data System - Cyclops