
CVE catalog
CVE-2023-40546
shim: CVE-2023-40546
- Severity
- Medium · CVSS 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shim | sid | 16.1-2 | fixed |
| Debian | shim | forky | 16.1-2 | fixed |
| Debian | shim | trixie | 16.1-2~deb13u1 | fixed |
| Debian | shim | bookworm | 16.1-2~deb12u1 | fixed |
| Suse | pcr-oracle | linux micro 6.0 | 0.4.6-2.1 | fixed |
| Suse | shim | linux micro 6.0 | 15.8-1.1 | fixed |
| Ubuntu | shim | 14.04 | 0.4-0ubuntu4 | vulnerable |
| Ubuntu | shim | 14.04 | 0.8-0ubuntu2 | vulnerable |
| Ubuntu | shim | 14.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 14.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.3 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.4 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.5 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.6 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.9 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.17~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.18~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.19~14.04.1 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.32~14.04.2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.2 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.3 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.4 | vulnerable |
| Ubuntu | shim-signed | 14.04 | 1.33.1~14.04.5 | vulnerable |
| Ubuntu | shim | 16.04 | 0.8-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 16.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 16.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 16.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.11 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.12 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.17~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.18~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.19~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.27~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.28~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.32~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.1 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.2 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.3 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.4 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.5 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.6 | vulnerable |
| Ubuntu | shim-signed | 16.04 | 1.33.1~16.04.10 | vulnerable |
| Ubuntu | shim | 18.04 | 0.9+1474479173.6c180c6-1ubuntu1 | vulnerable |
| Ubuntu | shim | 18.04 | 13-0ubuntu2 | vulnerable |
| Ubuntu | shim | 18.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 18.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 18.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim | 18.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 18.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.32 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.33.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.4 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.5 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.6 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.7 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.8 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.34.9.2 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.1 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.2 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.3 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.6 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.8 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.10 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.11 | vulnerable |
| Ubuntu | shim-signed | 18.04 | 1.37~18.04.13 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1533136590.3beb971-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1552672080.a4a1fbe-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15+1552672080.a4a1fbe-0ubuntu2 | vulnerable |
| Ubuntu | shim | 20.04 | 15.4-0ubuntu7 | vulnerable |
| Ubuntu | shim | 20.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 20.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 20.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 20.04 | 1.39 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.3 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.4 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.6 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.7 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.9 | vulnerable |
| Ubuntu | shim-signed | 20.04 | 1.40.10 | fixed |
| Ubuntu | shim | 22.04 | 15.4-0ubuntu9 | vulnerable |
| Ubuntu | shim | 22.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 22.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 22.04 | 1.51 | vulnerable |
| Ubuntu | shim-signed | 22.04 | 1.51.3 | vulnerable |
| Ubuntu | shim-signed | 22.04 | 1.51.4 | fixed |
| Ubuntu | shim | 24.04 | 15.7-0ubuntu1 | vulnerable |
| Ubuntu | shim | 24.04 | 15.8-0ubuntu1 | fixed |
| Ubuntu | shim-signed | 24.04 | 1.56 | vulnerable |
| Ubuntu | shim-signed | 24.04 | 1.57 | vulnerable |
| Ubuntu | shim-signed | 24.04 | 1.58 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shim | source | sid | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | forky | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | trixie | 15.8-1 | not yet assigned | Not reported | [1061519] |
| Debian | shim | source | bookworm | 15.8-1~deb12u1 | not yet assigned | Not reported | [1061519] |
| Suse | pcr-oracle | rpm | linux micro 6.0 | 0.4.6-2.1 | Not reported | SUSE-SU-2025:20136-1 | Not reported |
| Suse | shim | rpm | linux micro 6.0 | 15.8-1.1 | Not reported | SUSE-SU-2025:20136-1 | Not reported |
| Ubuntu | shim | deb | 20.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
| Ubuntu | shim-signed | deb | 20.04 | 1.40.10 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
| Ubuntu | shim | deb | 22.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
| Ubuntu | shim-signed | deb | 22.04 | 1.51.4 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
| Ubuntu | shim | deb | 24.04 | 15.8-0ubuntu1 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
| Ubuntu | shim-signed | deb | 24.04 | 1.58 | Not reported | UBUNTU-CVE-2023-40546 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/esba-2024_0600.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40546]
- [https://osv.dev/vulnerability/DLA-3813-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20136-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40546]
- [https://security-tracker.debian.org/tracker/CVE-2023-40546]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-40546.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-2100.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]