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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.4 High | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 7Red Hat |
|
Red Hat Enterprise Linux 7Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
References
- RHSA-2024:1834vendor-advisory
- RHSA-2024:1835vendor-advisory
- RHSA-2024:1873vendor-advisory
- RHSA-2024:1876vendor-advisory
- RHSA-2024:1883vendor-advisory
- RHSA-2024:1902vendor-advisory
- RHSA-2024:1903vendor-advisory
- RHSA-2024:1959vendor-advisory
- RHSA-2024:2086vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-40548vdb-entry
- RHBZ#2241782issue-tracking
- https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html
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.