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

- Severity: High 8.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.37%, higher than 92% of CVEs (2026-12-01)
- Published: 2024-01-25T15:54:23.102Z
- Modified: 2026-06-26T10:16:21.907Z
- Weaknesses: CWE-346, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- shim: no versions given (not affected: from 0:15.8-3.el7 before *; from 0:15.8-4.el8_9 before *; from 0:15.8-2.el8_2 before *; from 0:15.8-2.el8_4 before *; from 0:15.8-2.el8_6 before *; from 0:15.8-2.el8 before *; from 0:15.8-4.el9_3 before *; from 0:15.8-3.el9 before *; from 0:15.8-3.el9_2 before *)
- shim-signed: no versions given (not affected: from 0:15.8-1.el7 before *)
- shim-unsigned-x64: no versions given (not affected: from 0:15.8-2.el8 before *; from 0:15.8-2.el9 before *)
- shim-unsigned-aarch64: no versions given (not affected: from 0:15.8-2.el9 before *)
- redhat shim: before 15.8
- redhat enterprise_linux: 7.0; 8.0; 9.0

## Every score

- redhat: CVSS:3.1 8.3 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.3 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:1834> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1835> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1873> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1876> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1883> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1902> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1903> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1959> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2086> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-40547> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2234589> (issue-tracking, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2024/01/26/1>
- <https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html>

## Sources

- CVE List: [CVE-2023-40547](https://www.cve.org/CVERecord?id=CVE-2023-40547), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2023-40547](https://nvd.nist.gov/vuln/detail/CVE-2023-40547), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2023-40547 · Whole record: https://cve.day/CVE-2023-40547.json · Rebuilt by cve.day 2026-11-25T22:58:32.257Z
