CVE-2023-40546 MEDIUM

CVE-2023-40546: Shim: out-of-bounds read printing error messages

Weakness CWE-476
Published January 29, 2024
Last update November 20, 2025

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 29, 2024 CVE published
November 20, 2025 Record updated