CVE-2023-40548 in Fedoraproject Fedora and 1 more product
A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory cor...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 39 |
| Redhat | Shim | 15.8 < 15.8 |
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 buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40548 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-343613-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-01-29 |
| Last modified | 2026-06-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability in the Shim component of 32-bit systems can lead to memory corruption, potentially causing system crashes or data integrity issues during the boot phase.
The vulnerability arises from a buffer overflow in the Shim component due to an addition operation involving a user-controlled value parsed from a PE binary. This value is used for memory allocation, leading to a heap-based buffer overflow.
Questions
What is CVE-2023-40548?
A buffer overflow vulnerability in the Shim component of 32-bit systems can lead to memory corruption, potentially causing system crashes or data integrity issues during the boot phase.
What is the CVSS score for CVE-2023-40548?
CVE-2023-40548 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2023-40548 actively exploited?
No confirmed active exploitation of CVE-2023-40548 as of 2026-06-27.
How do I remediate CVE-2023-40548?
Priority: HIGH. Advisory: https://access.redhat.com/errata/RHSA-2024:1834 PSIRT: [email protected]
What systems are affected by CVE-2023-40548?
CVE-2023-40548 affects Fedoraproject Fedora; Redhat 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":"Fedoraproject","product":"Fedora","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.