Skip to content
OpenAdvisories
Medium ALAS2023-2025-1091 2 CVEs

Moderate: libarchive security update (Amazon Linux 2023)

Published Jul 21, 2025 · Updated Aug 8, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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. CVE-2025-5915: 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.

Fixed packages 12

ReleasePackageFixed in
Amazon Linux · 2023 bsdcat 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdcat-debuginfo 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdcpio 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdcpio-debuginfo 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdtar 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdtar-debuginfo 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdunzip 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 bsdunzip-debuginfo 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 libarchive 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 libarchive-debuginfo 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 libarchive-debugsource 0:3.7.4-2.amzn2023.0.4
Amazon Linux · 2023 libarchive-devel 0:3.7.4-2.amzn2023.0.4

Vulnerabilities 2

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-5915.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-5917.html