Skip to content
Fencer Vulns
high 7.0

CVE-2026-78367 json

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

published 2026-08-24 2 mo ago modified 2026-11-06 2 d ago also EUVD-2026-64885

cvss
7.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 9%
public exploits
0
none known

Summary

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).

Patch / fix

  • Red Hat Red Hat Hardened Images 6.1.0-1.3.hum1
  • rpm hummingbird 1 6.1.0-1.3.hum1
  • rpm-cron hummingbird 1 6.1.0-1.3.hum1
  • rpm-libs hummingbird 1 6.1.0-1.3.hum1
  • rpm-sign hummingbird 1 6.1.0-1.3.hum1
  • rpm-build hummingbird 1 6.1.0-1.3.hum1
  • python3-rpm hummingbird 1 6.1.0-1.3.hum1
  • rpm-apidocs hummingbird 1 6.1.0-1.3.hum1
  • rpm-sign-libs hummingbird 1 6.1.0-1.3.hum1

red hat advisories RHSA-2026:82378

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-78367 updated cvss 7.0

rpm: rpmbuild getTarSpec() crafted tar member name → macro injection

  • Red Hat Enterprise Linux 6 rpm, rpm-cron, rpm-libs, rpm-build, rpm-python, rpm-apidocs
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 rpm, rpm-cron, rpm-libs, rpm-sign, rpm-build, rpm-python, +3 more Red Hat Enterprise Linux 8 rpm, rpm-cron, rpm-libs, rpm-sign, rpm-build, python3-rpm, +8 more Red Hat Enterprise Linux 9 rpm, rpm-cron, rpm-libs, rpm-sign, rpm-build, python3-rpm, +9 more Red Hat Enterprise Linux 10 rpm
    affected: workaround, no fix available
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 more
    under investigation
  • Red Hat Hardened Images rpm 6.1.0-1.3.hum1, rpm-cron 6.1.0-1.3.hum1, rpm-libs 6.1.0-1.3.hum1, rpm-sign 6.1.0-1.3.hum1, rpm-build 6.1.0-1.3.hum1, python3-rpm 6.1.0-1.3.hum1, +13 more
    fixed: vendor fix RHSA-2026:82378
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 mo ago

Exploit prediction

0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/rpm-software-management/rpm/issues/4314 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.0 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 Hardened Images
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat OpenShift AI (RHOAI)

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.