CVE-2022-28737: There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The
CVE-2022-28737 is a medium-severity flaw (CVSS 6.5) affecting shim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2023-07-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-28737?
shim: upgrade to 15.6. Exact commands for each OS are on this page.
Is CVE-2022-28737 being exploited?
CVE-2022-28737 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-28737 affect?
CVE-2022-28737 affects shim. Severity is medium (CVSS 6.5). 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
How urgent is CVE-2022-28737?
Priority 34/100. On your watchlist
Related CVEs
- CVE-2023-40548 HIGH 7.4 UPGRADE MITIGATE A buffer overflow was found in Shim in the 32-bit system
- CVE-2023-40547 HIGH 8.3 UPGRADE MITIGATE A remote code execution vulnerability was found in Shim
- CVE-2023-40551 MEDIUM 5.1 UPGRADE MITIGATE A flaw was found in the MZ binary format in Shim
- CVE-2023-40550 MEDIUM 5.5 UPGRADE MITIGATE An out-of-bounds read flaw was found in Shim when it tried to validate the SBAT information
- CVE-2023-40549 MEDIUM 6.2 UPGRADE MITIGATE An out-of-bounds read flaw was found in Shim due to the lack of proper boundary verification during the load o