Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20266

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20266
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:16 UTC · Revision 1

Source evidence

CVE-2021-20266

core-osv · Original source

Published 30 Apr 2021, 12:15 UTC

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.

osv:CVE-2021-20266
Complete source record
{
  "id": "f3bc3ba68fdb15b1cbdf7c2e3dc83d2398b4bcb9167ddf5cd17f5a4b92a53910",
  "url": "https://osv.dev/vulnerability/CVE-2021-20266",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20266",
    "summary": "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.",
    "evidence": "osv:CVE-2021-20266",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20266",
      "aliases": [
        "CVE-2021-20266"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rpm-software-management/rpm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3659b8a04f5b8bacf6535e0124e7fe23f15286bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.16.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "rpm-4.16.1.2-release",
            "rpm-4.16.1.1-release",
            "rpm-4.16.1-release",
            "rpm-4.16.0-release",
            "rpm-4.16.0-beta3",
            "rpm-4.16.0-beta2",
            "rpm-4.16.0-alpha",
            "rpm-4.15.0-alpha",
            "rpm-4.13.0-alpha",
            "rpm-4.12.0-alpha",
            "rpm-4.11.0-alpha",
            "rpm-4.8.0-beta1",
            "rpm-4.4.2.1-rc2",
            "rpm-4.4.2.1-rc1",
            "rpm-4.4.2-release",
            "rpm-4.4.1-release",
            "rpm-4.4-release"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20266.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:16.299621958Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/",
        "https://security.gentoo.org/glsa/202107-43",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1927741"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-20266",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429324,
  "published_at": "2021-04-30T12:15:07.5+00:00"
}