If you're going to put an image parser at the most sensitive stage of a computer's boot process, make sure to use one which has been written in a memory-safe language.
This UEFI exploit impacts pretty much every Windows and Linux device and bypasses Secure Boot