CVE-2023-40547 in Redhat Enterprise Linux and 1 more product
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. Thi...
Affects 2 products from 1 vendor. Facts below cite their sources.
Exploitable from adjacent network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40547 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-343612-H |
| CVSS vector | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Published | 2024-01-25 |
| Last modified | 2026-06-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-346: CWE-346
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-346
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-346
CAPEC-76 Manipulating Web Input to File System Calls via CWE-346
CAPEC-142 DNS Cache Poisoning via CWE-346
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-346
Show all 16
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-346
CAPEC-388 Application API Button Hijacking via CWE-346
CAPEC-75 Manipulating Writeable Configuration Files via CWE-346
CAPEC-89 Pharming via CWE-346
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-346
CAPEC-141 Cache Poisoning via CWE-346
CAPEC-160 Exploit Script-Based APIs via CWE-346
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-346
CAPEC-386 Application API Navigation Remapping via CWE-346
CAPEC-510 SaaS User Request Forgery via CWE-346
CAPEC-21 Exploitation of Trusted Identifiers via CWE-346
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A remote code execution vulnerability in Shim allows attackers to compromise the system by crafting a malicious HTTP request during the early boot phase.
The vulnerability exists in the way Shim parses an HTTP response, trusting attacker-controlled values which can lead to an out-of-bounds write primitive.
Questions
What is CVE-2023-40547?
A remote code execution vulnerability in Shim allows attackers to compromise the system by crafting a malicious HTTP request during the early boot phase.
What is the CVSS score for CVE-2023-40547?
CVE-2023-40547 has CVSS 8.3 (High). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2023-40547 actively exploited?
No confirmed active exploitation of CVE-2023-40547 as of 2026-06-27.
How do I remediate CVE-2023-40547?
Priority: IMMEDIATE. Advisory: https://access.redhat.com/errata/RHSA-2024:1834 PSIRT: [email protected]
What systems are affected by CVE-2023-40547?
CVE-2023-40547 affects Redhat Enterprise Linux, Shim.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Enterprise Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-26.