
CVE catalog
CVE-2021-20266
rpm: CVE-2021-20266
- Severity
- Low · CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.64% · Oct 25, 2026
A flaw was found in RPM's hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to 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 |
| 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 | python-rpm | leap 15.2 | 4.14.1-lp152.18.3.1 | fixed |
| Opensuse | rpm | leap 15.2 | 4.14.1-lp152.18.3.1 | fixed |
| Suse | python-rpm | linux enterprise module for basesystem 15 sp2 | 4.14.1-22.4.1 | fixed |
| Suse | rpm | linux enterprise module for basesystem 15 sp2 | 4.14.1-22.4.2 | fixed |
| Suse | rpm | linux enterprise module for development tools 15 sp2 | 4.14.1-22.4.2 | fixed |
| Suse | rpm-ndb | linux enterprise module for public cloud 15 sp2 | 4.14.1-22.4.2 | fixed |
| Suse | python-rpm | linux enterprise module for python 2 15 sp2 | 4.14.1-22.4.1 | fixed |
| Suse | rpm | manager proxy module 4.1 | 4.14.1-22.4.2 | fixed |
| Suse | rpm | manager server module 4.1 | 4.14.1-22.4.2 | fixed |
| Suse | python-rpm | linux enterprise micro 5.0 | 4.14.1-22.4.1 | fixed |
| Suse | rpm | linux enterprise micro 5.0 | 4.14.1-22.4.2 | fixed |
| Suse | python-rpm | linux enterprise module for basesystem 15 sp3 | 4.14.3-37.2 | fixed |
| Suse | rpm | linux enterprise module for basesystem 15 sp3 | 4.14.3-37.2 | fixed |
| Suse | rpm | linux enterprise module for development tools 15 sp3 | 4.14.3-37.2 | fixed |
| Suse | rpm-ndb | linux enterprise module for public cloud 15 sp3 | 4.14.3-37.2 | fixed |
| Suse | python-rpm | linux enterprise module for python 2 15 sp3 | 4.14.3-37.2 | fixed |
| Suse | rpm | manager proxy module 4.2 | 4.14.3-37.2 | fixed |
| Suse | rpm | manager server module 4.2 | 4.14.3-37.2 | fixed |
| Opensuse | python-rpm | leap 15.3 | 4.14.3-37.2 | fixed |
| Opensuse | rpm | leap 15.3 | 4.14.3-37.2 | fixed |
| Opensuse | rpm-ndb | leap 15.3 | 4.14.3-37.2 | fixed |
| Suse | rpm | linux enterprise software development kit 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | python3-rpm | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | rpm | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | rpm-python | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | python3-rpm | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | rpm | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.1 | fixed |
| Suse | rpm-python | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.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 | USN-5273-1 | Not reported |
| Ubuntu | rpm | deb | pro | 4.14.2.1+dfsg1-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-20266 | Not reported |
| Opensuse | python-rpm | rpm | leap 15.2 | 4.14.1-lp152.18.3.1 | Not reported | OPENSUSE-SU-2021:1366-1 | Not reported |
| Opensuse | rpm | rpm | leap 15.2 | 4.14.1-lp152.18.3.1 | Not reported | OPENSUSE-SU-2021:1366-1 | Not reported |
| Suse | python-rpm | rpm | linux enterprise module for basesystem 15 sp2 | 4.14.1-22.4.1 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm | rpm | linux enterprise module for basesystem 15 sp2 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm | rpm | linux enterprise module for development tools 15 sp2 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm-ndb | rpm | linux enterprise module for public cloud 15 sp2 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | python-rpm | rpm | linux enterprise module for python 2 15 sp2 | 4.14.1-22.4.1 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm | rpm | manager proxy module 4.1 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm | rpm | manager server module 4.1 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | python-rpm | rpm | linux enterprise micro 5.0 | 4.14.1-22.4.1 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | rpm | rpm | linux enterprise micro 5.0 | 4.14.1-22.4.2 | Not reported | SUSE-SU-2021:3444-1 | Not reported |
| Suse | python-rpm | rpm | linux enterprise module for basesystem 15 sp3 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm | rpm | linux enterprise module for basesystem 15 sp3 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm | rpm | linux enterprise module for development tools 15 sp3 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm-ndb | rpm | linux enterprise module for public cloud 15 sp3 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | python-rpm | rpm | linux enterprise module for python 2 15 sp3 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm | rpm | manager proxy module 4.2 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm | rpm | manager server module 4.2 | 4.14.3-37.2 | Not reported | SUSE-SU-2021:2682-1 | Not reported |
| Opensuse | python-rpm | rpm | leap 15.3 | 4.14.3-37.2 | Not reported | OPENSUSE-SU-2021:2682-1 | Not reported |
| Opensuse | rpm | rpm | leap 15.3 | 4.14.3-37.2 | Not reported | OPENSUSE-SU-2021:2682-1 | Not reported |
| Opensuse | rpm-ndb | rpm | leap 15.3 | 4.14.3-37.2 | Not reported | OPENSUSE-SU-2021:2682-1 | Not reported |
| Suse | rpm | rpm | linux enterprise software development kit 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | python3-rpm | rpm | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | rpm | rpm | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | rpm-python | rpm | linux enterprise server 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | python3-rpm | rpm | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | rpm | rpm | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-1 | Not reported |
| Suse | rpm-python | rpm | linux enterprise server for sap applications 12 sp5 | 4.11.2-16.26.1 | Not reported | SUSE-SU-2022:3939-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://access.redhat.com/errata/RHSA-2021:4489]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_2682-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-20266]
- [https://osv.dev/vulnerability/SUSE-SU-2021:2682-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3444-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3939-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-20266]
- [https://osv.dev/vulnerability/USN-5273-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1366-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:2682-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-20266]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-1854.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]