Integer overflow in libarchive - CVE-2025-5916

 

Integer overflow in libarchive - CVE-2025-5916

Published: June 16, 2025


Vulnerability identifier: #VU111146
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-5916
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing a Web Archive (WARC) file. A remote attacker can pass specially crafted data to the application, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libarchive
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 12 SP5
SUSE Manager Server 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Manager Proxy 4.3
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Ubuntu
Development Tools Module
Basesystem Module
openSUSE Leap
openEuler
libarchive (Ubuntu package)
libarchive-devel
libarchive13
libarchive13-debuginfo
libarchive-debugsource
libarchive-help
libarchive-debuginfo
libarchive
libarchive13-32bit-debuginfo
libarchive13-32bit
bsdtar-debuginfo
bsdtar
libarchive13-64bit-debuginfo
libarchive13-64bit
bsdcat
bsdcpio
bsdunzip
Cloud Pak for Data System - Cyclops

How to mitigate CVE-2025-5916

Install updates from vendor's website.

libarchive - update to 3.8.0
libarchive (Ubuntu package) - addressed in versions 3.1.2-7ubuntu2.8+esm4, 3.1.2-11ubuntu0.16.04.8+esm2, 3.2.2-3.1ubuntu0.7+esm2, 3.4.0-2ubuntu1.5+esm1, 3.6.0-1ubuntu1.5, 3.6.0-1ubuntu1.6, 3.7.2-2ubuntu0.5, 3.7.2-2ubuntu0.6, 3.7.4-1ubuntu0.3, 3.7.7-0ubuntu2.3, 3.7.7-0ubuntu3.1
libarchive-devel - addressed in versions 3.3.3-32.14.1, 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13 - addressed in versions 3.3.3-32.14.1, 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive13-debuginfo - addressed in versions 3.3.3-32.14.1, 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive-debugsource - addressed in versions 3.3.3-32.14.1, 3.5.1-150400.3.21.1, 3.7.2-150600.3.17.1
libarchive-debugsource - addressed in versions 3.4.3-10, 3.5.2-9, 3.7.1-7
libarchive-devel - addressed in versions 3.4.3-10, 3.5.2-9, 3.7.1-7
libarchive-help - addressed in versions 3.4.3-10, 3.5.2-9, 3.7.1-7
libarchive-debuginfo - addressed in versions 3.4.3-10, 3.5.2-9, 3.7.1-7
libarchive - addressed in versions 3.4.3-10, 3.5.2-9, 3.7.1-7
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
bsdtar-debuginfo - 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
libarchive13-64bit-debuginfo - 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
bsdcat - addressed in versions 3.5.2-9, 3.7.1-7
bsdcpio - addressed in versions 3.5.2-9, 3.7.1-7
bsdtar - addressed in versions 3.5.2-9, 3.7.1-7
bsdunzip - update to 3.7.1-7
Cloud Pak for Data System - Cyclops - update to 11.3.1.1

External References

Related Security Bulletins