LOW Red Hat, Inc. Vulnerability Alert

CVE: CVE-2025-5917
A vulnerability has been identified in the libarchive library involving an ‘off-by-one’ miscalculation when handling prefixes and suffixes for file names. This flaw can lead to a 1-byte write overflow, which may corrupt adjacent memory. Although the overflow is small, it can result in unpredictable program behavior, crashes, or be used as a foundation for more sophisticated exploitation.

Details

Severity Base Score CVE
LOW 2.8 CVE-2025-5917

Exploitation
To exploit this vulnerability, an attacker would need local access to the system and could leverage the ‘off-by-one’ miscalculation in the libarchive library when processing specially crafted file names. This could lead to memory corruption and potentially allow for further exploitation of the system.

Affected Products

  • libarchive: A library for reading and writing streaming archives.

Mitigation
To mitigate this vulnerability, users should ensure they are using the latest version of the libarchive library, which includes patches for this flaw. Regularly updating software and monitoring for security advisories can help protect against potential exploitation.

References