Vulnerabilities · 2025 · Libarchive
CVE-2025-5917
Libarchive vulnerability
A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.
Affected products
Libarchive, Openshift Container Platform, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Libarchive products
CVE-2025-60753CVE-2025-25724CVE-2025-5918CVE-2025-5916CVE-2025-5915CVE-2025-5914CVE-2025-1632CVE-2024-48958All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.