# CVE-2026-78367: Rpm: rpmbuild gettarspec() crafted tar member name → macro injection

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-24 · Modified: 2026-12-03
- Aliases: UBUNTU-CVE-2026-78367, DEBIAN-CVE-2026-78367
- Record: https://cvemate.com/vulnerability/CVE-2026-78367 · JSON: https://cvemate.com/vulnerability/CVE-2026-78367/json

## Description

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

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.277%, percentile 21.558%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian rpm (Debian): All versions (No fix recorded)
- ubuntu rpm (Ubuntu): All versions (No fix recorded)

## References (first 20 of 22)

- <https://access.redhat.com/security/cve/CVE-2026-78367>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2521857>
- <https://github.com/rpm-software-management/rpm/issues/4314>
- <https://ubuntu.com/security/CVE-2026-78367>
- <https://www.cve.org/CVERecord?id=CVE-2026-78367>
- <https://security-tracker.debian.org/tracker/CVE-2026-78367>
- <https://access.redhat.com/errata/RHSA-2026:82378>
- <https://access.redhat.com/errata/RHSA-2026:99595>
- <https://access.redhat.com/errata/RHSA-2026:99593>
- <https://access.redhat.com/errata/RHSA-2026:100637>
- <https://access.redhat.com/errata/RHSA-2026:100638>
- <https://access.redhat.com/errata/RHSA-2026:100643>
- <https://access.redhat.com/errata/RHSA-2026:102947>
- <https://access.redhat.com/errata/RHSA-2026:104704>
- <https://access.redhat.com/errata/RHSA-2026:104705>
- <https://access.redhat.com/errata/RHSA-2026:104803>
- <https://access.redhat.com/errata/RHSA-2026:104703>
- <https://access.redhat.com/errata/RHSA-2026:106338>
- <https://access.redhat.com/errata/RHSA-2026:106339>
- <https://access.redhat.com/errata/RHSA-2026:106340>

---

Data as of 2026-12-05T03:48:02.275Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
