Every CVE Search/ Get API key

CVE-2025-5918

Libarchive: reading past eof may be triggered for piped file streams

3.9 LowFix available

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
Low

Exploit likelihood

0.39%Up 0.4 points since Jun 10, 2025
90%50%10%1%

What each source reports

CVE List Score used 3.9

Libarchive: reading past eof may be triggered for piped file streams

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
CVE-2025-5918
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-125
Updated
2026-11-06
EUVDEUVD-2025-17573 3.9

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
EUVD-2025-17573
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-06
GitHub AdvisoriesGHSA-3hqh-8h99-q2cf 3.9

A vulnerability has been identified in the libarchive library. This flaw can be triggered when...

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
GHSA-3hqh-8h99-q2cf
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-125
Updated
2026-11-02
NVD 3.9

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
CVE-2025-5918
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-06
OSVBELL-CVE-2025-5918 6.6
Record
BELL-CVE-2025-5918
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSV 3.9

Libarchive: reading past eof may be triggered for piped file streams

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
CVE-2025-5918
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-125
Updated
2026-11-07
Show 21 moreShow less
OSVDEBIAN-CVE-2025-5918 6.6

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
DEBIAN-CVE-2025-5918
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-07
OSVJLSEC-2025-249 6.6

A vulnerability has been identified in the libarchive library

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
JLSEC-2025-249
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2025-1623 3.9

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been classified as critical.CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5914)

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been declared as critical.The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5915)

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Impacted is confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5916)

A vulnerability classified as critical has been found in libarchive up to 3.7.x (File Compression Software).CWE is classifying the issue as CWE-193. A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5917)

A vulnerability classified as critical was found in libarchive up to 3.7.x (File Compression Software).The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5918)

Record
OESA-2025-1623
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1624 3.9

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been classified as critical.CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5914)

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been declared as critical.The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5915)

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Impacted is confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5916)

A vulnerability classified as critical has been found in libarchive up to 3.7.x (File Compression Software).CWE is classifying the issue as CWE-193. A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5917)

A vulnerability classified as critical was found in libarchive up to 3.7.x (File Compression Software).The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5918)

Record
OESA-2025-1624
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1656 3.9

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been classified as critical.CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5914)

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive.(CVE-2025-5916)

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.(CVE-2025-5917)

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.(CVE-2025-5918)

Record
OESA-2025-1656
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1657 3.9

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been classified as critical.CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5914)

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive.(CVE-2025-5916)

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.(CVE-2025-5917)

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.(CVE-2025-5918)

Record
OESA-2025-1657
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1658 3.9

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

A vulnerability was found in libarchive up to 3.7.x (File Compression Software). It has been classified as critical.CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 3.8.0 eliminates this vulnerability.(CVE-2025-5914)

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive.(CVE-2025-5916)

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.(CVE-2025-5917)

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.(CVE-2025-5918)

Record
OESA-2025-1658
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2025-5918 6.6

CVE-2025-5918 in rootio-libarchive - Patched by Root

Root has patched CVE-2025-5918 in the rootio-libarchive package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2025-5918
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-5918 3.9

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
UBUNTU-CVE-2025-5918
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVAZL-63753 No score

CVE-2025-5918 affecting package cmake for versions less than 3.30.3-8

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
AZL-63753
Updated
2026-11-05
OSVAZL-63780 No score

CVE-2025-5918 affecting package libarchive for versions less than 3.7.7-3

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
AZL-63780
Updated
2026-11-05
OSVAZL-63821 No score

CVE-2025-5918 affecting package cmake for versions less than 3.21.4-20

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
AZL-63821
Updated
2026-11-02
OSVAZL-63851 No score

CVE-2025-5918 affecting package libarchive for versions less than 3.6.1-7

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

Record
AZL-63851
Updated
2026-11-02
OSVCLSA-2025-1764778336 No score

libarchive: Fix of 2 CVEs

  • CVE-2025-5917: fix overflow in build_ustar_entry
  • CVE-2025-5918: do not skip past EOF while reading
Record
CLSA-2025-1764778336
Updated
2026-11-02
OSVCLSA-2025-1766232351 No score

libarchive: Fix of 3 CVEs

  • CVE-2025-5916: fix signed integer overflow in WARC format reader
  • CVE-2025-5917: fix buffer overflow in build_ustar_entry for PAX format
  • CVE-2025-5918: prevent skipping past EOF in archive file reading
