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.
Problem types
Product status
Any version before 3.8.0
Timeline
| 2025-06-06: | Reported to Red Hat. |
| 2025-05-20: | Made public. |
References
access.redhat.com/security/cve/CVE-2025-5918
bugzilla.redhat.com/show_bug.cgi?id=2370877 (RHBZ#2370877)
github.com/libarchive/libarchive/pull/2584
github.com/libarchive/libarchive/releases/tag/v3.8.0