CVE-2023-40548

Shim: interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems

State
Published
Severity
7.4 High
Published
Jan 29, 2024
Updated
Jun 26, 2026
Reserved
Aug 15, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
Red Hat Enterprise Linux 7Red Hat
  • 0:15.8-3.el7 and laterNot affected
Red Hat Enterprise Linux 7Red Hat
  • 0:15.8-1.el7 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:15.8-4.el8_9 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:15.8-2.el8_2 and laterNot affected
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRed Hat
  • 0:15.8-2.el8_2 and laterNot affected
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRed Hat
  • 0:15.8-2.el8_2 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:15.8-2.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat
  • 0:15.8-2.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat
  • 0:15.8-2.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat
  • 0:15.8-2.el8_6 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:15.8-2.el8 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:15.8-2.el8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:15.8-4.el9_3 and laterNot affected
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat
  • 0:15.8-3.el9 and laterNot affected
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat
  • 0:15.8-2.el9 and laterNot affected
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat
  • 0:15.8-2.el9 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 0:15.8-3.el9_2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.