Logo
componentlibarchive
Name
libarchive
Version
3.6.2
Type
library
Description
Support for reading various archive formats
Licenses
BSD-2-Clause
PURL
-
CPE
cpe:2.3:*:libarchive:libarchive:3.6.2:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
3.8.7
scarthgap
3.7.9

Patches#


#
Title
Author
Resolve
1
fix: OOB in rar e8 filter (#2135) This patch fixes an
Wei-Cheng Pan <legnaleurc@gmail.com>
CVE-2024-26256
2
rar: Fix heap-buffer-overflow (#2599)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5915
3
fix CVE-2025-1632 and CVE-2025-25724 (#2532)
=?UTF-8?q?Peter=20K=C3=A4stle?= <peter@piie.net>
CVE-2025-25724
4
Improve lseek handling (#2564)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
5
Merge pull request #2749 from KlaraSystems/des/tempdir
Tim Kientzle <kientzle@acm.org>
6
warc: Prevent signed integer overflow (#2568)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5916
7
Merge pull request #2768 from Commandoss/master
Tim Kientzle <kientzle@acm.org>
8
pax writer: fix multiple security vulnerabilities
Martin Matuska <martin@matuska.de>
9
Merge pull request #2696 from al3xtjames/mkstemp
Tim Kientzle <kientzle@acm.org>
10
Reject filters when the block length is nonsensical
Tim Kientzle <kientzle@acm.org>
CVE-2026-4111
11
tar: fix off-bounds read resulting from #2787 (3150539ed)
Martin Matuska <martin@matuska.de>
CVE-2025-60753
12
rar: Fix double free with over 4 billion nodes (#2598)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5914
13
Fix bsdtar zero-length pattern issue.
=?UTF-8?q?ARJANEN=20Lo=C3=AFc=20Jean=20David?= <ljd@luigiscorner.mu>
CVE-2025-60753
14
Merge pull request #2753 from KlaraSystems/des/temp-files
Tim Kientzle <kientzle@acm.org>
15
Fix max path-length metadata writing (#2243)
Sam Bingner <sam@bingner.com>
16
rar4 reader: protect copy_from_lzss_window_to_unp() (#2172)
"Dustin L. Howett" <dustin@howett.net>
CVE-2024-20696
17
Fix FILE_skip regression
Tobias Stoeckmann <tobias@stoeckmann.org>
CVE-2025-5918
18
Fix overflow in build_ustar_entry (#2588)
Brian Campbell <Brian.Campbell@ed.ac.uk>
CVE-2025-5917
19
fix: OOB in rar audio filter (#2149)
Wei-Cheng Pan <legnaleurc@gmail.com>
CVE-2024-48957
20
FILE* seeking support (#2539)
ljdarj <ljd@luigiscorner.mu>
21
Do not skip past EOF while reading (#2584)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5918
22
Infinite loop in Rar5 decompression
Tim Kientzle <kientzle@acm.org>
CVE-2026-4111
23
fix: OOB in rar delta filter (#2148)
Wei-Cheng Pan <legnaleurc@gmail.com>
CVE-2024-48958

Vulnerabilities#


Name
Analysis
Description
Patched
A flaw was identified in the RAR5 archive decompression logic of the libarchive library, specifically within the archive_read_data() processing path. When a specially crafted RAR5 archive is processed, the decompression routine may enter a state where internal logic prevents forward progress. This condition results in an infinite loop that continuously consumes CPU resources. Because the archive passes checksum validation and appears structurally valid, affected applications cannot detect the issue before processing. This can allow attackers to cause persistent denial-of-service conditions in services that automatically process archives.
Patched
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).
Patched
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.
Patched
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.
Patched
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. This bug affects libarchive versions prior to 3.8.0.
Patched
A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over-read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window. This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions.
Patched
A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.
Patched
list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.
Patched
execute_filter_delta in archive_read_support_format_rar.c in libarchive before 3.7.5 allows out-of-bounds access via a crafted archive file because src can move beyond dst.
Patched
execute_filter_audio in archive_read_support_format_rar.c in libarchive before 3.7.5 allows out-of-bounds access via a crafted archive file because src can move beyond dst.
Patched
Libarchive Remote Code Execution Vulnerability
Patched
Windows libarchive Remote Code Execution Vulnerability