
CVE catalog
CVE-2026-78367
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 membe
- Severity
- High · CVSS 7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.20% · Oct 25, 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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rpm | sid | 6.1.0-1 | vulnerable |
| Debian | rpm | forky | 6.1.0-1 | vulnerable |
| Debian | rpm | trixie | 4.20.1+dfsg-3 | vulnerable |
| Debian | rpm | bookworm | 4.18.0+dfsg-1+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rpm | source | sid | (unfixed) | not yet assigned | Not reported | [1145876] |
| Debian | rpm | source | forky | (unfixed) | not yet assigned | Not reported | [1145876] |
| Debian | rpm | source | trixie | (unfixed) | not yet assigned | Not reported | [1145876] |
| Debian | rpm | source | bookworm | (unfixed) | not yet assigned | Not reported | [1145876] |
Notes
[trixie] rpm: Minor issue [bookworm] rpm: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librpm9]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [librpmbuild9]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [librpm-dev]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [librpmio9]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [librpmsign9]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [python3-rpm]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [rpm]Affected
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [rpm2cpio]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [rpm-common]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· arm64 · bookwormAffected
nvd · rpm · debian · bookworm
- [rpm-i18n]Affected
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· all · bookwormAffected
nvd · rpm · debian · bookworm
4.18.0+dfsg-1+deb12u1· all · bookwormAffected
nvd · rpm · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-78367]
- [https://security-tracker.debian.org/tracker/CVE-2026-78367]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-78367.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2980.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]