CVE-2025-5918

Libarchive: reading past eof may be triggered for piped file streams

State
Published
Severity
3.9 Low
Published
Jun 9, 2025
Updated
Sep 1, 2026
Reserved
Jun 9, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:Lredhat

Weaknesses

Affected Products

ProductVersions
libarchive
  • before 3.8.0Affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 9Red Hat
            Red Hat OpenShift Container Platform 4Red Hat
              Red Hat OpenShift Container Platform 4Red Hat

                References

                Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.