CVE-2025-5917
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.
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
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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L - CVSS 3.1
- 5.0 Medium
CVSS: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 Medium
CVSS: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 Low
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L - CVSS 3.1
- 5.0 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
cmakeAzure Linux:3 |
before 3.30.3-8 | 3.30.3-8 |
libarchiveAzure Linux:3 |
before 3.7.7-3 | 3.7.7-3 |
cmakeAzure Linux:2 |
before 3.21.4-20 | 3.21.4-20 |
libarchiveAzure Linux:2 |
before 3.6.1-7 | 3.6.1-7 |
libarchiveAlpaquita:23 |
3.6.1-r1 up to 3.8.0-r0 | 3.8.0-r0 |
libarchiveAlpaquita:stream |
3.6.2-r1 up to 3.8.0-r0 | 3.8.0-r0 |
bsdcpioTuxCare: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 |
bsdtarTuxCare: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 |
libarchiveTuxCare: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-develTuxCare: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
| Package | Affected | Fixed |
|---|---|---|
bsdcatTuxCare: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 |
bsdcpioTuxCare: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 |
bsdtarTuxCare: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 |
libarchiveTuxCare: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-develTuxCare: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 |
libarchiveDebian: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 |
libarchiveDebian:13 |
before 3.7.4-4 | 3.7.4-4 |
libarchiveDebian:14 |
before 3.7.4-4 | 3.7.4-4 |
libarchiveDebian: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_jllJulia |
before 3.8.0+0 | 3.8.0+0 |
libarchiveMageia:9 From an advisory covering 4 CVEs |
before 3.6.2-5.5.mga9 | 3.6.2-5.5.mga9 |
libarchiveopenEuler:24.03-LTS-SP1 From an advisory covering 5 CVEs |
before 3.7.1-7.oe2403sp1 | 3.7.1-7.oe2403sp1 |
libarchiveopenEuler:24.03-LTS From an advisory covering 5 CVEs |
before 3.7.1-7.oe2403 | 3.7.1-7.oe2403 |
libarchiveopenEuler:20.03-LTS-SP4 From an advisory covering 4 CVEs |
before 3.4.3-10.oe2003sp4 | 3.4.3-10.oe2003sp4 |
libarchiveopenEuler:22.03-LTS-SP3 From an advisory covering 4 CVEs |
before 3.5.2-9.oe2203sp3 | 3.5.2-9.oe2203sp3 |
libarchiveopenEuler:22.03-LTS-SP4 From an advisory covering 4 CVEs |
before 3.5.2-9.oe2203sp4 | 3.5.2-9.oe2203sp4 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveopenSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 3.7.2-150600.3.17.1 | 3.7.2-150600.3.17.1 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE: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 |
libarchiveSUSE:Linux Micro 6.0 From an advisory covering 5 CVEs |
before 3.6.2-5.1 | 3.6.2-5.1 |
libarchiveSUSE: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 |
libarchiveUbuntu: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 less3.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 |
libarchiveUbuntu: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 less3.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 |
libarchiveUbuntu: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 less3.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 |
libarchiveUbuntu: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 less3.4.0-2ubuntu1.23.4.0-2ubuntu1.33.4.0-2ubuntu1.43.4.0-2ubuntu1.5 |
3.4.0-2ubuntu1.5+esm1 |
libarchiveUbuntu: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 less3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.4 |
3.6.0-1ubuntu1.5 |
libarchiveUbuntu: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 less3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.4 |
3.7.2-2ubuntu0.5 |
libarchiveUbuntu: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 |
libarchiveUbuntu: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 less3.6.0-1ubuntu1.13.6.0-1ubuntu1.23.6.0-1ubuntu1.33.6.0-1ubuntu1.4 |
3.6.0-1ubuntu1.5 |
libarchiveUbuntu: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 less3.7.2-2ubuntu0.13.7.2-2ubuntu0.23.7.2-2ubuntu0.33.7.2-2ubuntu0.4 |
3.7.2-2ubuntu0.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| products | CVE List | |
| affected | ||
| facts | OSV | |
| first indexed | CVE 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
access.redhat.com/security/cve/CVE-2025-5917
bugzilla.redhat.com/show_bug.cgi?id=2370874
github.com/libarchive/libarchive/pull/2588
github.com/libarchive/libarchive/releases/tag/v3.8.0
nvd.nist.gov/vuln/detail/CVE-2025-5917
github.com/advisories/GHSA-29vm-vjqm-q2mx
Show 40 moreShow less
docs.bell-sw.com/security/cves/CVE-2025-5917
errata.tuxcare.com/els_os/oraclelinux7els/CLSA-2025-1764778336.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2025-1766232351.html
access.redhat.com/downloads/content/package-browser
github.com/libarchive/libarchive
github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5917.json
security-tracker.debian.org/tracker/CVE-2025-5917
advisories.mageia.org/MGASA-2025-0200.html
bugs.mageia.org/show_bug.cgi?id=34402
ubuntu.com/security/notices/USN-7601-1
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1623
nvd.nist.gov/vuln/detail/CVE-2025-5914
nvd.nist.gov/vuln/detail/CVE-2025-5915
nvd.nist.gov/vuln/detail/CVE-2025-5916
nvd.nist.gov/vuln/detail/CVE-2025-5918
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1624
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1656
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1657
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1658
suse.com/support/update/announcement/2025/suse-su-202502566-1
bugzilla.suse.com/1244270
bugzilla.suse.com/1244272
bugzilla.suse.com/1244273
bugzilla.suse.com/1244279
bugzilla.suse.com/1244336
suse.com/security/cve/CVE-2025-5914
suse.com/security/cve/CVE-2025-5915
suse.com/security/cve/CVE-2025-5916
suse.com/security/cve/CVE-2025-5917
suse.com/security/cve/CVE-2025-5918
suse.com/support/update/announcement/2025/suse-su-202502718-1
suse.com/support/update/announcement/2025/suse-su-202502718-2
suse.com/support/update/announcement/2025/suse-su-202520560-1
suse.com/support/update/announcement/2025/suse-su-202520594-1
ubuntu.com/security/CVE-2025-5917
cve.org/CVERecord?id=CVE-2025-5917
ubuntu.com/security/notices/USN-8147-1
ubuntu.com/security/CVE-2025-5914
ubuntu.com/security/CVE-2025-5915
ubuntu.com/security/CVE-2025-5916