CVE-2025-5915 Libarchive: heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c
MediumCVSS 6.6
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
14 packages: 9 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 6.0; = 7.0; = 8.0; = 9.0 +2 more | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| azure linux libarchive(Azure Linux 3.0) | < 3.7.7-3 | 3.7.7-3 | Fixed |
| cbl-mariner libarchive(CBL-Mariner 2.0) | < 3.6.1-7 | 3.6.1-7 | Fixed |
| debian/libarchive(Debian 12) | < 3.6.2-1+deb12u3; = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2 | 3.6.2-1+deb12u3 | Fixed |
| debian/libarchive(Debian 13) | < 3.7.4-4 | 3.7.4-4 | Fixed |
| debian/libarchive(Debian 14) | < 3.7.4-4 | 3.7.4-4 | Fixed |
| libarchive | < 3.8.0 | 3.8.0 | Fixed |
| libarchive | < 3.8.0 | 3.8.0 | Fixed |
| ubuntu/libarchive(Ubuntu 22.04) | < 3.6.0-1ubuntu1.5 | 3.6.0-1ubuntu1.5 | Fixed |
| ubuntu/libarchive(Ubuntu 24.04) | < 3.7.2-2ubuntu0.5 | 3.7.2-2ubuntu0.5 | Fixed |
| redhat openshift container platform | = 4.0 | No fix listed | Versions listed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux libarchive(Azure Linux:3.0) | < 3.7.7-3 | 3.7.7-3 |
| cbl-mariner libarchive(CBL-Mariner:2.0) | < 3.6.1-7 | 3.6.1-7 |
| debian/libarchive(Debian:12) | < 3.6.2-1+deb12u3 | 3.6.2-1+deb12u3 |
| debian/libarchive(Debian:12) | = 3.6.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u2 | No fix listed |
| debian/libarchive(Debian:13) | < 3.7.4-4 | 3.7.4-4 |
| debian/libarchive(Debian:14) | < 3.7.4-4 | 3.7.4-4 |
| libarchive | < 3.8.0 | 3.8.0 |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | < 3.6.0-1ubuntu1.5 | 3.6.0-1ubuntu1.5 |
| ubuntu/libarchive(Ubuntu:24.04) | < 3.7.2-2ubuntu0.5 | 3.7.2-2ubuntu0.5 |
| redhat openshift container platform | = 4.0 | No fix listed |
| redhat enterprise linux | = 6.0 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-5915 vendor-advisory
- access.redhat.com vdb-entry vendor-advisory
- RHBZ#2370865 issue-tracking
- github.com patch
- github.com release-notes
- Ubuntu CVE tracker vendor-advisory
- USN-7601-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-17576 third-party-advisory