CVE-2023-40546: Shim: out-of-bounds read printing error messages
Vulnerability summary
CVE-2023-40546 is a medium (CVSS 6.2) NULL Pointer Dereference vulnerability in fedoraproject fedora. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.5% of scored vulnerabilities.
Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 4Timeline
- 29-01-2024PublishedVulnerability first disclosed.
- 20-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.44% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- enterprise_linux8.0 | 9.0
- shim< 15.8
Ubuntu2 products
- shimAll versions (No fix recorded) | < 15.8-0ubuntu1
- shim-signedAll versions (No fix recorded) | < 1.40.10 | < 1.51.4 | < 1.58
Debian1 product
- shim< 15.8-1~deb12u1 | < 15.8-1
Fedoraproject1 product
- fedoraEOL39
4 vendors · 6 products