---
title: "CVE-2026-95521"
canonical_url: "https://pkgseek.com/security/CVE-2026-95521"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-95521

A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.

CVE-2026-95521 is rated HIGH (7.8), with 10 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 10
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | librpm10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmbuild10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpm-dev | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmio10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmsign10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | python3-rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm2cpio | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-common | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-i18n | 4.20.1+dfsg-3 | — |
