VYPR
Unrated severityNVD Advisory· Published Jan 29, 2024· Updated Nov 20, 2025

Shim: out-of-bounds read printing error messages

CVE-2023-40546

Description

Shim bootloader crashes due to format string mismatch when creating an ESL variable fails, risking denial of service during boot.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Shim bootloader crashes due to format string mismatch when creating an ESL variable fails, risking denial of service during boot.

Vulnerability

An out-of-bounds read vulnerability exists in Shim, a first-stage UEFI boot loader. When an error occurs during the creation of a new ESL (EFI Signature List) variable, Shim attempts to print an error message using a logging function. However, the number of parameters passed does not match the format string, leading to a crash under certain circumstances. Affected versions include Shim prior to the updates provided in RHSA-2024:2086 [2][4].

Exploitation

An attacker would need the ability to trigger a failure while creating an ESL variable. This could be achieved by providing malformed input or influencing the UEFI environment, possibly through physical access or a compromised boot chain. No authentication is required, but the attacker must cause the specific error condition to exploit the crash [2].

Impact

Successful exploitation results in a crash of the Shim boot loader, causing a denial of service. The system may fail to boot or become unstable. The vulnerability is rated Important by Red Hat due to potential impact on system availability [4].

Mitigation

Red Hat has released updated shim packages via RHSA-2024:2086 and other errata. Users should update their shim installation to the fixed version provided. No workarounds are currently available [4].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

39

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

11

News mentions

0

No linked articles in our index yet.