CVE-2025-5917

LOW
Published Jun 9, 2025 Modified Dec 12, 2025 CWE-787

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.

CVSS v3.1 Score

2.8
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Weakness Type (CWE)

CWE-787 Out-of-bounds Write

Affected Products

Vendor Product
libarchive libarchive
redhat openshift_container_platform
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux

References

Frequently Asked Questions

What is 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. This bug affects libarchive versions prior to 3.8.0. It has a CVSS v3.1 base score of 2.8 (LOW).
How severe is CVE-2025-5917? +
CVE-2025-5917 has a CVSS v3.1 score of 2.8 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2025-5917? +
CVE-2025-5917 affects products from libarchive, redhat, specifically: enterprise_linux, libarchive, openshift_container_platform. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-5917? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-5917 — free, no signup required.

Start Free Scan