CVE-2025-5917Libarchive
Medium 5.0
Follow: this CVE · Libarchive · Libarchive We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 5.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 9, 2025
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libarchive.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libarchive | libarchive | < 3.8.0 |
| redhat | openshift_container_platform | 4.0 |
| redhat | enterprise_linux | 6.0 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
| redhat | enterprise_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking
- github.com Patch
- github.com Release Notes