Name
libarchive
Version
3.7.9
Type
library
Description
Support for reading various archive formats
Licenses
BSD-2-Clause
PURL
-
CPE
cpe:2.3:*:libarchive:libarchive:3.7.9:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
rar: Fix heap-buffer-overflow (#2599)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5915
2
Fix -Wsign-compare: cast mask+1 to unsigned int
elhananhaenel <elhanan.haenel@mail.huji.ac.il>
CVE-2026-4424
3
Patch #3
Richard Purdie <richard.purdie@linuxfoundation.org>
4
Merge pull request #2749 from KlaraSystems/des/tempdir
Tim Kientzle <kientzle@acm.org>
5
warc: Prevent signed integer overflow (#2568)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5916
6
Merge pull request #2768 from Commandoss/master
Tim Kientzle <kientzle@acm.org>
7
Merge pull request #2696 from al3xtjames/mkstemp
Tim Kientzle <kientzle@acm.org>
8
Fix FILE_skip regression
Tobias Stoeckmann <tobias@stoeckmann.org>
CVE-2025-5918
9
rar: fix LZSS window size mismatch after PPMd block
elhananhaenel <elhanan.haenel@mail.huji.ac.il>
CVE-2026-4424
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
Do not skip past EOF while reading (#2584)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5918
15
Merge pull request #2753 from KlaraSystems/des/temp-files
Tim Kientzle <kientzle@acm.org>
16
Fix overflow in build_ustar_entry (#2588)
Brian Campbell <Brian.Campbell@ed.ac.uk>
CVE-2025-5917
17
Improve lseek handling (#2564)
Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
CVE-2025-5918
18
iso9660: validate pz_log2_bs in parse_rockridge_ZF1()
elhananhaenel <elhanan.haenel@mail.huji.ac.il>
CVE-2026-4426
19
Infinite loop in Rar5 decompression
Tim Kientzle <kientzle@acm.org>
CVE-2026-4111
Vulnerabilities#
Name
Analysis
Description
Patched
A flaw was found in libarchive. An Undefined Behavior vulnerability exists in the zisofs decompression logic, caused by improper validation of a field (`pz_log2_bs`) read from ISO9660 Rock Ridge extensions. A remote attacker can exploit this by supplying a specially crafted ISO file. This can lead to incorrect memory allocation and potential application crashes, resulting in a denial-of-service (DoS) condition.
Patched
A flaw was found in libarchive. This heap out-of-bounds read vulnerability exists in the RAR archive processing logic due to improper validation of the LZSS sliding window size after transitions between compression methods. A remote attacker can exploit this by providing a specially crafted RAR archive, leading to the disclosure of sensitive heap memory information without requiring authentication or user interaction.
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.