CVE-2026-84838Rpm: command injection in rpmuncompress via unescaped filenames passed to popen()
A flaw was found in rpmuncompress. This command injection vulnerability allows a local attacker to execute arbitrary commands. This occurs when rpmuncompress processes a specially crafted archive filename containing shell metacharacters, which are not properly escaped before being passed to shell command strings. Successful exploitation requires user interaction, where a user or automated workflow invokes rpmuncompress on the malicious file, leading to high impact on the confidentiality, integrity, and availability of data accessible to the invoking user.
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rpm | Fix pending | UBUNTU-CVE-2026-84838 | |
| Ubuntu 26.04 | rpm | Under investigation | UBUNTU-CVE-2026-84838 | |
| Ubuntu 24.04 | rpm | Under investigation | UBUNTU-CVE-2026-84838 | |
| Ubuntu 22.04 | rpm | Under investigation | UBUNTU-CVE-2026-84838 | |
| Ubuntu 20.04 | rpm | Fix pending | UBUNTU-CVE-2026-84838 | |
| Ubuntu 18.04 | rpm | Fix pending | UBUNTU-CVE-2026-84838 | |
| Ubuntu 16.04 | rpm | Fix pending | UBUNTU-CVE-2026-84838 | |
| Ubuntu 14.04 | rpm | Fix pending | UBUNTU-CVE-2026-84838 | |
| Debian 14 | rpm | Fix pending | DEBIAN-CVE-2026-84838 | |
| Debian 13 | rpm | Fix pending | DEBIAN-CVE-2026-84838 | |
| Debian 12 | rpm | Fix pending | DEBIAN-CVE-2026-84838 | |
| Red Hat Enterprise Linux 10 | python3-rpm | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-apidocs | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-build | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-build-libs | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-cron | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-devel | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-libs | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-audit | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-dbus-announce | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-fapolicyd | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-ima | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-selinux | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-syslog | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-plugin-systemd-inhibit | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-sign | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 10 | rpm-sign-libs | Fixed | 0:4.19.1.1-29.el10_3 | RHSA-2026:99595 |
| Red Hat Enterprise Linux 9 | python3-rpm | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-apidocs | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-build | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-build-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-cron | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-audit | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-fapolicyd | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-ima | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-syslog | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-plugin-systemd-inhibit | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-sign | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-sign-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-rpm | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-apidocs | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-build | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-build-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-cron | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-fapolicyd | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-ima | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-prioreset | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-syslog | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-plugin-systemd-inhibit | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-sign | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-apidocs | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-build | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-build-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-cron | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-plugin-systemd-inhibit | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-python | Not affected | ||
| Red Hat Enterprise Linux 7 | rpm-sign | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-apidocs | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-build | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-cron | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | rpm-python | Not affected | ||
| AlmaLinux 10 | python3-rpm | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-apidocs | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-build | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-build-libs | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-cron | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-devel | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-libs | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-audit | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-dbus-announce | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-fapolicyd | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-ima | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-selinux | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-syslog | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-plugin-systemd-inhibit | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-sign | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| AlmaLinux 10 | rpm-sign-libs | Fixed | 4.19.1.1-29.el10_3.alma.1 | ALSA-2026:99595 |
| Rocky Linux 10 | python3-rpm | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-apidocs | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-build | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-build-libs | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-cron | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-devel | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-libs | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-audit | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-dbus-announce | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-fapolicyd | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-ima | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-selinux | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-syslog | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-plugin-systemd-inhibit | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-sign | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
| Rocky Linux 10 | rpm-sign-libs | Fixed | 0:4.19.1.1-29.el10_3 | RLSA-2026:99595 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.2 Extended Update Support
- Red Hat Hardened Images
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: To mitigate this issue, avoid processing untrusted archive filenames with `rpmuncompress` or any workflows that invoke `%{__rpmuncompress}`. Before any build or extraction steps, rename source and patch archives to remove any shell metacharacters from their filenames.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:100638 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:82378 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:99595 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:100638
- https://access.redhat.com/errata/RHSA-2026:82378
- https://access.redhat.com/errata/RHSA-2026:99595
- https://access.redhat.com/security/cve/CVE-2026-84838
- https://bugzilla.redhat.com/show_bug.cgi?id=2462222
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.