CVE-2025-5917

MEDIUM EPSS 5.7%
Published Jun 9, 20251y ago · Modified Jun 17, 20262w ago
5.0 CVSS 3.1
Medium
Find Similar
Published Jun 9, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
5.0
Exploitability
1.3
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
5.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-787 Out-of-bounds Write Memory Safety

Affected Products 7

VendorProductVersionRange
libarchivelibarchive* <3.8.0
redhatopenshift_container_platform4.0any
redhatenterprise_linux6.0any
redhatenterprise_linux7.0any
redhatenterprise_linux8.0any
redhatenterprise_linux9.0any
redhatenterprise_linux10.0any

References 4

  • access.redhat.com https://access.redhat.com/security/cve/CVE-2025-5917
    Vendor Advisory
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2370874
    Issue Tracking
  • github.com https://github.com/libarchive/libarchive/pull/2588
    Patch
  • github.com https://github.com/libarchive/libarchive/releases/tag/v3.8.0
    Release Notes

Remediation

  • github.com https://github.com/libarchive/libarchive/pull/2588
    Patch