CVE-2025-5917

medium

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.

References

https://github.com/libarchive/libarchive/releases/tag/v3.8.0

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

https://bugzilla.redhat.com/show_bug.cgi?id=2370874

https://access.redhat.com/security/cve/CVE-2025-5917

Details

Source: Mitre, NVD

Published: 2025-06-09

Updated: 2025-08-15

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00013