CVE-2025-5915
MediumCVSS 6.6Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
A heap buffer over-read vulnerability has been identified in the libarchive library. The issue occurs when the size of a filter block exceeds the LZSS window, potentially causing the library to read beyond allocated memory, leading to unpredictable behavior, crashes, or disclosure of sensitive information.
Risk Assessment
The risk includes potential denial of service through crashes and exposure of sensitive data from adjacent memory regions, which could lead to data breaches or service disruptions.
Recommendation
Immediately update libarchive to the latest patched version. If an update is not possible, restrict processing of untrusted archives until the fix is applied.
Other vulnerabilities in libarchive
See all- CVE-2017-13816High
An issue was discovered in certain Apple products, including macOS before 10.13.1, related to the 'libarchive' component. It allows remote attackers to execute arbitrary code or cause a denial of service via a crafted archive file.
- CVE-2017-13813High
An issue was discovered in certain Apple products, including macOS before 10.13.1, involving the 'libarchive' component. It allows remote attackers to execute arbitrary code or cause a denial of service via a crafted archive file.
- CVE-2017-13812High
An issue was discovered in certain Apple products, including macOS before 10.13.1, involving the 'libarchive' component. It allows remote attackers to execute arbitrary code or cause a denial of service via a crafted archive file.
- CVE-2017-14502High
The libarchive library version 3.3.2 has an off-by-one error in the read_header function affecting UTF-16 names in RAR archives. This can lead to an out-of-bounds read in the archive_read_format_rar_read_header function.
- CVE-2017-7068High
An issue was discovered in certain Apple products related to the 'libarchive' component. It affects iOS before 10.3.3, macOS before 10.12.6, tvOS before 10.2.2, and watchOS before 3.2.3, allowing remote attackers to execute arbitrary code or cause a denial of service.
- CVE-2016-8689High
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
- CVE-2016-8687High
A stack-based buffer overflow in the safe_fprintf function in tar/util.c in libarchive 3.2.1 allows remote attackers to cause a denial of service via a crafted non-printable multibyte character in a filename.
- CVE-2017-5601High
An error in the lha_read_file_header_1() function in libarchive 3.2.2 allows remote attackers to trigger an out-of-bounds read memory access, potentially causing a crash via a specially crafted archive.
- CVE-2016-4736High
libarchive in Apple OS X before 10.12 allows remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted file.
- CVE-2016-6250High
Integer overflow in the ISO9660 writer in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via vectors related to verifying filename lengths when writing an ISO9660 archive, which trigger a buffer overflow.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

