Buffer overflow in Libarchive
CVE-2025-5915
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 class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 13.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libarchive
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Openshift Ai (Rhoai)
- Red Hat Openshift Container Platform 4
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
- Red Hat Openshift Container Platform — versions 4.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- R3n3r0/cve-2025-5915 (last pushed 2026-07-30)
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/security/cve/CVE-2025-5915 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking)
- github.com/libarchive/libarchive/pull/2599 (Patch)
- github.com/libarchive/libarchive/releases/tag/v3.8.0 (Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.