CVE-2026-78367
High 7.0No known exploitationFix status unknownRpm: rpmbuild gettarspec() crafted tar member name → macro injection
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 16% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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).
Weakness: CWE-94
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Do not process untrusted tarballs with rpmbuild -ta/-tb/-ts. Extract and inspect archives first (reject member names containing }, %, or {), or build from a reviewed .spec outside tarball mode. Prefer isolated builders (mock/container) for any untrusted packaging related work. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:4.19.1.1-29.el10_3 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support (unaffected) | 0:4.19.1.1-23.el10_2.3 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (unaffected) | 0:4.14.3-34.el8_10 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (unaffected) | 0:4.14.3-34.el8_10 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:4.16.1.3-43.el9_9 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:4.16.1.3-43.el9_9 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support (unaffected) | 0:4.16.1.3-40.el9_8.3 | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images (unaffected) | 6.1.0-1.3.hum1 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:100637 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:100638 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:100643 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:82378 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:99593 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:99595 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-78367 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2521857 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://github.com/rpm-software-management/rpm/issues/4314 (opens in a new tab)