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.
CVE-2025-5917
CVSS base score
2.8 (v3.1)
Severity
LOW
Attack vector
Local
Weakness
CWE-787
Last modified
November 25, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Affected products
libarchive libarchive
redhat openshift container platform
redhat enterprise linux
References
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking
- github.com Patch
- github.com Release Notes