Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-95521: 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-95520: A heap-based buffer overflow flaw was found in rpm. Parsing a symlink entry in an untrusted RPM package whose declared RPMTAG_LONGFILESIZES value is 0xFFFFFFFFFFFFFFFF causes an integer overflow in iterReadArchiveNext() that shrinks a buffer allocation to one byte, after which the payload's independently-controlled cpio filesize field is used to write attacker-controlled data past the end of that allocation. This is reachable via rpm2cpio, rpm2archive, and rpm -qlvp on an untrusted package.
Fixed packages 33
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3-rpm | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | python3-rpm-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-apidocs | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-build | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-build-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-build-libs | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-build-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-cron | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-debugsource | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-devel | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-devel-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-libs | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-audit | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-audit-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-fapolicyd | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-fapolicyd-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-ima | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-ima-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-prioreset | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-prioreset-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-selinux | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-selinux-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-syslog | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-syslog-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-systemd-inhibit | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-plugin-systemd-inhibit-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-sign | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-sign-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-sign-libs | 0:4.16.1.3-29.amzn2023.0.10 |
| Amazon Linux · 2023 | rpm-sign-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.10 |
Vulnerabilities 2
-
High 7.8
Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm
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. Th…
-
High 7.1
Rpm: rpm: integer overflow in iterreadarchivenext() leads to heap-based buffer overflow when parsing untrusted rpm packages
A heap-based buffer overflow flaw was found in rpm. Parsing a symlink entry in an untrusted RPM package whose declared RPMTAG_LONGFILESIZES value is 0xFFFFFFFFFFFFFFFF causes an integer overflow in iterReadArchiveNext() that shrinks a buffer allocation to one…