# CVE-2023-40547: Shim: rce in http boot support may lead to secure boot bypass

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-25 · Modified: 2026-06-26
- Aliases: UBUNTU-CVE-2023-40547, DEBIAN-CVE-2023-40547
- Record: https://cvemate.com/vulnerability/CVE-2023-40547 · JSON: https://cvemate.com/vulnerability/CVE-2023-40547/json

## Description

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

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 5.373%, percentile 92.871%, 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

- debian shim (Debian): \< 15.8-1~deb12u1 \| \< 15.8-1
- ubuntu shim (Ubuntu): All versions (No fix recorded) \| \< 15.8-0ubuntu1
- ubuntu shim-signed (Ubuntu): All versions (No fix recorded) \| \< 1.40.10 \| \< 1.51.4 \| \< 1.58
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- redhat shim: \< 15.8

## References

- <https://access.redhat.com/errata/RHSA-2024:1834>
- <https://access.redhat.com/errata/RHSA-2024:1835>
- <https://access.redhat.com/errata/RHSA-2024:1873>
- <https://access.redhat.com/errata/RHSA-2024:1876>
- <https://access.redhat.com/errata/RHSA-2024:1883>
- <https://access.redhat.com/errata/RHSA-2024:1902>
- <https://access.redhat.com/errata/RHSA-2024:1903>
- <https://access.redhat.com/errata/RHSA-2024:1959>
- <https://access.redhat.com/errata/RHSA-2024:2086>
- <https://access.redhat.com/security/cve/CVE-2023-40547>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2234589>
- <http://www.openwall.com/lists/oss-security/2024/01/26/1>
- <https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html>
- <https://ubuntu.com/security/CVE-2023-40547>
- <https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/2051151>
- <https://www.cve.org/CVERecord?id=CVE-2023-40547>
- <https://security-tracker.debian.org/tracker/CVE-2023-40547>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40547>

---

Data as of 2026-12-05T03:51:43.840Z. 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
