# CVE-2024-45775: Grub2: commands/extcmd: missing check for failed allocation

- Severity: Medium 5.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-02-18T19:25:40.364Z
- Modified: 2026-11-24T07:17:09.080Z
- Weaknesses: CWE-252
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in grub2 where the grub_extcmd_dispatcher() function calls grub_arg_list_alloc() to allocate memory for the grub's argument list. However, it fails to check in case the memory allocation fails. Once the allocation fails, a NULL point will be processed by the parse_option() function, leading grub to crash or, in some rare scenarios, corrupt the IVT data.

(As written by CVE List.)

## Affected

- grub2: up to 2.12 (not affected: from 1:2.06-104.el9_6 before *)
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2025:6990> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-45775> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2337481> (issue-tracking)

## Sources

- CVE List: [CVE-2024-45775](https://www.cve.org/CVERecord?id=CVE-2024-45775), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-45775](https://nvd.nist.gov/vuln/detail/CVE-2024-45775), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-45775 · Whole record: https://cve.day/CVE-2024-45775.json · Rebuilt by cve.day 2026-11-25T22:58:51.830Z
