CVE-2025-5917
MEDIUM EPSS 5.7%
Published Jun 9, 20251y ago · Modified Jun 17, 20262w ago
5.0 CVSS 3.1
Published Jun 9, 2025 1y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
5.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 7
References 4
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-5917
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2370874
- github.com https://github.com/libarchive/libarchive/pull/2588
- github.com https://github.com/libarchive/libarchive/releases/tag/v3.8.0
Remediation
- github.com https://github.com/libarchive/libarchive/pull/2588