CVE-2025-5918 Libarchive: reading past eof may be triggered for piped file streams
MediumCVSS 6.6
EPSS 0.39%
- 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 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.
Upgrade path
16 packages: 10 fixed, 1 partially fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 6.0; = 7.0; = 8.0; = 9.0 +1 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 |
| cbl-mariner cmake(CBL-Mariner 2.0) | < 3.21.4-20; All versions | 3.21.4-20 | Partially fixed |
| azure linux cmake(Azure Linux 3.0) | < 3.30.3-8 | 3.30.3-8 | Fixed |
| 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+deb12u4; = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2 +1 more | 3.6.2-1+deb12u4 | Fixed |
| debian/libarchive(Debian 13) | < 3.7.4-4+deb13u1; = 3.7.4-4 | 3.7.4-4+deb13u1 | Fixed |
| debian/libarchive(Debian 14) | < 3.8.4-1; = 3.7.4-4 | 3.8.4-1 | 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.6 | 3.6.0-1ubuntu1.6 | Fixed |
| ubuntu/libarchive(Ubuntu 24.04) | < 3.7.2-2ubuntu0.6 | 3.7.2-2ubuntu0.6 | 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 cmake(Azure Linux:3.0) | < 3.30.3-8 | 3.30.3-8 |
| 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 |
| cbl-mariner cmake(CBL-Mariner:2.0) | < 3.21.4-20 | 3.21.4-20 |
| cbl-mariner cmake(CBL-Mariner:2.0) | All versions | No fix listed |
| debian/libarchive(Debian:12) | < 3.6.2-1+deb12u4 | 3.6.2-1+deb12u4 |
| 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:12) | = 3.6.2-1+deb12u3 | No fix listed |
| debian/libarchive(Debian:13) | < 3.7.4-4+deb13u1 | 3.7.4-4+deb13u1 |
| debian/libarchive(Debian:13) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:14) | < 3.8.4-1 | 3.8.4-1 |
| debian/libarchive(Debian:14) | = 3.7.4-4 | No fix listed |
| 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.6 | 3.6.0-1ubuntu1.6 |
| ubuntu/libarchive(Ubuntu:24.04) | < 3.7.2-2ubuntu0.6 | 3.7.2-2ubuntu0.6 |
| 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 |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-5918 vendor-advisory
- access.redhat.com vdb-entry vendor-advisory
- RHBZ#2370877 issue-tracking
- github.com patch
- github.com release-notes
- Ubuntu CVE tracker vendor-advisory
- USN-8147-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-17573 third-party-advisory