{"id":"CVE-2025-5918","published":"2025-06-09T19:49:13Z","modified":"2026-11-06T17:52:34Z","title":"Libarchive: reading past eof may be triggered for piped file streams","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00393,"percentile":0.3439,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-5918","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370877","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/libarchive/libarchive/pull/2584","tags":[]},{"url":"https://github.com/libarchive/libarchive/releases/tag/v3.8.0","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":6.88},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 3.8.0"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["Upgrade to libarchive version 3.8.0 or later, which includes important security fixes and stability improvements."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-10T13:44:05.687379Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-17573","exploited":false,"provenance":"source"}}