---
title: "CVE-2026-95521"
canonical_url: "https://pkgseek.com/security/CVE-2026-95521"
locale: "zh-CN"
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 严重级别为 HIGH (7.8)，共索引 10 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.8)
- **受影响构建数**: 10
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## 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 | — |
