CVE-2025-5917

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

History

15 Aug 2025, 18:16

Type Values Removed Values Added
First Time Redhat openshift Container Platform
Redhat enterprise Linux
Libarchive
Redhat
Libarchive libarchive
References () https://access.redhat.com/security/cve/CVE-2025-5917 - () https://access.redhat.com/security/cve/CVE-2025-5917 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2370874 - () https://bugzilla.redhat.com/show_bug.cgi?id=2370874 - Issue Tracking
References () https://github.com/libarchive/libarchive/pull/2588 - () https://github.com/libarchive/libarchive/pull/2588 - Patch
References () https://github.com/libarchive/libarchive/releases/tag/v3.8.0 - () https://github.com/libarchive/libarchive/releases/tag/v3.8.0 - Release Notes
CPE cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

12 Jun 2025, 16:06

Type Values Removed Values Added
Summary
  • (es) Se ha identificado una vulnerabilidad en la librería libarchive. Esta falla implica un error de cálculo de un byte al gestionar prefijos y sufijos de nombres de archivo. Esto puede provocar un desbordamiento de escritura de 1 byte. Aunque aparentemente leve, este desbordamiento puede corromper la memoria adyacente, provocando un comportamiento impredecible del programa, bloqueos o, en circunstancias específicas, podría utilizarse como base para una explotación más sofisticada.

09 Jun 2025, 20:15

Type Values Removed Values Added
New CVE

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