{"api_version":"1","generated_at":"2026-04-23T04:11:22+00:00","cve":"CVE-2021-20266","urls":{"html":"https://cve.report/CVE-2021-20266","api":"https://cve.report/api/cve/CVE-2021-20266.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20266","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20266"},"summary":{"title":"CVE-2021-20266","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-04-30 12:15:00","updated_at":"2023-11-07 03:29:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927741","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1927741","refsource":"MISC","tags":[],"title":"1927741 – (CVE-2021-20266) CVE-2021-20266 rpm: missing length checks in hdrblobInit()","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202107-43","name":"GLSA-202107-43","refsource":"GENTOO","tags":[],"title":"RPM: Multiple vulnerabilities (GLSA 202107-43) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 33 Update: rpm-4.16.1.3-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: rpm-4.16.1.3-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","name":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: rpm-4.16.1.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 34 Update: rpm-4.16.1.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20266","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20266","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20266","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20266","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20266","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rpm","cpe5":"rpm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20266","qid":"159518","title":"Oracle Enterprise Linux Security Update for rpm (ELSA-2021-4489)"},{"cve":"CVE-2021-20266","qid":"180545","title":"Debian Security Update for rpm (CVE-2021-20266)"},{"cve":"CVE-2021-20266","qid":"239812","title":"Red Hat Update for rpm security (RHSA-2021:4489)"},{"cve":"CVE-2021-20266","qid":"281435","title":"Fedora Security Update for rpm (FEDORA-2021-662680e477)"},{"cve":"CVE-2021-20266","qid":"281436","title":"Fedora Security Update for rpm (FEDORA-2021-8d52a8a999)"},{"cve":"CVE-2021-20266","qid":"281437","title":"Fedora Security Update for rpm (FEDORA-2021-2383d950fd)"},{"cve":"CVE-2021-20266","qid":"330113","title":"IBM AIX Multiple Vulnerabilities due to RPM (rpm_advisory)"},{"cve":"CVE-2021-20266","qid":"377369","title":"Alibaba Cloud Linux Security Update for rpm (ALINUX3-SA-2022:0007)"},{"cve":"CVE-2021-20266","qid":"501685","title":"Alpine Linux Security Update for rpm"},{"cve":"CVE-2021-20266","qid":"670407","title":"EulerOS Security Update for rpm (EulerOS-SA-2021-1992)"},{"cve":"CVE-2021-20266","qid":"670496","title":"EulerOS Security Update for rpm (EulerOS-SA-2021-2254)"},{"cve":"CVE-2021-20266","qid":"670522","title":"EulerOS Security Update for rpm (EulerOS-SA-2021-2280)"},{"cve":"CVE-2021-20266","qid":"710026","title":"Gentoo Linux RPM Multiple vulnerabilities (GLSA 202107-43)"},{"cve":"CVE-2021-20266","qid":"750981","title":"OpenSUSE Security Update for rpm (openSUSE-SU-2021:2682-1)"},{"cve":"CVE-2021-20266","qid":"751248","title":"OpenSUSE Security Update for rpm (openSUSE-SU-2021:1366-1)"},{"cve":"CVE-2021-20266","qid":"752786","title":"SUSE Enterprise Linux Security Update for rpm (SUSE-SU-2022:3939-1)"},{"cve":"CVE-2021-20266","qid":"900271","title":"CBL-Mariner Linux Security Update for rpm 4.14.2"},{"cve":"CVE-2021-20266","qid":"903280","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rpm (4178)"},{"cve":"CVE-2021-20266","qid":"940044","title":"AlmaLinux Security Update for rpm (ALSA-2021:4489)"},{"cve":"CVE-2021-20266","qid":"960758","title":"Rocky Linux Security Update for rpm (RLSA-2021:4489)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20266","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"rpm","version":{"version_data":[{"version_value":"rpm 4.17.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1927741","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927741"},{"refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/"},{"refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/"},{"refsource":"GENTOO","name":"GLSA-202107-43","url":"https://security.gentoo.org/glsa/202107-43"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2021-04-30 12:15:00","lastModifiedDate":"2023-11-07 03:29:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":4.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*","versionEndExcluding":"4.16.1.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20266","Ordinal":"194307","Title":"CVE-2021-20266","CVE":"CVE-2021-20266","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20266","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20266","Ordinal":"2","NoteData":"2021-04-30","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20266","Ordinal":"3","NoteData":"2021-07-20","Type":"Other","Title":"Modified"}]}}}