CVE-2025-5917
Severity
5.0MEDIUM
EPSS
0.1%
top 69.42%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 9
Latest updateApr 2
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:LExploitability: 1.3 | Impact: 1.4
Affected Packages2 packages
Also affects: Enterprise Linux 10.0, 6.0, 7.0, 8.0, 9.0, Openshift Container Platform 4.0
Patches
🔴Vulnerability Details
3📋Vendor Advisories
5Microsoft▶
Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c↗2025-06-10
Red Hat▶
libarchive: Off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c↗2025-05-20
Debian▶
CVE-2025-5917: libarchive - A vulnerability has been identified in the libarchive library. This flaw involve...↗2025