# CVE-2022-28737: There's a possible overflow in handle\_image() when shim tries to load and execute crafted EFI executables

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-07-20 · Modified: 2024-10-22
- Aliases: 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, UBUNTU-CVE-2022-28737, DEBIAN-CVE-2022-28737
- Record: https://cvemate.com/vulnerability/CVE-2022-28737 · JSON: https://cvemate.com/vulnerability/CVE-2022-28737/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.326%, percentile 27.634%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 34)

- debian shim (Debian): \< 15.6-1
- ubuntu shim (Ubuntu): All versions (No fix recorded) \| \< 15.7-0ubuntu1
- red hat bootloader team shim: \< 15.6
- redhat shim: \< 15.6
- opensuse shim&distro=openSUSE Leap 15.4 (openSUSE): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- opensuse shim&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 15.7-150100.3.35.1
- suse shim&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 15.7-150100.3.35.1
- suse shim&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 15.7-150100.3.35.1
- suse shim&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Real Time 15 SP3 (SUSE Linux Enterprise): \< 15.7-150300.4.11.1 \| \< 15.7-150300.4.16.1
- suse shim&distro=SUSE Linux Enterprise Server 12 SP2-BCL (SUSE Linux Enterprise): \< 15.7-22.15.1
- suse shim&distro=SUSE Linux Enterprise Server 12 SP4-ESPOS (SUSE Linux Enterprise): \< 15.7-25.24.1 \| \< 15.7-25.27.1

## References (first 20 of 29)

- <https://www.openwall.com/lists/oss-security/2022/06/07/5>
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28737>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20231702-1/>
- <https://bugzilla.suse.com/1185232>
- <https://bugzilla.suse.com/1185261>
- <https://bugzilla.suse.com/1185441>
- <https://bugzilla.suse.com/1185621>
- <https://bugzilla.suse.com/1187071>
- <https://bugzilla.suse.com/1187260>
- <https://bugzilla.suse.com/1193282>
- <https://bugzilla.suse.com/1198458>
- <https://bugzilla.suse.com/1201066>
- <https://bugzilla.suse.com/1202120>
- <https://bugzilla.suse.com/1205588>
- <https://www.suse.com/security/cve/CVE-2022-28737>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20231863-1/>
- <https://bugzilla.suse.com/1193315>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232084-1/>
- <https://bugzilla.suse.com/1210382>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232086-1/>

---

Data as of 2026-12-05T03:14:29.330Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
