Skip to content
Heist/ feed
Back to feed
HighFix available

grub2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-28736

There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.

Products
grub2
Affected versions
Not specified
Fixed versions
2.06-3
CVEs
CVE-2022-28736
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:55 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-28736

core-osv · Original source

Published 20 Jul 2023, 01:15 UTC

There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.

osv:DEBIAN-CVE-2022-28736

grub2

Fixed versions: 2.06-3

grub2

Fixed versions: 2.06-3

grub2

Fixed versions: 2.06-3

Complete source record
{
  "id": "55f2a41128a7286e9b5327d478403a6519c8108e70b5c4b05bd6ad42145d9a08",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-28736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-28736",
    "summary": "There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.",
    "evidence": "osv:DEBIAN-CVE-2022-28736",
    "products": [
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-28736",
      "aliases": [
        "DEBIAN-CVE-2022-28736"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:36.933005460Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-28736"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-28736"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-28736",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323773,
  "published_at": "2023-07-20T01:15:10.4+00:00"
}