CVE-2023-40546

Shim: out-of-bounds read printing error messages

Published Jan 29, 2024 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

There's no available mitigation for this issue.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3813-1 shim security update
EUVD EUVD EUVD-2023-45117 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 20, 2025, 7:53 PM
Reserved
Aug 15, 2023, 8:04 PM
Status
Modified
Published
Jan 29, 2024, 5:15 PM
Modified
Jun 17, 2026, 6:18 AM
Severity
Moderate
Public date
Jan 23, 2024, 12:00 AM