CVE-2024-45775
MEDIUM 5.2CVSS 3.1Grub2: commands/extcmd: missing check for failed allocation
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.
- Published
- 18 Feb 2025
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-252
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.2 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.2 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://ftp.gnu.org/gnu/grub/ | grub2 | <= 2.12 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:9::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:10 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2025:6990 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-45775 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2337481 · issue-tracking, x_refsource_REDHAT
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 18 Feb 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 18 Feb 2025)