VDB

CVE-2025-5918

CVE-2025-5918 PUBLISHED CVSS 3.9 LOW

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

Reported by redhat · Published June 9, 2025

libarchive is fixed in 3.8.0 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libarchiveGitHub Packages3.8.0
libarchivelibarchive3.8.0

Risk scores

CVSS 3.1
3.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI (RHOAI)

…and 62 more

Timeline

  • Jun 9, 2025 CVE Published
  • Jun 10, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 12, 2025 Coalition ESS Score (18 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (10 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5918
vulnetix vdb fixes CVE-2025-5918

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5918/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vdb-entryx_refsource_REDHAT
  • RHBZ#2370877 issue-trackingx_refsource_REDHAT
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›