CVE-2024-45775 Grub2: commands/extcmd: missing check for failed allocation
MediumCVSS 5.2
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
17 packages: 6 fixed, 1 partially fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat rhel els | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-signed(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/grub2-unsigned(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| redhat enterprise linux | < 1:2.06-104.el9_6; = 10; All versions | 1:2.06-104.el9_6 | Partially fixed |
| azure linux grub2(Azure Linux 3.0) | < 2.06-25 | 2.06-25 | Fixed |
| cbl-mariner grub2(CBL-Mariner 2.0) | < 2.06-15 | 2.06-15 | Fixed |
| debian/grub2(Debian 12) | < 2.06-13+deb12u2; = 2.06-13; = 2.06-13+deb12u1 | 2.06-13+deb12u2 | Fixed |
| debian/grub2(Debian 13) | < 2.12-6 | 2.12-6 | Fixed |
| debian/grub2(Debian 14) | < 2.12-6 | 2.12-6 | Fixed |
| grub2 | <= 2.12 | after 2.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner grub2(CBL-Mariner:2.0) | < 2.06-15 | 2.06-15 |
| azure linux grub2(Azure Linux:3.0) | < 2.06-25 | 2.06-25 |
| debian/grub2(Debian:12) | < 2.06-13+deb12u2 | 2.06-13+deb12u2 |
| debian/grub2(Debian:12) | = 2.06-13 | No fix listed |
| debian/grub2(Debian:12) | = 2.06-13+deb12u1 | No fix listed |
| debian/grub2(Debian:13) | < 2.12-6 | 2.12-6 |
| debian/grub2(Debian:14) | < 2.12-6 | 2.12-6 |
| ubuntu/grub2-signed(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:22.04) | All versions | No fix listed |
| grub2 | <= 2.12 | No fix listed |
| redhat enterprise linux | < 1:2.06-104.el9_6 | 1:2.06-104.el9_6 |
| redhat enterprise linux | = 10 | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/grub2-signed(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/grub2-unsigned(Ubuntu:26.10) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-45775 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- RHSA-2025:6990 vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2337481 issue-tracking
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-4780 third-party-advisory