Generated remediation guidance and an executive summary. No account required.
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.
Use CWE-787, Libarchive vendor hub and Libarchive product page to widen CVE-2025-5917 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-5914, CVE-2024-48958 and CVE-2024-48957 for nearby disclosures in the same product family.