SARA / Free Tools / CVE / CVE-2023-40548

CVE-2023-40548 — A buffer overflow was found in Shim in the 32-bit system

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

CVSS
7.4 HIGH
EPSS
3.00% (top 91.00%)
CWE
CWE-787
Published
2024-01-29T14:53:44.319Z
Last modified
2025-11-20T19:53:32.879Z
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

01What is this vulnerability?

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.

02Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 70:15.8-3.el7
Red HatRed Hat Enterprise Linux 70:15.8-1.el7
Red HatRed Hat Enterprise Linux 80:15.8-4.el8_9
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:15.8-2.el8_2
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Service0:15.8-2.el8_2
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:15.8-2.el8_2
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:15.8-2.el8_4
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service0:15.8-2.el8_4
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:15.8-2.el8_4
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support0:15.8-2.el8_6
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support0:15.8-2.el8
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support0:15.8-2.el8
Red HatRed Hat Enterprise Linux 90:15.8-4.el9_3
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support0:15.8-3.el9
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support0:15.8-2.el9
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support0:15.8-2.el9
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support0:15.8-3.el9_2

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:

Open in Sigma generator →

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →