Skip to content
Red HatCVE-2026-78367

Red Hat RPM: code execution

High7.0CVE-2026-78367 · Published Aug 24, 2026 · updated Sep 4, 2026

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

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 10
Product
all versionsNo fix yet
Red Hat Enterprise Linux 6
Product
all versionsNo fix yet
Red Hat Enterprise Linux 7
Product
all versionsNo fix yet
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Red Hat Hardened Images
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
A flaw was found in CRI-O's container-creation environment-variable handling
Medium6.0Aug 24
Red Hat GIMP: denial of service
Medium6.1Aug 24
Red Hat file-pcx plugin: integer overflow
High7.0Aug 24
Red Hat Enterprise Linux 10: improper authorization
High7.1Aug 24
Red Hat AWX: path traversal
High7.2Aug 24
Red Hat multiple AWX: server-side request forgery
High7.7Aug 24

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.