
CVE catalog
CVE-2021-20271
rpm: CVE-2021-20271
- Severity
- Medium · CVSS 6.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.77% · Oct 25, 2026
A flaw was found in RPM's signature check functionality when reading a package file. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package, whose signature header was modified, to cause RPM database corruption and execute code. The highest threat from this vulnerability is to data integrity, confidentiality, and system availability.
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 | fixed |
| Debian | rpm | forky | 6.1.0-1 | fixed |
| Debian | rpm | trixie | 4.20.1+dfsg-3 | fixed |
| Debian | rpm | bookworm | 4.18.0+dfsg-1+deb12u1 | fixed |
| Ubuntu | rpm | pro | 4.14.2.1+dfsg1-1 | vulnerable |
| Ubuntu | rpm | pro | 4.14.2.1+dfsg1-1build1 | vulnerable |
| Ubuntu | rpm | pro | 4.14.2.1+dfsg1-1build2 | vulnerable |
| Ubuntu | rpm | pro | 4.14.2.1+dfsg1-1ubuntu0.1~esm1 | fixed |
| Opensuse | libdnf | leap 15.3 | 0.62.0-5.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rpm | source | sid | 4.16.1.2+dfsg1-1 | not yet assigned | Not reported | [985308] |
| Debian | rpm | source | forky | 4.16.1.2+dfsg1-1 | not yet assigned | Not reported | [985308] |
| Debian | rpm | source | trixie | 4.16.1.2+dfsg1-1 | not yet assigned | Not reported | [985308] |
| Debian | rpm | source | bookworm | 4.16.1.2+dfsg1-1 | not yet assigned | Not reported | [985308] |
| Ubuntu | rpm | deb | pro | 4.14.2.1+dfsg1-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-20271 | Not reported |
| Opensuse | libdnf | rpm | leap 15.3 | 0.62.0-5.3.1 | Not reported | OPENSUSE-SU-2021:2685-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librpm9]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [librpmbuild9]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [librpm-dev]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [librpmio9]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [librpmsign9]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [python3-rpm]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [rpm]Fixed
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [rpm2cpio]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [rpm-common]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
- [rpm-i18n]Fixed
Source package: [rpm]
Details (2)
4.18.0+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
4.18.0+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · bookworm; dsa · rpm · debian · 12
[Debian 13 (Trixie)]
- [librpm10]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [librpmbuild10]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [librpm-dev]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [librpmio10]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [librpmsign10]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [python3-rpm]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [rpm]Fixed
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [rpm2cpio]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [rpm-common]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· amd64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· arm64 · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
- [rpm-i18n]Fixed
Source package: [rpm]
Details (2)
4.20.1+dfsg-3· all · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
4.20.1+dfsg-3· all · trixieFixed · Fixed:
4.16.1.2+dfsg1-1dsa · rpm · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_4785.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-20271]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-20271]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:2685-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-20271]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20271.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2025-0227.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]