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

Published Jan 13, 2025
·
Updated

A flaw was found in grub2 where the grubextcmddispatcher() function calls grubarglistalloc() 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 parseoption() function, leading grub to crash or, in some rare scenarios, corrupt the IVT data.

Other sources

In grubextcmddispatcher() function grub2 calls grubarglistalloc() to allocate memory for the grub's argument list, however it misses to check in case the memory allocation failed. Once the allocation failed, a NULL point will be processed by the parseoption() function leading grub to crash or in some rare scenarios corrupt the IVT data.

Red Hat

Affected Software

1 affected component
GNU GRUB2

Event History

Jan 13, 2025
Data Sourced
via Red Hat·11:11 PM
DescriptionSeverityAffected Software
Feb 18, 2025
CVE Published
via MITRE·07:25 PM
Data Sourced
via MITRE·07:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-45775?

CVE-2024-45775 has been designated as a medium severity vulnerability.

2

How do I fix CVE-2024-45775?

To fix CVE-2024-45775, update to the latest version of GNU GRUB2 that includes the security patch addressing this vulnerability.

3

What systems are affected by CVE-2024-45775?

CVE-2024-45775 affects systems running GNU GRUB2 without the proper memory allocation checks.

4

What type of vulnerability is CVE-2024-45775?

CVE-2024-45775 is a memory allocation failure vulnerability that can lead to processing a NULL pointer.

5

Is CVE-2024-45775 exploitable?

Yes, CVE-2024-45775 is potentially exploitable due to the lack of checks on memory allocation failures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203