shim: A buffer overflow was found in Shim in the 32-bit system
CVE-2023-40548 is fixed in 5 products on 1 platform, first by shim 15.8-0ubuntu1, released January 22, 2024. It is not reported as exploited. Patch Radar priority: High.
A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| shim · Debian 12.15 (bookworm) | 15.8-1~deb12u1 | DEBIAN-CVE-2023-40548 | Jan 29, 2024 |
| shim · Debian 13.5 (trixie) | 15.8-1 | DEBIAN-CVE-2023-40548 | Jan 29, 2024 |
| shim · Debian 14 | 15.8-1 | DEBIAN-CVE-2023-40548 | Jan 29, 2024 |
| shim · Ubuntu 20.04 LTS (focal) | 15.8-0ubuntu1 | shim 15.8-0ubuntu1 | Jan 22, 2024 |
| shim · Ubuntu 22.04.1 LTS (jammy) | 15.8-0ubuntu1 | shim 15.8-0ubuntu1 | Jan 22, 2024 |
| shim · Ubuntu 24.04.5 LTS (noble) | 15.8-0ubuntu1 | shim 15.8-0ubuntu1 | Jan 22, 2024 |
| shim · Ubuntu 24.10 (oracular) | 15.8-0ubuntu1 | shim 15.8-0ubuntu1 | Jan 23, 2024 |
| shim · Ubuntu 25.04 (plucky) | 15.8-0ubuntu1 | shim 15.8-0ubuntu1 | Jan 23, 2024 |
| shim-aa64 · RHEL 8 | 0:15.8-4.el8_9 | RHSA-2024:1902 | Apr 18, 2024 |
| shim-aa64 · RHEL 9 | 0:15.8-4.el9_3 | RHSA-2024:1903 | Apr 18, 2024 |
| shim-aa64 · almalinux 8 | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 | Apr 18, 2024 |
| shim-aa64 · almalinux 9 | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 | Apr 18, 2024 |
| shim-aa64 · ol 8 | 0:15.8-4.0.1.el8 | ELSA-2024-1902 | Apr 25, 2024 |
| shim-aa64 · ol 9 | 0:15.8-1.0.3.el9 | ELSA-2024-1903 | Apr 22, 2024 |
| shim-ia32 · RHEL 8 | 0:15.8-4.el8_9 | RHSA-2024:1902 | Apr 18, 2024 |
| shim-ia32 · almalinux 8 | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 | Apr 18, 2024 |
| shim-ia32 · ol 8 | 0:15.8-4.0.1.el8 | ELSA-2024-1902 | Apr 25, 2024 |
| shim-signed · Ubuntu 20.04 LTS (focal) | 1.40.10+15.8-0ubuntu1 | shim-signed 1.40.10+15.8-0ubuntu1 | Jan 22, 2024 |
| shim-signed · Ubuntu 22.04.1 LTS (jammy) | 1.51.4+15.8-0ubuntu1 | shim-signed 1.51.4+15.8-0ubuntu1 | Jan 22, 2024 |
| shim-signed · Ubuntu 24.04.5 LTS (noble) | 1.58+15.8-0ubuntu1 | shim-signed 1.58+15.8-0ubuntu1 | Jan 22, 2024 |
| shim-signed · Ubuntu 24.10 (oracular) | 1.58+15.8-0ubuntu1 | shim-signed 1.58+15.8-0ubuntu1 | Jan 23, 2024 |
| shim-signed · Ubuntu 25.04 (plucky) | 1.58 | shim-signed 1.58 | Jan 23, 2024 |
| shim-x64 · RHEL 8 | 0:15.8-4.el8_9 | RHSA-2024:1902 | Apr 18, 2024 |
| shim-x64 · RHEL 9 | 0:15.8-4.el9_3 | RHSA-2024:1903 | Apr 18, 2024 |
| shim-x64 · almalinux 8 | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 | Apr 18, 2024 |
| shim-x64 · almalinux 9 | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 | Apr 18, 2024 |
| shim-x64 · ol 8 | 0:15.8-4.0.1.el8 | ELSA-2024-1902 | Apr 25, 2024 |
| shim-x64 · ol 9 | 0:15.8-1.0.3.el9 | ELSA-2024-1903 | Apr 22, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.