CVE & CISA-KEV Catalog

CVE-2023-40547

HIGHEPSS 92th pctl
8.3
CVSS v3
NVD

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.

How to fix

Remediation Available
shim-unsigned-aa64Amazon
Fixed in:0:12-1.amzn2.0.4
shim-unsigned-aa64-debuginfoAmazon
Fixed in:0:12-1.amzn2.0.4
shim-unsigned-x64Amazon
Fixed in:0:12-1.amzn2.0.4
shim-unsigned-x64-debuginfoAmazon
Fixed in:0:12-1.amzn2.0.4
shimDebian
Fixed in:15.8-1~deb12u1CVE-2023-40547
Fixed in:15.8-1CVE-2023-40547
Fixed in:15.8-1CVE-2023-40547
Windows 10Windows
Install:KB5055547Microsoft
Windows 10 Version 1607Windows
Install:KB5055521Microsoft
Windows 10 Version 1809Windows
Install:KB5055519Microsoft
Windows 10 Version 21H2Windows
Install:KB5055518Microsoft
Windows 10 Version 22H2Windows
Install:KB5055518Microsoft
Windows 11 Version 22H2Windows
Install:KB5055528Microsoft
Windows 11 Version 23H2Windows
Install:KB5055528Microsoft
Windows 11 Version 24H2Windows
Install:KB5055523Microsoft
Install:KB5055528Microsoft
Windows 11 version 21H2Windows
Install:KB5041592Microsoft
Windows Server 2012Windows
Install:KB5055581Microsoft
Windows Server 2012 (Server Core installation)Windows
Install:KB5055581Microsoft
Windows Server 2012 R2Windows
Install:KB5055557Microsoft
Windows Server 2012 R2 (Server Core installation)Windows
Install:KB5055557Microsoft
Windows Server 2016Windows
Install:KB5055521Microsoft
Windows Server 2016 (Server Core installation)Windows
Install:KB5055521Microsoft
Windows Server 2019Windows
Install:KB5055519Microsoft
Windows Server 2019 (Server Core installation)Windows
Install:KB5055519Microsoft
Windows Server 2022Windows
Install:KB5055526Microsoft
Windows Server 2022 (Server Core installation)Windows
Install:KB5055526Microsoft
Windows Server 2022, 23H2 Edition (Server Core installation)Windows
Install:KB5055527Microsoft
mokutilRocky
Fixed in:0:15.8-1.el7RHSA-2024:1959
mokutilRed Hat / RHEL
Fixed in:0:15.8-1.el7RHSA-2024:1959

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

mokutil-debuginfoRed Hat / RHEL
Fixed in:0:15.8-1.el7RHSA-2024:1959

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

mokutil-debuginfoRocky
Fixed in:0:15.8-1.el7RHSA-2024:1959
shimRed Hat / RHEL
Fixed in:0:15.8-3.el7RHSA-2024:1959

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:0:15.8-2.el8_6RHSA-2024:2086
Fixed in:0:15.8-2.el8_2RHSA-2024:1834
Fixed in:0:15.8-4.el8_9RHSA-2024:1902
Fixed in:0:15.8-2.el8RHSA-2024:1883
Fixed in:0:15.8-2.el8_4RHSA-2024:1873
Fixed in:0:15.8-3.el9_2RHSA-2024:1876
Fixed in:0:15.8-3.el9RHSA-2024:1835

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorAdjacent
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

5.42%probability of exploitation in 30 days
92ndpercentile

High risk: more likely to be exploited than 92% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2019-11043High8.7100%KEV + RansomFix

Common questions

How do I fix CVE-2023-40547?

Published advisories record a fix for 45 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-40547 being actively exploited?

Not that we know of. CVE-2023-40547 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 5.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 92% of all scored CVEs.

How severe is CVE-2023-40547?

CVE-2023-40547 has a CVSS v3 base score of 8.3, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-40547 affect?

Published advisories record a fix for shim-unsigned-aa64 (Amazon), shim-unsigned-aa64-debuginfo (Amazon), shim-unsigned-x64 (Amazon), shim-unsigned-x64-debuginfo (Amazon), and 41 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-40547
CVE-2023-40547 severity badge

Markdown

[![CVE-2023-40547](https://tridentstack.com/cve/badge/CVE-2023-40547.svg)](https://tridentstack.com/cve/CVE-2023-40547)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-40547"><img src="https://tridentstack.com/cve/badge/CVE-2023-40547.svg" alt="CVE-2023-40547"></a>

Check your Linux, Windows endpoints for this class of vulnerability

TridentStack Control continuously scans Linux, Windows endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-26.