Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat Bootloader Team | shim | < 15.6 | 15.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shim | 15.6-1 | — |
| Debian 13 | shim | 15.6-1 | — |
| Debian 12 | shim | 15.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | grub2-signed | 1.187.3~22.04.1 | USN-6355-1 |
| Ubuntu 22.04 LTS | grub2-unsigned | 2.06-2ubuntu14.1 | USN-6355-1 |
| Ubuntu 22.04 LTS | shim | 15.7-0ubuntu1 | USN-6355-1 |
| Ubuntu 22.04 LTS | shim-signed | 1.51.3 | USN-6355-1 |
| Ubuntu 20.04 LTS | grub2-signed | 1.187.3~20.04.1 | USN-6355-1 |
| Ubuntu 20.04 LTS | grub2-unsigned | 2.06-2ubuntu14.1 | USN-6355-1 |
| Ubuntu 20.04 LTS | shim | 15.7-0ubuntu1 | USN-6355-1 |
| Ubuntu 20.04 LTS | shim-signed | 1.40.9 | USN-6355-1 |
| Ubuntu 18.04 LTS | shim | No fix yet | — |
| Ubuntu 16.04 LTS | shim | No fix yet | — |
| Ubuntu 14.04 LTS | shim | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | grub2 +15 | 1:2.06-27.el9_0.7 | RHSA-2022:5099 |
| RHEL 9 | shim +3 | 15.6-1.el9 | RHSA-2022:5099 |
| RHEL 8 | grub2 +18 | 1:2.02-123.el8_6.8 | RHSA-2022:5095 |
| RHEL 8 | shim +4 | 15.6-1.el8 | RHSA-2022:5095 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.4 EUS | grub2 +18 | 1:2.02-99.el8_4.9 | RHSA-2022:5096 |
| RHEL 8.4 EUS | shim +4 | 15.6-1.el8 | RHSA-2022:5096 |
| RHEL 8.2 EUS | grub2 +18 | 1:2.02-87.el8_2.10 | RHSA-2022:5100 |
| RHEL 8.2 EUS | shim +4 | 15.6-1.el8 | RHSA-2022:5100 |
| RHEL 8.1 E4S | grub2 +16 | 1:2.02-87.el8_1.10 | RHSA-2022:5098 |
| RHEL 8.1 E4S | shim +2 | 15.6-1.el8 | RHSA-2022:5098 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | grub2-pc +14 | 1:2.06-27.el9_0.7.alma | ALSA-2022:5099 |
| AlmaLinux 9 | shim-x64 +2 | 15.6-1.el9.alma | ALSA-2022:5099 |
| AlmaLinux 8 | grub2-pc +16 | 1:2.02-123.el8_6.8.alma | ALSA-2022:5095 |
| AlmaLinux 8 | shim-x64 +3 | 15.6-1.el8.alma | ALSA-2022:5095 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | mokutil | 2:0.4.0-8.el9_0.1 | RLSA-2022:5099 |
| Rocky Linux 9 | shim | 15.6-1.el9 | RLSA-2022:5099 |
| Rocky Linux 8 | grub2 | 1:2.02-123.el8_6.8 | RLSA-2022:5095 |
| Rocky Linux 8 | mokutil | 1:0.3.0-11.el8_6.1 | RLSA-2022:5095 |
| Rocky Linux 8 | shim +1 | 15.6-1.el8 | RLSA-2022:5095 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SLES 15 SP4 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLES 15 SP3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLES 15 SP2 | shim | 15.7-150100.3.35.1 | SUSE-SU-2024:1461-1, SUSE-SU-2023:2086-1 |
| SLES 15 SP1 | shim | 15.7-150100.3.35.1 | SUSE-SU-2023:2086-1 |
Show 27 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | shim | 15.7-25.24.1 | SUSE-SU-2024:1462-1, SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SLES 12 SP4 | shim | 15.7-25.24.1 | SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SLES 12 SP2 | shim | 15.7-22.15.1 | SUSE-SU-2023:2150-1 |
| SLES for SAP 15 SP4 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SLES for SAP 15 SP3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLES for SAP 15 SP2 | shim | 15.7-150100.3.35.1 | SUSE-SU-2024:1461-1, SUSE-SU-2023:2086-1 |
| SLES for SAP 15 SP1 | shim | 15.7-150100.3.35.1 | SUSE-SU-2023:2086-1 |
| SLES for SAP 12 SP5 | shim | 15.7-25.24.1 | SUSE-SU-2024:1462-1, SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SLES for SAP 12 SP4 | shim | 15.7-25.24.1 | SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SLE Real Time 15 SP3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE Micro 5.5 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SLE Micro 5.4 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE Micro 5.3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE Micro 5.2 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE Micro 5.1 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE HPC 15 SP4 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SLE HPC 15 SP3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SLE HPC 15 SP2 | shim | 15.7-150100.3.35.1 | SUSE-SU-2024:1461-1, SUSE-SU-2023:2086-1 |
| SLE HPC 15 SP1 | shim | 15.7-150100.3.35.1 | SUSE-SU-2023:2086-1 |
| SUSE OpenStack Cloud Crowbar 9 | shim | 15.7-25.24.1 | SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SUSE OpenStack Cloud 9 | shim | 15.7-25.24.1 | SUSE-SU-2023:2091-1, SUSE-SU-2023:1863-1 |
| SUSE Manager Server 4.3 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE Manager Server 4.2 | shim | 15.7-150300.4.11.1 | SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SUSE Manager Proxy 4.3 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE Manager Proxy 4.2 | shim | 15.7-150300.4.11.1 | SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SUSE Enterprise Storage 7.1 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
| SUSE Enterprise Storage 7 | shim | 15.7-150100.3.35.1 | SUSE-SU-2023:2086-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| openSUSE Leap 15.4 | shim | 15.7-150300.4.11.1 | SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | shim | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| openSUSE Leap Micro 5.3 | shim | 15.7-150300.4.11.1 | SUSE-SU-2024:1368-1, SUSE-SU-2023:2084-1, SUSE-SU-2023:1702-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | shim +2 | 15.8-3 | — |
| Azure Linux 2 (CBL-Mariner) | shim | 15.8-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | grub2-pc +12 | 1:2.06-27.0.6.el9_0.7 | ELSA-2022-9596, ELSA-2022-5099 |
| Oracle Linux 8 | grub2-pc +15 | 1:2.02-123.0.7.el8_6.8 | ELSA-2022-9595, ELSA-2022-5095 |
| Oracle Linux 8 | shim-x64 +1 | 15.6-1.0.3.el8 | ELSA-2022-9465 |
| Oracle Linux 7 | mokutil +2 | 15.6-1.0.7.el7 | ELSA-2022-9466 |
Advisories 28
- ALSA-2022:5099 Important: grub2, mokutil, shim, and shim-unsigned-x64 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:5095 Important: grub2, mokutil, shim, and shim-unsigned-x64 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:5100 Red Hat Security Advisory: grub2, mokutil, shim, and shim-unsigned-x64 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2022:5099 Red Hat Security Advisory: grub2, mokutil, shim, and shim-unsigned-x64 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2022:5096 Red Hat Security Advisory: grub2, mokutil, shim, and shim-unsigned-x64 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2022:5098 Red Hat Security Advisory: grub2, mokutil, and shim security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2022:5095 Red Hat Security Advisory: grub2, mokutil, shim, and shim-unsigned-x64 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-6355-1 grub2-signed, grub2-unsigned, shim, and shim-signed vulnerability Ubuntu Security Notices (USN) · May 29, 2026
- WID-SEC-2022-0181 Grub2: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Apr 7, 2026
- RLSA-2022:5099 Important: grub2, mokutil, shim, and shim-unsigned-x64 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:5095 Important: grub2, mokutil, shim, and shim-unsigned-x64 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:1462-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2091-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1461-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1702-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1863-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2150-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2084-1 Security update for shim SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1368-1 Security update for shim SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:2086-1 Security update for shim SUSE / openSUSE Security Updates · May 2, 2025
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ELSA-2022-9595 Important: grub2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 14, 2022
- ELSA-2022-9596 Important: grub2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 14, 2022
- ELSA-2022-5095 Important: grub2, mokutil, shim, and shim-unsigned-x64 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 4, 2022
- ELSA-2022-5099 Important: grub2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 30, 2022
- ELSA-2022-9465 Important: shim security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 7, 2022
- ELSA-2022-9466 Important: shim-signed security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 7, 2022