ZeroHour

CVE-2026-84233

moderate

OS Command Injection in rpm rpmuncompress via crafted .gem filenames

CVSS 3.1
7.0 high
EPSS
<1%p3
Published
()
Modified
AI analysis

CVE-2026-84233 is an operating-system command injection flaw (CWE-78) in rpmuncompress, a utility shipped with the RPM package manager. It triggers when a user or automated workflow runs rpmuncompress -x against a .gem archive whose filename contains RPM macro syntax: during construction of the extraction command the filename is macro-expanded, so commands embedded in the name are executed. An attacker who can get such a file processed gains arbitrary command execution with the privileges of the invoking account, compromising the confidentiality, integrity and availability of that host. Any RPM-based Linux environment where externally supplied .gem files are unpacked, including build and CI pipelines or packaging scripts, is potentially exposed; the source data provides no specific affected or fixed version numbers. There are no reports of in-the-wild exploitation: no public proof-of-concept is known, it is not in CISA KEV, and EPSS estimates only about a 0.1% probability of exploitation within 30 days.

What to do: Apply the rpm security update for your distribution as soon as a fixed version is published, tracking advisories from Red Hat and other RPM-based vendors since no fixed version number is given in the source data. Until patched, avoid running rpmuncompress -x on .gem files from untrusted sources, or confine such processing to sandboxed build environments. Audit rpmbuild specs, gem2rpm-style automation and CI jobs for steps that unpack externally supplied .gem archives.

Affected
RPM Project (upstream rpm; shipped by Red Hat, the assigning CNA, and other RPM- rpm - rpmuncompress utility
Estimated exposure
moderatetens of thousands of users at most (CI/build pipelines, packaging automation and developer workstations that run rpmuncompress -x on untrusted .gem files),… — Based on deployment patterns rather than provided counts: rpm is ubiquitous on RHEL, Fedora, SUSE and other RPM-based distributions, but the flaw only triggers when rpmuncompress -x is invoked on an attacker-controlled .gem filename, a…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in rpm. A local attacker could supply a specially crafted `.gem` filename containing RPM macro syntax. When a user or automated workflow invokes `rpmuncompress -x` on this file, the macro expansion occurs during command construction. This allows the attacker to execute arbitrary commands with the privileges of the invoking account, leading to a compromise of confidentiality, integrity, and availability.

Weakness
CWE-78
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.