Record
CLSA-2025-1766232351
Updated
2026-11-02
OSVMGASA-2026-0366 No score

Updated libarchive packages fix security vulnerabilities

Double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack(). (CVE-2026-14164) Heap overflow oob read while parsing a tar archive contains a pax extended header. (CVE-2026-15028) A null pointer dereference vulnerability exists in the acl parser of libarchive. (CVE-2026-5745) Reading past eof may be triggered for piped file streams. (CVE-2025-5918) An issue was discovered in libarchive bsdtar before version 3.8.1 in function apply_substitution in file tar/subst.c when processing crafted -s substitution rules. This can cause unbounded memory allocation and lead to denial of service (Out-of-Memory crash). (CVE-2025-60753) Infinite loop denial of service in rar5 decompression via archive_read_data() in libarchive. (CVE-2026-4111) Information disclosure via heap out-of-bounds read in rar archive processing. (CVE-2026-4424) Denial of service via malformed iso file processing. (CVE-2026-4426) Arbitrary code execution via integer overflow in iso9660 image processing. (CVE-2026-5121)

Record
MGASA-2026-0366
Updated
2026-11-02
OSVSUSE-SU-2025:02566-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-5914: Fixed double free due to an integer overflow in the archive_read_format_rar_seek_data() function (bsc#1244272)
  • CVE-2025-5915: Fixed heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c (bsc#1244273)
  • CVE-2025-5916: Fixed integer overflow while reading warc files at archive_read_support_format_warc.c (bsc#1244270)
  • CVE-2025-5917: Fixed off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c (bsc#1244336)
  • CVE-2025-5918: Fixed reading past EOF may be triggered for piped file streams (bsc#1244279)
Record
SUSE-SU-2025:02566-1
Updated
2026-11-02
OSVSUSE-SU-2025:02718-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-5914: Fixed double free due to an integer overflow in the archive_read_format_rar_seek_data() function (bsc#1244272)
  • CVE-2025-5915: Fixed heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c (bsc#1244273)
  • CVE-2025-5916: Fixed integer overflow while reading warc files at archive_read_support_format_warc.c (bsc#1244270)
  • CVE-2025-5917: Fixed off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c (bsc#1244336)
  • CVE-2025-5918: Fixed reading past EOF may be triggered for piped file streams (bsc#1244279)
Record
SUSE-SU-2025:02718-1
Updated
2026-11-02
OSVSUSE-SU-2025:02718-2 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-5914: Fixed double free due to an integer overflow in the archive_read_format_rar_seek_data() function (bsc#1244272)
  • CVE-2025-5915: Fixed heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c (bsc#1244273)
  • CVE-2025-5916: Fixed integer overflow while reading warc files at archive_read_support_format_warc.c (bsc#1244270)
  • CVE-2025-5917: Fixed off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c (bsc#1244336)
  • CVE-2025-5918: Fixed reading past EOF may be triggered for piped file streams (bsc#1244279)
Record
SUSE-SU-2025:02718-2
Updated
2026-11-02
OSVSUSE-SU-2025:20560-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-5914: Fixed double free due to an integer overflow in the archive_read_format_rar_seek_data() function (bsc#1244272)
  • CVE-2025-5915: Fixed heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c (bsc#1244273)
  • CVE-2025-5916: Fixed integer overflow while reading warc files at archive_read_support_format_warc.c (bsc#1244270)
  • CVE-2025-5917: Fixed off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c (bsc#1244336)
  • CVE-2025-5918: Fixed past EOF read triggered for piped file streams (bsc#1244279)
Record
SUSE-SU-2025:20560-1
Updated
2026-11-02
OSVSUSE-SU-2025:20594-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-5918: reading past EOF may be triggered for piped file streams (bsc#1244279)
  • CVE-2025-5917: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c (bsc#1244336)
  • CVE-2025-5916: integer overflow while reading warc files at archive_read_support_format_warc.c (bsc#1244270)
  • CVE-2025-5915: heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c (bsc#1244273)
  • CVE-2025-5914: double free due to an integer overflow in the archive_read_format_rar_seek_data() function (bsc#1244272)
Record
SUSE-SU-2025:20594-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cmake
Azure Linux:3
before 3.30.3-8
3.30.3-8
libarchive
Azure Linux:3
before 3.7.7-3
3.7.7-3
cmake
Azure Linux:2
before 3.21.4-20
3.21.4-20
libarchive
Azure Linux:2
before 3.6.1-7
3.6.1-7
libarchive
Alpaquita:23
3.6.1-r1 up to 3.8.0-r0
3.8.0-r0
libarchive
Alpaquita:stream
3.6.2-r1 up to 3.8.0-r0
3.8.0-r0
bsdcpio
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 3.1.2-14.el7_7.tuxcare.els3
3.1.2-14.el7_7.tuxcare.els3
bsdtar
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 3.1.2-14.el7_7.tuxcare.els3
3.1.2-14.el7_7.tuxcare.els3
libarchive
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 3.1.2-14.el7_7.tuxcare.els3
3.1.2-14.el7_7.tuxcare.els3
libarchive-devel
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 3.1.2-14.el7_7.tuxcare.els3
3.1.2-14.el7_7.tuxcare.els3
Show 44 moreShow less
Affected packages
PackageAffectedFixed
bsdcat
TuxCare:AlmaLinux:9.6
From an advisory covering 3 CVEs
before 3.5.3-6.el9_6.tuxcare.els1
3.5.3-6.el9_6.tuxcare.els1
bsdcpio
TuxCare:AlmaLinux:9.6
From an advisory covering 3 CVEs
before 3.5.3-6.el9_6.tuxcare.els1
3.5.3-6.el9_6.tuxcare.els1
bsdtar
TuxCare:AlmaLinux:9.6
From an advisory covering 3 CVEs
before 3.5.3-6.el9_6.tuxcare.els1
3.5.3-6.el9_6.tuxcare.els1
libarchive
TuxCare:AlmaLinux:9.6
From an advisory covering 3 CVEs
before 3.5.3-6.el9_6.tuxcare.els1
3.5.3-6.el9_6.tuxcare.els1
libarchive-devel
TuxCare:AlmaLinux:9.6
From an advisory covering 3 CVEs
before 3.5.3-6.el9_6.tuxcare.els1
3.5.3-6.el9_6.tuxcare.els1
libarchive
Debian:12
before 3.6.2-1+deb12u4, plus listed versions
3.6.2-13.6.2-1+deb12u13.6.2-1+deb12u23.6.2-1+deb12u3
3.6.2-1+deb12u4
libarchive
Debian:13
before 3.7.4-4+deb13u1, plus listed versions
3.7.4-4
3.7.4-4+deb13u1
libarchive
Debian:14
before 3.8.4-1, plus listed versions
3.7.4-4
3.8.4-1
libarchive
Debian:11
From an advisory covering 4 CVEs
before 3.4.3-2+deb11u3, plus listed versions
3.4.3-23.4.3-2+deb11u13.4.3-2+deb11u2
3.4.3-2+deb11u3
LibArchive_jll
Julia
before 3.8.0+0
3.8.0+0
libarchive
Mageia:10
From an advisory covering 9 CVEs
before 3.8.9-1.mga10
3.8.9-1.mga10
libarchive
Mageia:9
From an advisory covering 9 CVEs
before 3.6.2-5.6.mga9
3.6.2-5.6.mga9
libarchive
openEuler:24.03-LTS-SP1
From an advisory covering 5 CVEs
before 3.7.1-7.oe2403sp1
3.7.1-7.oe2403sp1
libarchive
openEuler:24.03-LTS
From an advisory covering 5 CVEs
before 3.7.1-7.oe2403
3.7.1-7.oe2403
libarchive
openEuler:20.03-LTS-SP4
From an advisory covering 4 CVEs
before 3.4.3-10.oe2003sp4
3.4.3-10.oe2003sp4
libarchive
openEuler:22.03-LTS-SP3
From an advisory covering 4 CVEs
before 3.5.2-9.oe2203sp3
3.5.2-9.oe2203sp3
libarchive
openEuler:22.03-LTS-SP4
From an advisory covering 4 CVEs
before 3.5.2-9.oe2203sp4
3.5.2-9.oe2203sp4
libarchive
SUSE:Linux Enterprise Module for Basesystem 15 SP6
From an advisory covering 5 CVEs
before 3.7.2-150600.3.17.1
3.7.2-150600.3.17.1
libarchive
SUSE:Linux Enterprise Module for Basesystem 15 SP7
From an advisory covering 5 CVEs
before 3.7.2-150600.3.17.1
3.7.2-150600.3.17.1
libarchive
SUSE:Linux Enterprise Module for Development Tools 15 SP6
From an advisory covering 5 CVEs
before 3.7.2-150600.3.17.1
3.7.2-150600.3.17.1
libarchive
SUSE:Linux Enterprise Module for Development Tools 15 SP7
From an advisory covering 5 CVEs
before 3.7.2-150600.3.17.1
3.7.2-150600.3.17.1
libarchive
openSUSE:Leap 15.6
From an advisory covering 5 CVEs
before 3.7.2-150600.3.17.1
3.7.2-150600.3.17.1
libarchive
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Server 15 SP5-LTSS
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Manager Proxy LTS 4.3
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Manager Server LTS 4.3
From an advisory covering 5 CVEs
before 3.5.1-150400.3.21.1
3.5.1-150400.3.21.1
libarchive
SUSE:Linux Micro 6.0
From an advisory covering 5 CVEs
before 3.6.2-5.1
3.6.2-5.1
libarchive
SUSE:Linux Micro 6.1
From an advisory covering 5 CVEs
before 3.7.4-slfo.1.1_3.1
3.7.4-slfo.1.1_3.1
libarchive
Ubuntu:Pro:14.04:LTS
before 3.1.2-7ubuntu2.8+esm4, plus listed versions
3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.13.1.2-7ubuntu2.2
Show 7 moreShow less
3.1.2-7ubuntu2.33.1.2-7ubuntu2.43.1.2-7ubuntu2.63.1.2-7ubuntu2.73.1.2-7ubuntu2.83.1.2-7ubuntu2.8+esm13.1.2-7ubuntu2.8+esm3
3.1.2-7ubuntu2.8+esm4
libarchive
Ubuntu:Pro:16.04:LTS
before 3.1.2-11ubuntu0.16.04.8+esm2, plus listed versions
3.1.2-11build13.1.2-11ubuntu0.16.04.13.1.2-11ubuntu0.16.04.23.1.2-11ubuntu0.16.04.33.1.2-11ubuntu0.16.04.4
Show 5 moreShow less
3.1.2-11ubuntu0.16.04.53.1.2-11ubuntu0.16.04.63.1.2-11ubuntu0.16.04.73.1.2-11ubuntu0.16.04.83.1.2-11ubuntu0.16.04.8+esm1
3.1.2-11ubuntu0.16.04.8+esm2
libarchive
Ubuntu:Pro:18.04:LTS
before 3.2.2-3.1ubuntu0.7+esm2, plus listed versions
3.2.2-3.13.2.2-3.1ubuntu0.13.2.2-3.1ubuntu0.23.2.2-3.1ubuntu0.33.2.2-3.1ubuntu0.4
Show 4 moreShow less
3.2.2-3.1ubuntu0.53.2.2-3.1ubuntu0.63.2.2-3.1ubuntu0.73.2.2-3.1ubuntu0.7+esm1
3.2.2-3.1ubuntu0.7+esm2
libarchive
Ubuntu:Pro:20.04:LTS
before 3.4.0-2ubuntu1.5+esm1, plus listed versions
3.4.0-13.4.0-1build13.4.0-1ubuntu23.4.0-2ubuntu13.4.0-2ubuntu1.1
Show 4 moreShow less
3.4.0-2ubuntu1.23.4.0-2ubuntu1.33.4.0-2ubuntu1.43.4.0-2ubuntu1.5
3.4.0-2ubuntu1.5+esm1
libarchive
Ubuntu:22.04:LTS
before 3.6.0-1ubuntu1.6, plus listed versions
3.4.3-23.4.3-2build13.5.2-13.5.2-1ubuntu13.6.0-1ubuntu1
Show 5 moreShow less
3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.43.6.0-1ubuntu1.5
3.6.0-1ubuntu1.6
libarchive
Ubuntu:24.04:LTS
before 3.7.2-2ubuntu0.6, plus listed versions
3.6.2-1ubuntu13.7.2-1ubuntu13.7.2-1ubuntu23.7.2-1.1ubuntu23.7.2-2
Show 5 moreShow less
3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.43.7.2-2ubuntu0.5
3.7.2-2ubuntu0.6
libarchive
Ubuntu:25.10
before 3.7.7-0ubuntu3.1, plus listed versions
3.7.7-0ubuntu23.7.7-0ubuntu2.13.7.7-0ubuntu2.23.7.7-0ubuntu3
3.7.7-0ubuntu3.1

History

History
RecordedChangedSources
productsCVE List
affected
factsOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-5918 is a low vulnerability (CVSS 3.9) in Libarchive, published June 9, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in cmake 3.30.3-8.

References

Show 37 moreShow less
MoveEnter Open