In grub_extcmd_dispatcher() function grub2 calls grub_arg_list_alloc() 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 parse_option() function leading grub to crash or in some rare scenarios corrupt the IVT data.
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:6990 https://access.redhat.com/errata/RHSA-2025:6990