CVE-2025-5917CWE-787

CVE-2025-5917

Low · published June 10, 2025

CVSS v3.1
2.8
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
2.8 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00226 · 12.5th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-06-10T00:15Z
Affected products (7)
ProductVersionsFixed in
libarchive/libarchive< 3.8.03.8.0
redhat/openshift_container_platformall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (4)
EPSS history
Timeline
  • 09 JUN 19:49Z
    Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c
    cvelistv5