CVE-2025-5917: libarchive Out-of-bounds Write
Vulnerability summary
CVE-2025-5917 is a medium (CVSS 5.0) Out-of-bounds Write vulnerability in libarchive. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 8 · Related 7Timeline
- 09-06-2025PublishedVulnerability first disclosed.
- 01-09-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- CVE.orgCNA2.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
+0.03 pp
From 0.20% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat2 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0 | 10.0
- openshift_container_platform4.0
Debian1 product
- libarchive< 3.6.2-1+deb12u3 | < 3.7.4-4
Libarchive1 product
- libarchive< 3.8.0
Ubuntu1 product
- libarchive< 3.1.2-7ubuntu2.8+esm4 | < 3.1.2-11ubuntu0.16.04.8+esm2 | < 3.2.2-3.1ubuntu0.7+esm2 | < 3.4.0-2ubuntu1.5+esm1 | < 3.6.0-1ubuntu1.5 | < 3.7.2-2ubuntu0.5 | < 3.7.7-0ubuntu3
4 vendors · 5 products