---
title: "CVE-2026-78367"
canonical_url: "https://pkgseek.com/security/CVE-2026-78367"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-78367

A vulnerability was found in RPM's rpmbuild tarball processing. When processing a crafted source archive, the getTarSpec() function in tools/rpmbuild.cc passes an attacker-controlled tar archive member name to rpmExpand() as part of a %{basename:...} macro expression. A specially crafted .spec member name can therefore inject RPM macros, including Lua expressions, resulting in arbitrary code execution with the privileges of the user running rpmbuild. This can be exploited when a victim or automated build system processes an attacker-controlled source tarball using rpmbuild tarball mode (such a…

CVE-2026-78367 is rated HIGH (7.0), with 156 indexed affected package builds across 6 distributions.

- **Severity / Score**: HIGH (7.0)
- **Affected builds**: 156
- **Affected distros**: 6
- **Distros with fixed_in**: Alibaba Cloud Linux, AlmaLinux, OpenAnolis, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 4 | python3-rpm | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-apidocs | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-build | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-build-libs | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-cron | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-devel | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-libs | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-audit | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-dbus-announce | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-fapolicyd | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-fsverity | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-ima | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-prioreset | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-selinux | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-syslog | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-plugin-systemd-inhibit | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-sign | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| Alibaba Cloud Linux | 4 | rpm-sign-libs | 4.18.2-5.alnx4 | 4.18.2-6.alnx4 |
| AlmaLinux | 10 | python3-rpm | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-apidocs | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-build | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-build-libs | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-cron | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-devel | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-libs | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-audit | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-dbus-announce | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-fapolicyd | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-ima | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-selinux | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-syslog | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-plugin-systemd-inhibit | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-sign | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 10 | rpm-sign-libs | 4.19.1.1-23.el10.alma.1 | 4.19.1.1-29.el10_3.alma.1 |
| AlmaLinux | 9 | python3-rpm | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-apidocs | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-build | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-build-libs | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-cron | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-devel | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-libs | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-audit | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-fapolicyd | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-ima | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-selinux | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-syslog | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-plugin-systemd-inhibit | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-sign | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| AlmaLinux | 9 | rpm-sign-libs | 4.16.1.3-40.el9 | 4.16.1.3-43.el9_9 |
| Debian | trixie | librpm10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmbuild10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpm-dev | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmio10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmsign10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | python3-rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm2cpio | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-common | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-i18n | 4.20.1+dfsg-3 | — |
| OpenAnolis | 8.10 | python3-rpm | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-apidocs | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-build-libs | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-cron | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-devel | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-libs | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-plugin-ima | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-plugin-prioreset | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-plugin-selinux | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-plugin-syslog | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-plugin-systemd-inhibit | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| OpenAnolis | 8.10 | rpm-sign | 4.14.3-32.0.2.an8 | 4.14.3-34.0.1.an8 |
| Oracle Linux | 10 | python3-rpm | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-apidocs | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-build | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-build-libs | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-cron | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-devel | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-libs | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-audit | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-dbus-announce | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-fapolicyd | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-ima | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-selinux | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-syslog | 4.19.1.1-23.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-plugin-systemd-inhibit | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-sign | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 10 | rpm-sign-libs | 4.19.1.1-25.el10 | 4.19.1.1-29.el10_3 |
| Oracle Linux | 8 | python3-rpm | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-apidocs | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-build | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-build-libs | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-cron | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-devel | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |
| Oracle Linux | 8 | rpm-libs | 4.14.3-32.0.1.el8_10 | 4.14.3-34.0.1.el8_10 |

_Showing 100 of 156 total affected builds._
