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.
CVE-2022-28736
CVSS base score
6.4 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-416
Last modified
November 10, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
gnu grub2
References
- cve.mitre.org Third Party Advisory
- security.netapp.com
- www.openwall.com Mailing List, Third Party Advisory
- cve.mitre.org Third Party Advisory
- security.netapp.com
- www.openwall.com Mailing List, Third Party Advisory