CVE-2025-5917
Last modified
CVE-2025-5917 is a medium-severity vulnerability rated 5/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-5917?
How severe is CVE-2025-5917?
How do I fix CVE-2025-5917?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59159SillyTavern is a locally installed user interface that allow…9.6
- CVE-2025-5916A vulnerability has been identified in the libarchive librar…5.6
- CVE-2025-59160Matrix JavaScript SDK is a Matrix Client-Server SDK for Java…2.7
- CVE-2025-59161Element Web is a Matrix web client built using the Matrix Re…2.7
- CVE-2025-59162color-convert provides plain color conversion functions in J…8.8
- CVE-2025-59163vet is an open source software supply chain security tool. V…2.1
- CVE-2025-59171Due to insufficient sanitization, an attacker can upload a s…9.8
- CVE-2025-59172Ericsson Packet Core Controller (PCC) versions prior to 1.38…8.5
- CVE-2025-59174Ericsson Packet Core Controller (PCC) versions prior to 1.39…7.1
- CVE-2025-59177Ericsson Packet Core Controller (PCC) versions prior to 1.39…6.8
- CVE-2025-59178Ericsson Packet Core Controller (PCC) versions prior to 1.39…4.8
- CVE-2025-5918A vulnerability has been identified in the libarchive librar…6.6
Are you affected by CVE-2025-5917?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
