CVE-2023-40546 in Fedoraproject Fedora and 2 more products
A flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circ...
Affects 3 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 39 |
| Redhat | Enterprise Linux | 8.0 9.0 |
| Redhat | Shim | < 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 flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circumstances.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40546 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-343611-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-01-29 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A flaw in Shim, a component used in certain systems, can lead to a crash due to a mismatch between the number of parameters and the format string in the logging function when creating a new ESL variable.
The vulnerability arises from an error in the logging mechanism of Shim. When Shim fails to create a new ESL variable, it attempts to log an error message. However, due to a mismatch between the number of parameters provided to the logging function and the format string used, it results in a crash. This issue can be triggered under specific circumstances, such as when the system is under heavy load or when a particular sequence of operations is performed.
Questions
What is CVE-2023-40546?
A flaw in Shim, a component used in certain systems, can lead to a crash due to a mismatch between the number of parameters and the format string in the logging function when creating a new ESL variable.
What is the CVSS score for CVE-2023-40546?
CVE-2023-40546 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2023-40546 actively exploited?
No confirmed active exploitation of CVE-2023-40546 as of 2026-05-30.
How do I remediate CVE-2023-40546?
Priority: MEDIUM. Advisory: https://access.redhat.com/errata/RHSA-2024:1834 PSIRT: [email protected]
What systems are affected by CVE-2023-40546?
CVE-2023-40546 affects Fedoraproject Fedora; 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":"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 2024-11-21.