| Name | CVE-2022-28736 |
| 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 | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| grub2 (PTS) | bullseye (security), bullseye | 2.06-3~deb11u6 | fixed |
| bookworm, bookworm (security) | 2.06-13+deb12u1 | fixed |
| trixie | 2.12-9 | fixed |
| forky | 2.14~git20250718.0e36779-2 | fixed |
| sid | 2.14-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| grub2 | source | buster | 2.06-3~deb10u1 | | | |
| grub2 | source | bullseye | 2.06-3~deb11u1 | | | |
| grub2 | source | (unstable) | 2.06-3 | | | |
Notes
[stretch] - grub2 <ignored> (No SecureBoot support in stretch)
[jessie] - grub2 <ignored> (No SecureBoot support in jessie)
https://www.openwall.com/lists/oss-security/2022/06/07/5