What’s Vulnerable › Vulnerabilities

CVE-2025-5918: Libarchive: reading past eof may be triggered for piped file streams

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.

Affected products

How to fix

Upgrade to a fixed version: libarchive 3.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5918 or the next vulnerability affects your stack