{"affected":[{"defaultStatus":"affected","ecosystem":"https://catalog.redhat.com/software/containers/","packageName":"rpm-main","product":"Red Hat Hardened Images","source":"CNA: redhat","vendor":"Red Hat","versions":[{"lessThan":"*","status":"unaffected","version":"6.1.0-1.3.hum1","versionType":"rpm"}]},{"defaultStatus":"affected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rpm","product":"Red Hat Enterprise Linux 10","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"unknown","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rpm","product":"Red Hat Enterprise Linux 6","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"affected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rpm","product":"Red Hat Enterprise Linux 7","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"affected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rpm","product":"Red Hat Enterprise Linux 8","source":"CNA: redhat","vendor":"Red Hat","versions":[]},{"defaultStatus":"affected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rpm","product":"Red Hat Enterprise Linux 9","source":"CNA: redhat","vendor":"Red Hat","versions":[]}],"cveId":"CVE-2026-78367","cwes":["CWE-94"],"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).","epss":{"date":"2026-11-05","percentile":0.0976,"score":0.00199},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/rpm-software-management/rpm/issues/4314"}],"kev":null,"metrics":[{"score":7,"severity":"high","source":"CNA: redhat","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793926445482,"publishedAt":1787579332103,"references":[{"source":"CNA: redhat","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2026:82378"},{"source":"CNA: redhat","tags":["vdb-entry","x_refsource_REDHAT"],"url":"https://access.redhat.com/security/cve/CVE-2026-78367"},{"source":"CNA: redhat","tags":["issue-tracking","x_refsource_REDHAT"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2521857"},{"source":"CNA: redhat","tags":[],"url":"https://github.com/rpm-software-management/rpm/issues/4314"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/rpm-software-management/rpm/issues/4314"}],"remediation":[{"kind":"workaround","source":"CNA: redhat","text":"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."}],"revision":"e0fa0e0d3920c691b36e6537cb0fc0b12014bd64708c0361212fa726fa3d991a","sources":[{"modifiedAt":1793926445482,"name":"CNA: redhat","retrievedAt":1793927325338,"url":"https://www.cve.org/CVERecord?id=CVE-2026-78367"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793927327132,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-78367"}],"ssvc":{"assessedAt":1787584420183,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Rpm: rpmbuild gettarspec() crafted tar member name → macro injection","updatedAt":1793927327132}