CVE Database›CVE-2023-40548

CVE-2023-40548

shim: Interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems

Loading…

Severity

Moderate

Red Hat Product Security

7.4

CVSS 3.1

Review impact separately from score.

Published · October 3, 2023

Updated · June 26, 2026

Description

A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

There's no available mitigation for this issue.

CVSS / CWE

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

CWE-190 · Integer Overflow or Wraparound