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.
Conclusion & alert: CVE-2025-5917 is rated Low Risk (22.1/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.12%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-05 | 0.01% | 0.12% | +0.10% |
| 2 | 2025-06-10 | — | 0.01% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.8 | 3.1 | LOW |
|
1.3 | 1.4 | [email protected] |
| 5.0 | 3.1 | MEDIUM |
|
1.3 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2025-5917: 1 source package rows (libarchive); 50 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 50. | https://security.alpinelinux.org/vuln/CVE-2025-5917 |
debian
|
not yet assigned | CVE-2025-5917 not yet assigned priority: Debian including 1 source packages (libarchive), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-5917 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2025-5917 |
suse
|
medium | CVE-2025-5917 severity moderate: SUSE including 252 source package names (0.23.1-11.30:libarchive13-3.7.2-150600.3.17.1, 0.3.2-1.2:libarchive13-3.7.2-150600.3.17.1, …), 355 product×package rows across 82 product lines (Container bci/spack, Container containers/lmcache-vllm-openai, … (82 product lines)): Known Affected 231, Fixed 93, Known Not Affected 31. | https://www.suse.com/security/cve/CVE-2025-5917/ |
ubuntu
|
medium | CVE-2025-5917 medium priority: Ubuntu including 1 source packages (libarchive), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): released 10. | https://ubuntu.com/security/CVE-2025-5917 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| libarchive | libarchive | < 3.8.0 | cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* |
| redhat | openshift_container_platform | 4.0 | cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 6.0 | cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 7.0 | cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 9.0 | cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 10.0 | cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2025-5917 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2370874 | Issue Tracking |
| https://github.com/libarchive/libarchive/pull/2588 | Patch |
| https://github.com/libarchive/libarchive/releases/tag/v3.8.0 | Release Notes |