CVE-2026-78367: high-severity vulnerability in Red Hat Enterprise Linux 10
Rpm: rpmbuild gettarspec() crafted tar member name → macro injection
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7epss 0.3%
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 as -ts, -ta, or -tb).
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
Red Hat · Red Hat Enterprise Linux 10Red Hat · Red Hat Enterprise Linux 10.2 Extended Update SupportRed Hat · Red Hat Enterprise Linux 6Red Hat · Red Hat Enterprise Linux 7Red Hat · Red Hat Enterprise Linux 8Red Hat · Red Hat Enterprise Linux 9Red Hat · Red Hat Enterprise Linux 9.8 Extended Update SupportRed Hat · Red Hat Hardened ImagesRed Hat · Red Hat OpenShift AI (RHOAI)Related CVEs — Red Hat Enterprise Linux 10
In the same product, most dangerous first.
CVE-2023-4911HIGHGlibc: buffer overflow in ld.so leading to privilege escalationEPSS 63.8%KEVCVE-2024-6387HIGHOpenssh: regresshion - race condition in ssh allows rce/dosEPSS 99.5%CVE-2024-3094CRITICALXz: malicious code in distributed sourceEPSS 90.9%CVE-2024-12084CRITICALRsync: heap buffer overflow in rsync due to improper checksum length handlingEPSS 72.5%CVE-2023-1183MEDIUMArbitrary file writeEPSS 64.9%CVE-2023-34966HIGHSamba: infinite loop in mdssvc rpc service for spotlightEPSS 62.1%
References
https://access.redhat.com/errata/RHSA-2026:100637https://access.redhat.com/errata/RHSA-2026:100638https://access.redhat.com/errata/RHSA-2026:100643https://access.redhat.com/errata/RHSA-2026:82378https://access.redhat.com/errata/RHSA-2026:99593https://access.redhat.com/errata/RHSA-2026:99595https://access.redhat.com/security/cve/CVE-2026-78367https://bugzilla.redhat.com/show_bug.cgi?id=2521857https://github.com/rpm-software-management/rpm/issues/4314