Amazon Linux 2 Security Advisory: ALAS2-2025-2932
Advisory Released Date: 2025-07-30
Advisory Updated Date: 2025-07-30
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-5917)
Affected Packages:
libarchive
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update libarchive or yum update --advisory ALAS2-2025-2932 to update your system.
aarch64:
libarchive-3.1.2-14.amzn2.0.5.aarch64
libarchive-devel-3.1.2-14.amzn2.0.5.aarch64
bsdtar-3.1.2-14.amzn2.0.5.aarch64
bsdcpio-3.1.2-14.amzn2.0.5.aarch64
libarchive-debuginfo-3.1.2-14.amzn2.0.5.aarch64
i686:
libarchive-3.1.2-14.amzn2.0.5.i686
libarchive-devel-3.1.2-14.amzn2.0.5.i686
bsdtar-3.1.2-14.amzn2.0.5.i686
bsdcpio-3.1.2-14.amzn2.0.5.i686
libarchive-debuginfo-3.1.2-14.amzn2.0.5.i686
src:
libarchive-3.1.2-14.amzn2.0.5.src
x86_64:
libarchive-3.1.2-14.amzn2.0.5.x86_64
libarchive-devel-3.1.2-14.amzn2.0.5.x86_64
bsdtar-3.1.2-14.amzn2.0.5.x86_64
bsdcpio-3.1.2-14.amzn2.0.5.x86_64
libarchive-debuginfo-3.1.2-14.amzn2.0.5.x86_64