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.
CVE-2022-28737
CVSS base score
6.5 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-787
Last modified
November 10, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Affected products
redhat shim
References
- cve.mitre.org Third Party Advisory
- www.openwall.com Mailing List, Third Party Advisory
- cve.mitre.org Third Party Advisory
- www.openwall.com Mailing List, Third Party Advisory