Skip to main content
← All vulnerabilities
CVE-2025-5918

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published1 day
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

    448 days (about 1 year)
  3. Record last updated

Affected versions

  • libarchive

    fixed in 3.8.0

  • libarchive

    Version range not reported

  • libarchive

    Version range not reported

  • libarchive

    Version range not reported

  • libarchive

    Version range not reported

  • libarchive

    Version range not reported

  • openshift/ose-rhel-coreos-8

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

References 4

access.redhat.com

bugzilla.redhat.com

GitHub · libarchive/libarchive