Skip to content

Red Hat Enterprise Linux

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

CVE-2026-78367Published 24 Aug 2026, 13:48 UTC

Real-world risk

1.5/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.0

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from redhat)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
Red Hat Enterprise LinuxUbiquitousnot stated—
Red Hat OpenShift Container PlatformWidespreadnot stated—
Red Hat Discovery 1Nichenot stated—
Red Hat Hardened ImagesNichenot stated—
Red Hat Update Infrastructure 5Nichenot stated—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept
  • Reference tagged as exploit (link)

EPSS 0.3% chance of exploitation in 30 days (percentile 22), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.158
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.1575 × threat 0.951.496
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 24 Aug 2026 Published
  2. 2 Dec 2026 CISA SSVC: proof of concept first seen
  3. 2 Dec 2026 Reference tagged as exploit first seen
  4. 2 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-94

References

Get alerts for Red Hat Enterprise Linux

Free email or text alerts when a vulnerability in Red Hat Enterprise Linux reaches risk 8 or higher. Nothing else.