StraitOfVuln
Latest / CVE-2025-5917

CVE-2025-5917

MediumCVSS 5.0 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2025-5917
Published / updated
09 Jun 2025, 20:15 UTC · last modified 25 Nov 2026, 17:17 UTC
Severity
MEDIUM
CVSS score
5.0 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H · Attack vector: Local
Affected vendor
Affected products
Libarchive, Enterprise Linux, Openshift Container Platform
Affected versions
Libarchive: < 3.8.0
Enterprise Linux: 6.0
Enterprise Linux: 7.0
Enterprise Linux: 8.0
Enterprise Linux: 9.0
Enterprise Linux: 10.0
Openshift Container Platform: 4.0
Fixed versions
libarchive 3.8.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.32% probability of exploitation in the next 30 days · 27% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (libarchive 3.8.0) per the vendor advisory.
Source (CNA)
secalert@redhat.com