What’s Vulnerable › Vulnerabilities
CVE-2024-45775: Grub2: commands/extcmd: missing check for failed allocation
- Severity: medium (CVSS 5.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-18 · updated 2026-10-21
- Weakness: CWE-252
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.
Affected products
- Red Hat OpenShift Container Platform 4.18: all versions
- Red Hat Enterprise Linux 7: all versions
- Red Hat Enterprise Linux 8: all versions
- Red Hat Enterprise Linux 9: all versions — fixed in 1:2.06-104.el9_6
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 9 1:2.06-104.el9_6. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2025:6990
- https://access.redhat.com/security/cve/CVE-2024-45775
- https://bugzilla.redhat.com/show_bug.cgi?id=2337481
Get alerted when CVE-2024-45775 or the next vulnerability affects your stack