CVE-2025-5917

low

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-06-12

Risk Information

CVSS v2

Base Score: 1.7

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

Severity: Low

CVSS v3

Base Score: 2.8

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

Severity: Low

EPSS

EPSS: 0.00013