ALAS2-2025-2912


Amazon Linux 2 Security Advisory: ALAS2-2025-2912
Advisory Released Date: 2025-07-10
Advisory Updated Date: 2025-07-10
Severity: Important

Issue Overview:

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition. (CVE-2025-5914)


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 to update your system.

New Packages:
aarch64:
    libarchive-3.1.2-14.amzn2.0.4.aarch64
    libarchive-devel-3.1.2-14.amzn2.0.4.aarch64
    bsdtar-3.1.2-14.amzn2.0.4.aarch64
    bsdcpio-3.1.2-14.amzn2.0.4.aarch64
    libarchive-debuginfo-3.1.2-14.amzn2.0.4.aarch64

i686:
    libarchive-3.1.2-14.amzn2.0.4.i686
    libarchive-devel-3.1.2-14.amzn2.0.4.i686
    bsdtar-3.1.2-14.amzn2.0.4.i686
    bsdcpio-3.1.2-14.amzn2.0.4.i686
    libarchive-debuginfo-3.1.2-14.amzn2.0.4.i686

src:
    libarchive-3.1.2-14.amzn2.0.4.src

x86_64:
    libarchive-3.1.2-14.amzn2.0.4.x86_64
    libarchive-devel-3.1.2-14.amzn2.0.4.x86_64
    bsdtar-3.1.2-14.amzn2.0.4.x86_64
    bsdcpio-3.1.2-14.amzn2.0.4.x86_64
    libarchive-debuginfo-3.1.2-14.amzn2.0.4.x86_64