ALAS2MOCK2-2026-005


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

Issue Overview:

A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm. (CVE-2026-95521)


Affected Packages:

compat-rpm-411


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 compat-rpm-411 or yum update --advisory ALAS2MOCK2-2026-005 to update your system.

New Packages:
aarch64:
    compat-rpm-411-4.11.3-40.amzn2.0.2.aarch64
    compat-rpm-411-debuginfo-4.11.3-40.amzn2.0.2.aarch64

src:
    compat-rpm-411-4.11.3-40.amzn2.0.2.src

x86_64:
    compat-rpm-411-4.11.3-40.amzn2.0.2.x86_64
    compat-rpm-411-debuginfo-4.11.3-40.amzn2.0.2.x86_64