ALAS2MOCK2-2026-003


Amazon Linux 2 (EOS) Security Advisory: ALAS2MOCK2-2026-003
Advisory Released Date: 2026-11-09
Advisory Updated Date: 2026-11-09
Severity: Important

Issue Overview:

A heap-based buffer overflow flaw was found in rpm. RPMTAG_FILESIGNATURES in a crafted, unsigned RPM package's main header is declared with the wrong header type, causing hex2binv() to allocate a one-byte buffer and then write the tag's attacker-controlled, hex-decoded content -- of attacker-chosen length -- past the end of that allocation. This is reachable via rpm2cpio, rpm2archive, and rpm -qlvp on an untrusted package. (CVE-2026-103242)

A flaw was found in rpm. An attacker can exploit a command injection vulnerability by influencing the path or filename of a tarball processed by `rpmbuild -t*` to include shell metacharacters. This is particularly relevant in automated build or continuous integration (CI) workflows that ingest externally supplied artifact names. Successful exploitation allows for arbitrary command execution with the privileges of the build user, which could lead to information disclosure or disruption of the build environment. (CVE-2026-84837)

A flaw was found in rpm. An attacker can supply a crafted manifest file that, when processed by a user or automation using `rpm -q -p` or similar manifest-processing flows, leads to arbitrary code execution. This occurs because manifest entries are unexpectedly macro-expanded before being opened, allowing embedded shell commands to run with the privileges of the `rpm` process. Successful exploitation can lead to a full compromise of confidentiality, integrity, and availability for the affected account. (CVE-2026-95519)


Affected Packages:

rpm


Note:

This advisory is applicable to Amazon Linux 2 - Mock2 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update rpm or yum update --advisory ALAS2MOCK2-2026-003 to update your system.

New Packages:
aarch64:
    rpm-4.14.3-4.amzn2.0.4.aarch64
    rpm-libs-4.14.3-4.amzn2.0.4.aarch64
    rpm-build-libs-4.14.3-4.amzn2.0.4.aarch64
    rpm-devel-4.14.3-4.amzn2.0.4.aarch64
    rpm-build-4.14.3-4.amzn2.0.4.aarch64
    rpm-sign-4.14.3-4.amzn2.0.4.aarch64
    python2-rpm-4.14.3-4.amzn2.0.4.aarch64
    python3-rpm-4.14.3-4.amzn2.0.4.aarch64
    rpm-plugin-selinux-4.14.3-4.amzn2.0.4.aarch64
    rpm-plugin-syslog-4.14.3-4.amzn2.0.4.aarch64
    rpm-plugin-systemd-inhibit-4.14.3-4.amzn2.0.4.aarch64
    rpm-plugin-ima-4.14.3-4.amzn2.0.4.aarch64
    rpm-plugin-prioreset-4.14.3-4.amzn2.0.4.aarch64
    rpm-debuginfo-4.14.3-4.amzn2.0.4.aarch64

noarch:
    rpm-apidocs-4.14.3-4.amzn2.0.4.noarch
    rpm-cron-4.14.3-4.amzn2.0.4.noarch

src:
    rpm-4.14.3-4.amzn2.0.4.src

x86_64:
    rpm-4.14.3-4.amzn2.0.4.x86_64
    rpm-libs-4.14.3-4.amzn2.0.4.x86_64
    rpm-build-libs-4.14.3-4.amzn2.0.4.x86_64
    rpm-devel-4.14.3-4.amzn2.0.4.x86_64
    rpm-build-4.14.3-4.amzn2.0.4.x86_64
    rpm-sign-4.14.3-4.amzn2.0.4.x86_64
    python2-rpm-4.14.3-4.amzn2.0.4.x86_64
    python3-rpm-4.14.3-4.amzn2.0.4.x86_64
    rpm-plugin-selinux-4.14.3-4.amzn2.0.4.x86_64
    rpm-plugin-syslog-4.14.3-4.amzn2.0.4.x86_64
    rpm-plugin-systemd-inhibit-4.14.3-4.amzn2.0.4.x86_64
    rpm-plugin-ima-4.14.3-4.amzn2.0.4.x86_64
    rpm-plugin-prioreset-4.14.3-4.amzn2.0.4.x86_64
    rpm-debuginfo-4.14.3-4.amzn2.0.4.x86_64