{"id":"CVE-2022-28737","summary":"There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables","details":"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.","modified":"2026-05-18T05:53:48.000912536Z","published":"2023-07-20T00:26:15.627Z","related":["ALSA-2022:5095","ALSA-2022:5099","SUSE-SU-2023:1702-1","SUSE-SU-2023:1863-1","SUSE-SU-2023:2084-1","SUSE-SU-2023:2086-1","SUSE-SU-2023:2091-1","SUSE-SU-2023:2150-1","SUSE-SU-2024:1368-1","SUSE-SU-2024:1461-1","SUSE-SU-2024:1462-1"],"database_specific":{"cna_assigner":"canonical","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28737.json"},"references":[{"type":"WEB","url":"https://github.com/rhboot/shim/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28737.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28737"},{"type":"REPORT","url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28737"},{"type":"ARTICLE","url":"https://www.openwall.com/lists/oss-security/2022/06/07/5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rhboot/shim","events":[{"introduced":"0"},{"fixed":"505cdb678b319fcf9a7fdee77c0f091b4147cbe5"}]}],"versions":["15.6-rc2","15.5","15.5-rc2","15.4","15.3","shim-15.3-rc4","shim-15.3-rc3","shim-15.3-rc2","shim-15.3-rc1","15.2","15","14","13","12","11","0.9","0.8","0.7","0.5","0.4","0.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28737.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}]}