Heap-based Buffer Overflow Affecting libarchive-devel package, versions <0:3.7.4-2.amzn2023.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.2% (9th 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-AMZN2023-LIBARCHIVEDEVEL-11335541
  • published30 Jul 2025
  • disclosed9 Jun 2025

Introduced: 9 Jun 2025

CVE-2025-5915  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libarchive-devel to version 0:3.7.4-2.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2025-1091.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over-read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window. This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions.

CVSS Base Scores

version 3.1