# CVE-2022-28736: There's a use-after-free vulnerability in grub\_cmd\_chainloader() function

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-07-20 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2022-28736, DEBIAN-CVE-2022-28736
- Record: https://cvemate.com/vulnerability/CVE-2022-28736 · JSON: https://cvemate.com/vulnerability/CVE-2022-28736/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.286%, percentile 22.696%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian grub2 (Debian): \< 2.06-3
- ubuntu grub2-signed (Ubuntu): All versions (No fix recorded) \| \< 1.187.3~18.04.1 \| \< 1.187.3~20.04.1 \| \< 1.187.3~22.04.1
- ubuntu grub2-unsigned (Ubuntu): All versions (No fix recorded) \| \< 2.06-2ubuntu14.1
- gnu project gnu grub: \< 2.06-3
- gnu grub2: ≥ 2.00, \< 2.06-3

## References

- <https://www.openwall.com/lists/oss-security/2022/06/07/5>
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28736>
- <https://security.netapp.com/advisory/ntap-20230825-0002/>
- <https://ubuntu.com/security/CVE-2022-28736>
- <https://ubuntu.com/security/notices/USN-6355-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-28736>
- <https://security-tracker.debian.org/tracker/CVE-2022-28736>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-28736>

---

Data as of 2026-12-05T03:12:46.610Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
