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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2025-06-09 20:15
Updated : 2025-08-15 18:16
NVD link : CVE-2025-5917
Mitre link : CVE-2025-5917
CVE.ORG link : CVE-2025-5917
JSON object : View
Products Affected
redhat
- openshift_container_platform
- enterprise_linux
libarchive
- libarchive
CWE
CWE-787
Out-of-bounds Write
