Every CVE Search/ Get API key

CVE-2025-5917

Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c

2.8 LowFix available

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.

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
None
Integrity
None
Availability
Low

Exploit likelihood

0.24%Up 0.2 points since Jun 10, 2025
90%50%10%1%

What each source reports

CVE List Score used 2.8

Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c

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.

Record
CVE-2025-5917
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness
CWE-787
Updated
2026-11-06
EUVDEUVD-2025-17574 2.8

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.

Record
EUVD-2025-17574
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Updated
2026-11-06
GitHub AdvisoriesGHSA-29vm-vjqm-q2mx 2.8

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one'...

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.

Record
GHSA-29vm-vjqm-q2mx
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness
CWE-787
Updated
2026-11-02
NVD 2.8

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.

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

Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c

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.

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

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.

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

A vulnerability has been identified in the libarchive library

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.

Record
JLSEC-2025-247
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/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
OSVUBUNTU-CVE-2025-5917 2.8

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.

Record
UBUNTU-CVE-2025-5917
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-63756 No score

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

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.

Record
AZL-63756
Updated
2026-11-05
OSVAZL-63777 No score

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

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.

Record
AZL-63777
Updated
2026-11-05
OSVAZL-63818 No score

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

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.

Record
AZL-63818
Updated
2026-11-02
OSVAZL-63854 No score

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

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.

Record
AZL-63854
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-2025-0200 No score

Updated libarchive packages fix security vulnerabilities

Double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c. (CVE-2025-5914) Heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c. (CVE-2025-5915) Integer overflow while reading warc files at archive_read_support_format_warc.c. (CVE-2025-5916) Off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c. (CVE-2025-5917)

Record
MGASA-2025-0200
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
OSVUSN-7601-1 No score

libarchive vulnerabilities

It was discovered that libarchive incorrectly handled certain RAR archive files. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2025-5914)

It was discovered that libarchive incorrectly handled certain RAR archive files. An attacker could possibly use this issue to read sensitive data or cause a denial of service. (CVE-2025-5915)

It was discovered that libarchive incorrectly handled certain WARC archive files. If a user or automated system were tricked into processing a specially crafted WARC archive, an attacker could use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2025-5916)

It was discovered that libarchive incorrectly handled certain file names when handling prefixes and suffixes. An attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2025-5917)

Record
USN-7601-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 45 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+deb12u3, plus listed versions
3.6.2-13.6.2-1+deb12u13.6.2-1+deb12u2
3.6.2-1+deb12u3
libarchive
Debian:13
before 3.7.4-4
3.7.4-4
libarchive
Debian:14
before 3.7.4-4
3.7.4-4
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:9
From an advisory covering 4 CVEs
before 3.6.2-5.5.mga9
3.6.2-5.5.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.5, plus listed versions
3.4.3-23.4.3-2build13.5.2-13.5.2-1ubuntu13.6.0-1ubuntu1
Show 4 moreShow less
3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.4
3.6.0-1ubuntu1.5
libarchive
Ubuntu:24.04:LTS
before 3.7.2-2ubuntu0.5, plus listed versions
3.6.2-1ubuntu13.7.2-1ubuntu13.7.2-1ubuntu23.7.2-1.1ubuntu23.7.2-2
Show 4 moreShow less
3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.4
3.7.2-2ubuntu0.5
libarchive
Ubuntu:25.10
before 3.7.7-0ubuntu3, plus listed versions
3.7.7-0ubuntu23.7.7-0ubuntu2.13.7.7-0ubuntu2.2
3.7.7-0ubuntu3
libarchive
Ubuntu:22.04:LTS
From an advisory covering 4 CVEs
before 3.6.0-1ubuntu1.5, plus listed versions
3.4.3-23.4.3-2build13.5.2-13.5.2-1ubuntu13.6.0-1ubuntu1
Show 4 moreShow less
3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.4
3.6.0-1ubuntu1.5
libarchive
Ubuntu:24.04:LTS
From an advisory covering 4 CVEs
before 3.7.2-2ubuntu0.5, plus listed versions
3.6.2-1ubuntu13.7.2-1ubuntu13.7.2-1ubuntu23.7.2-1.1ubuntu23.7.2-2
Show 4 moreShow less
3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.4
3.7.2-2ubuntu0.5

History

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

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

In short

CVE-2025-5917 is a low vulnerability (CVSS 2.8) 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.24%, the 14th percentile. Fixed in cmake 3.30.3-8.

References

Show 40 moreShow less
MoveEnter Open