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
shimDebian
Fixed in:15.8-1~deb11u1CVE-2023-40547
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:KB5055528Microsoft
Install:KB5055523Microsoft
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
mokutil-debuginfoRed Hat / RHEL
Fixed in:0:15.8-1.el7RHSA-2024:1959
mokutil-debuginfoRocky
Fixed in:0:15.8-1.el7RHSA-2024:1959
shimRed Hat / RHEL
Fixed in:0:15.8-3.el7RHSA-2024:1959
Fixed in:0:15.8-2.el8RHSA-2024:1883
Fixed in:0:15.8-4.el8_9RHSA-2024:1902
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-2.el8_4RHSA-2024:1873
Fixed in:0:15.8-3.el9RHSA-2024:1835
Fixed in:0:15.8-3.el9_2RHSA-2024:1876
shimRocky
Fixed in:0:15.8-3.el7RHSA-2024:1959
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_6RHSA-2024:2086
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-4.el9_3RHSA-2024:1903
shim-aa64Red Hat / RHEL
Fixed in:0:15.8-2.el8RHSA-2024:1883
Fixed in:0:15.8-2.el8_6RHSA-2024:2086
Fixed in:0:15.8-4.el8_9RHSA-2024:1902
Fixed in:0:15.8-4.el9_3RHSA-2024:1903
Fixed in:0:15.8-3.el9RHSA-2024:1835
Fixed in:0:15.8-3.el9_2RHSA-2024:1876
shim-aa64Rocky
Fixed in:0:15.8-2.el8RHSA-2024:1883
Fixed in:0:15.8-2.el8_6RHSA-2024:2086
Fixed in:0:15.8-4.el8_9RHSA-2024:1902
Fixed in:0:15.8-4.el9_3RHSA-2024:1903
Fixed in:0:15.8-3.el9_2RHSA-2024:1876
Fixed in:0:15.8-3.el9RHSA-2024:1835
shim-ia32Rocky
Fixed in:0:15.8-1.el7RHSA-2024:1959
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

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 41 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 (Debian), Windows 10 (Windows), Windows 10 Version 1607 (Windows), Windows 10 Version 1809 (Windows), and 37 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>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart 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.