{"id":"CVE-2023-40546","summary":"Shim: out-of-bounds read printing error messages","details":"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.","modified":"2026-08-12T03:51:18.063268122Z","published":"2024-01-29T16:29:26.258Z","related":["ALSA-2024:1902","ALSA-2024:1903","SUSE-SU-2024:1368-1","SUSE-SU-2024:1461-1","SUSE-SU-2024:1462-1","SUSE-SU-2025:20136-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40546.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1834"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1835"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1873"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1876"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1883"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1902"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1903"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1959"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2086"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-40546"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40546.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40546"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241796"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rhboot/shim","events":[{"introduced":"0"},{"fixed":"5914984a1ffeab841f482c791426d7ca9935a5e6"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:shim:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"15.8"}],"source":"CPE_RANGE"}}],"versions":["15.7","15.6","15.6-rc2","15.5","15.5-rc2","15.4","15.3","shim-15.3-rc4","shim-15.3-rc3","shim-15.3-rc2","shim-15.3-rc1","15.2","15","14","13","12","11","0.9","0.8","0.7","0.5","0.4","0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40546.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}