BreachSpiderVerified, not vibes

CVE-2022-28736 in Gnu Grub2

High 7.8

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 c...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS0.4%
EPSS percentile23th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gnu Grub2 ≥ 2.00, < 2.06-3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-28736
BreachSpider IDBS-2023-GLOBAL-316955-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-07-20
Last modified2026-11-10
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

A use-after-free vulnerability exists in the grub_cmd_chainloader() function of GRUB2, which can be exploited if the chainloader command is executed more than once, potentially leading to exposure of sensitive data and arbitrary code execution.

The vulnerability arises from improper memory management in the grub_cmd_chainloader() function. An attacker who can control the memory allocation pattern of GRUB2 could exploit this to access sensitive data or execute arbitrary code.

Questions

What is CVE-2022-28736?

A use-after-free vulnerability exists in the grub_cmd_chainloader() function of GRUB2, which can be exploited if the chainloader command is executed more than once, potentially leading to exposure of sensitive data and arbitrary code execution.

What is the CVSS score for CVE-2022-28736?

CVE-2022-28736 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2022-28736 actively exploited?

No confirmed active exploitation of CVE-2022-28736 as of 2026-11-11.

How do I remediate CVE-2022-28736?

Priority: HIGH.

What systems are affected by CVE-2022-28736?

CVE-2022-28736 affects Gnu Grub2.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gnu","product":"Grub2","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.