# CVE-2021-20271: A flaw was found in RPM's signature check functionality when reading a package file.

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2021-03-26T00:00:00.000Z
- Modified: 2026-06-17T03:33:34.930Z
- Weaknesses: CWE-345
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- rpm: all versions
- rpm rpm: from 4.15.0 before 4.15.1.3; from 4.16.0 before 4.16.1.3; 4.15.0; 4.16.0
- redhat enterprise_linux: 8.0
- fedoraproject fedora: 32; 33; 34
- starwindsoftware starwind_virtual_san: v8

## Every score

- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1934125> (issue-tracking, patch, third-party-advisory)
- <https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILPBTPSBRYL4POBI3F4YUSVPSOQNJBY/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-43> (third-party-advisory, vendor-advisory)
- <https://www.starwindsoftware.com/security/sw-20220805-0002/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-20271](https://www.cve.org/CVERecord?id=CVE-2021-20271), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20271](https://nvd.nist.gov/vuln/detail/CVE-2021-20271), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20271 · Whole record: https://cve.day/CVE-2021-20271.json · Rebuilt by cve.day 2026-11-25T22:58:00.465Z
