Out-of-bounds Write Affecting libarchive-devel package, versions <3.5.1-150400.3.21.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.23% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-LIBARCHIVEDEVEL-12098554
  • published21 Aug 2025
  • disclosed20 Aug 2025

Introduced: 20 Aug 2025

CVE-2025-5917  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 libarchive-devel to version 3.5.1-150400.3.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive-devel package and not the libarchive-devel package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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 Base Scores

version 3.1