CVE-2022-28737: Red Hat Shim

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into account the SizeOfRawData field from each section to be loaded. An attacker can leverage this to perform out-of-bound writes into memory. Arbitrary code execution is not discarded in such scenario.

Affected products

  • Red Hat Shim: before 15.6 (fixed in 15.6)

Published 2023-07-20. Last modified 2026-06-17.