
CVE catalog
CVE-2023-40547
shim: CVE-2023-40547
- Severity
- High · CVSS 8.3
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.42% · Oct 25, 2026
A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise. This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shim | sid | 16.1-2 | fixed |
| Debian | shim | forky | 16.1-2 | fixed |
| Debian | shim | trixie | 16.1-2~deb13u1 | fixed |
| Debian | shim | bookworm | 16.1-2~deb12u1 | fixed |
| Ubuntu | shim | 14.04 | 0.4-0ubuntu4 | vulnerable |
| Ubuntu | shim | 14.04 | 0.8-0ubuntu2 | vulnerable |
| Ubuntu | shim | 14.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 14.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.3 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.4 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.5 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.6 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.9 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.17~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.18~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.19~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.32~14.04.2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.3 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.4 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.5 | vulnerable |
| Ubuntu | shim | 16.04 | 0.8-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 16.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 16.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.11 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.12 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.17~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.18~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.19~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.27~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.28~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.32~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.2 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.3 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.4 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.5 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.6 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.10 | vulnerable |
| Ubuntu | shim | 18.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 18.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim | 18.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 18.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 18.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim | 18.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 18.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.32 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.33.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.4 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.5 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.6 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.7 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.8 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9.2 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.2 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.3 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.6 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.8 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.10 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.11 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.13 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1552672080.a4a1fbe-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 20.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim | 20.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 20.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 20.04 | 1.39 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.3 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.4 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.6 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.7 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.9 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.10 | fixed |
| Ubuntu | shim | 22.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 22.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 22.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 22.04 | 1.51 | vulnerable |
| Ubuntu | shim-signed | 22.04 | 1.51.3 | vulnerable |
| Ubuntu | shim-signed | 22.04 | 1.51.4 | fixed |
| Ubuntu | shim | 24.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 24.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 24.04 | 1.56 | vulnerable |
| Ubuntu | shim-signed | 24.04 | 1.57 | vulnerable |
| Ubuntu | shim-signed | 24.04 | 1.58 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shim | source | sid | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | forky | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | trixie | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | bookworm | 15.8-1~deb12u1 | not yet assigned | Not reported | [1061519] |
| Ubuntu | shim | deb | 20.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
| Ubuntu | shim-signed | deb | 20.04 | 1.40.10 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
| Ubuntu | shim | deb | 22.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
| Ubuntu | shim-signed | deb | 22.04 | 1.51.4 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
| Ubuntu | shim | deb | 24.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
| Ubuntu | shim-signed | deb | 24.04 | 1.58 | Not reported | UBUNTU-CVE-2023-40547 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/esba-2024_0600.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40547]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40547]
- [https://security-tracker.debian.org/tracker/CVE-2023-40547]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-40547.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1835.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]