CVE-2025-5918
CVE-2025-5918 · Libarchive: reading past eof may be triggered for piped file streams
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.9 · Low · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 10
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 9
No fix published
red hat openshift container platform 4
No fix published
libarchive Debian:12
- Versions
- 3.6.2-1
- 3.6.2-1+deb12u1
- 3.6.2-1+deb12u2
- 3.6.2-1+deb12u3
- Affected ranges
- ECOSYSTEM: < 3.6.2-1+deb12u4
Update to 3.6.2-1+deb12u4
libarchive Debian:13
- Versions
- 3.7.4-4
- Affected ranges
- ECOSYSTEM: < 3.7.4-4+deb13u1
Update to 3.7.4-4+deb13u1
libarchive Debian:14
- Versions
- 3.7.4-4
- Affected ranges
- ECOSYSTEM: < 3.8.4-1
Update to 3.8.4-1
libarchive Ubuntu:Pro:14.04:LTS
- Versions
- 3.1.2-5ubuntu1
- 3.1.2-7ubuntu1
- 3.1.2-7ubuntu2
- 3.1.2-7ubuntu2.1
- 3.1.2-7ubuntu2.2
- 3.1.2-7ubuntu2.3
- 3.1.2-7ubuntu2.4
- 3.1.2-7ubuntu2.6
- 3.1.2-7ubuntu2.7
- 3.1.2-7ubuntu2.8
- 3.1.2-7ubuntu2.8+esm1
- 3.1.2-7ubuntu2.8+esm3
- Affected ranges
- ECOSYSTEM: < 3.1.2-7ubuntu2.8+esm4
Update to 3.1.2-7ubuntu2.8+esm4
libarchive Ubuntu:Pro:16.04:LTS
- Versions
- 3.1.2-11build1
- 3.1.2-11ubuntu0.16.04.1
- 3.1.2-11ubuntu0.16.04.2
- 3.1.2-11ubuntu0.16.04.3
- 3.1.2-11ubuntu0.16.04.4
- 3.1.2-11ubuntu0.16.04.5
- 3.1.2-11ubuntu0.16.04.6
- 3.1.2-11ubuntu0.16.04.7
- 3.1.2-11ubuntu0.16.04.8
- 3.1.2-11ubuntu0.16.04.8+esm1
- Affected ranges
- ECOSYSTEM: < 3.1.2-11ubuntu0.16.04.8+esm2
Update to 3.1.2-11ubuntu0.16.04.8+esm2
libarchive Ubuntu:Pro:18.04:LTS
- Versions
- 3.2.2-3.1
- 3.2.2-3.1ubuntu0.1
- 3.2.2-3.1ubuntu0.2
- 3.2.2-3.1ubuntu0.3
- 3.2.2-3.1ubuntu0.4
- 3.2.2-3.1ubuntu0.5
- 3.2.2-3.1ubuntu0.6
- 3.2.2-3.1ubuntu0.7
- 3.2.2-3.1ubuntu0.7+esm1
- Affected ranges
- ECOSYSTEM: < 3.2.2-3.1ubuntu0.7+esm2
Update to 3.2.2-3.1ubuntu0.7+esm2
libarchive Ubuntu:Pro:20.04:LTS
- Versions
- 3.4.0-1
- 3.4.0-1build1
- 3.4.0-1ubuntu2
- 3.4.0-2ubuntu1
- 3.4.0-2ubuntu1.1
- 3.4.0-2ubuntu1.2
- 3.4.0-2ubuntu1.3
- 3.4.0-2ubuntu1.4
- 3.4.0-2ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 3.4.0-2ubuntu1.5+esm1
Update to 3.4.0-2ubuntu1.5+esm1
libarchive Ubuntu:22.04:LTS
- Versions
- 3.4.3-2
- 3.4.3-2build1
- 3.5.2-1
- 3.5.2-1ubuntu1
- 3.6.0-1ubuntu1
- 3.6.0-1ubuntu1.1
- 3.6.0-1ubuntu1.2
- 3.6.0-1ubuntu1.3
- 3.6.0-1ubuntu1.4
- 3.6.0-1ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 3.6.0-1ubuntu1.6
Update to 3.6.0-1ubuntu1.6
libarchive Ubuntu:24.04:LTS
- Versions
- 3.6.2-1ubuntu1
- 3.7.2-1ubuntu1
- 3.7.2-1ubuntu2
- 3.7.2-1.1ubuntu2
- 3.7.2-2
- 3.7.2-2ubuntu0.1
- 3.7.2-2ubuntu0.2
- 3.7.2-2ubuntu0.3
- 3.7.2-2ubuntu0.4
- 3.7.2-2ubuntu0.5
- Affected ranges
- ECOSYSTEM: < 3.7.2-2ubuntu0.6
Update to 3.7.2-2ubuntu0.6
libarchive Ubuntu:25.10
- Versions
- 3.7.7-0ubuntu2
- 3.7.7-0ubuntu2.1
- 3.7.7-0ubuntu2.2
- 3.7.7-0ubuntu3
- Affected ranges
- ECOSYSTEM: < 3.7.7-0ubuntu3.1
Update to 3.7.7-0ubuntu3.1