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. This bug affects libarchive versions prior to 3.8.0.

SeverityLow
CVSS2.8
Exploit probability—
ProductLibarchive
PublishedJun 9, 2025
First seenJun 9, 2025

How to fix

Affected products

ProductAffected versionsFixed in
libarchive libarchivev < 3.8.03.8.0
redhat openshift_container_platform4.0—
redhat enterprise_linux6.0, 7.0, 8.0, 9.0, 10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.