{"id":"CVE-2023-40546","aliases":["CVE-2023-40546"],"related":[],"kind":"vulnerability","state":"published","title":"Shim: out-of-bounds read printing error messages","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"Se encontró un fallo en Shim cuando ocurrió un error al crear una nueva variable ESL. Si Shim no puede crear la nueva variable, intenta imprimir un mensaje de error para el usuario; sin embargo, la cantidad de parámetros utilizados por la función de registro no coincide con la cadena de formato utilizada, lo que provoca un bloqueo en determinadas circunstancias.","source":"nvd"}],"published":"2024-01-29T16:29:26.258Z","modified":"2026-06-17T06:18:24.177Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:15.8-3.el7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"shim","cpe":"cpe:/o:redhat:enterprise_linux:7::client","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-1.el7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"shim-signed","cpe":"cpe:/o:redhat:enterprise_linux:7::client","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-4.el8_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"shim","cpe":"cpe:/o:redhat:enterprise_linux:8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Advanced Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.2::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Telecommunications Update Service","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.2::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.2::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Telecommunications Update Service","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","package":"shim","cpe":"cpe:/o:redhat:rhel_tus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_eus:8.6::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Extended Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_eus:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Extended Update Support","package":"shim-unsigned-x64","cpe":"cpe:/o:redhat:rhel_eus:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-4.el9_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"shim","cpe":"cpe:/o:redhat:enterprise_linux:9::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-3.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Extended Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_eus:9.0::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Extended Update Support","package":"shim-unsigned-aarch64","cpe":"cpe:/o:redhat:rhel_eus:9.0::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-2.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Extended Update Support","package":"shim-unsigned-x64","cpe":"cpe:/o:redhat:rhel_eus:9.0::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:15.8-3.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"shim","cpe":"cpe:/o:redhat:rhel_eus:9.2::baseos","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"15.8"}],"vendor":"redhat","product":"shim","cpe":"cpe:2.3:a:redhat:shim:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1834","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1835","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1873","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1876","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1883","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1902","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1903","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1959","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2086","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-40546","tags":["vdb-entry","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241796","tags":["issue-tracking","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-29T19:54:29.372Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40546","url":"https://www.cve.org/CVERecord?id=CVE-2023-40546","licence":"CVE Terms of Use","modified":"2025-11-20T19:53:32.512Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40546","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40546","licence":"Public domain","modified":"2026-06-17T06:18:24.177Z"}],"updatedAt":"2026-11-25T22:58:32.279Z","epss":{"score":0.00435,"percentile":0.39531,"date":"2026-12-01T12:00:22.000Z"}}