Skip to content
Threat Brief

← All advisories

CVE-2026-78367

High 7.0No known exploitationFix status unknown

Rpm: rpmbuild gettarspec() crafted tar member name → macro injection

Record last updated

CVSS score

7.0

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 16% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
Red HatRed Hat Enterprise Linux 7Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 10 (unaffected)0:4.19.1.1-29.el10_3Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10.2 Extended Update Support (unaffected)0:4.19.1.1-23.el10_2.3Not documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)0:4.14.3-34.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)0:4.14.3-34.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:4.16.1.3-43.el9_9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:4.16.1.3-43.el9_9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.8 Extended Update Support (unaffected)0:4.16.1.3-40.el9_8.3Not documentedCVE Program
Red HatRed Hat Hardened Images (unaffected)6.1.0-1.3.hum1Not documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references