CVE-2025-5917: Libarchive
Medium severity, CVSS 5.0. EPSS: 0.2% chance of exploitation in the next 30 days.
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 Libarchive: before 3.8.0 (fixed in 3.8.0)
- Red Hat Enterprise Linux: version 6.0 only; version 7.0 only; version 8.0 only; version 9.0 only; version 10.0 only
- Red Hat Openshift Container Platform: version 4.0 only
Published 2025-06-09. Last modified 2026-09-01.