LiveActive security incident?Get immediate response
CVE Record

CVE-2023-40551: Shim: out of bounds read when parsing mz binaries

A flaw was found in the MZ binary format in Shim. An out-of-bounds read may occur, leading to a crash or possible exposure of sensitive data during the system's boot phase.

MediumCVSS 5.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2023-40551 is a bootloader-chain issue in Shim, used by affected Red Hat Enterprise Linux systems during Secure Boot. A malformed MZ binary can cause an out-of-bounds read, potentially crashing the boot phase or exposing limited sensitive data.

Executive priority

Treat this as a scheduled but important infrastructure update. It is not evidenced as internet-scale active exploitation, but it affects the boot chain, where failures can cause outages and recovery complexity.

Technical view

The flaw is CWE-125 in Shim MZ binary parsing. CVSS is 5.1 with local attack vector, low complexity, high privileges, no user interaction, low confidentiality impact, and high availability impact. Red Hat lists affected shim, shim-signed, and shim-unsigned packages across RHEL 7, 8, and 9 streams.

Likely exposure

Exposure is most relevant on affected Red Hat Enterprise Linux systems using the listed Shim packages, especially Secure Boot-enabled fleets and long-lived EUS, AUS, TUS, SAP, or mission-critical streams.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. The CVSS vector indicates local access with high privileges is required, limiting broad remote attack likelihood but making boot integrity and recovery planning important.

Researcher notes

Evidence supports an out-of-bounds read during MZ parsing in Shim. The affected data is specific to Red Hat package streams listed in the bundle. Public sources here do not provide exploit details or a universal non-update workaround.

Mitigation direction

  • Review the matching Red Hat advisory for your RHEL stream.
  • Apply vendor-provided shim updates through approved maintenance channels.
  • Prioritize Secure Boot-enabled and operationally critical systems.
  • Check Red Hat guidance before changing bootloader or Secure Boot configuration.
  • Plan rollback and recovery procedures for boot-chain updates.

Validation and detection

  • Inventory RHEL versions and installed shim-related packages.
  • Compare package names and versions against the affected list.
  • Confirm the applicable RHSA update is installed.
  • Validate Secure Boot systems reboot successfully after maintenance.
  • Record exceptions for unsupported or extended support streams.
Prepared
Confidence
high
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-40551 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
13Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.1CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H0.84.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.1Medium
CVSS 3.1 vector shape for CVE-2023-40551Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 7shim, 0:15.8-3.el7affected
Red HatRed Hat Enterprise Linux 7shim-signed, 0:15.8-1.el7affected
Red HatRed Hat Enterprise Linux 8shim, 0:15.8-4.el8_9affected
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Supportshim, 0:15.8-2.el8_2affected
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Serviceshim, 0:15.8-2.el8_2affected
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutionsshim, 0:15.8-2.el8_2affected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportshim, 0:15.8-2.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Serviceshim, 0:15.8-2.el8_4affected
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutionsshim, 0:15.8-2.el8_4affected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Supportshim, 0:15.8-2.el8_6affected
Red HatRed Hat Enterprise Linux 8.8 Extended Update Supportshim, 0:15.8-2.el8affected
Red HatRed Hat Enterprise Linux 8.8 Extended Update Supportshim-unsigned-x64, 0:15.8-2.el8affected
Red HatRed Hat Enterprise Linux 9shim, 0:15.8-4.el9_3affected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportshim, 0:15.8-3.el9affected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportshim-unsigned-aarch64, 0:15.8-2.el9affected
Red HatRed Hat Enterprise Linux 9.0 Extended Update Supportshim-unsigned-x64, 0:15.8-2.el9affected
Red HatRed Hat Enterprise Linux 9.2 Extended Update Supportshim, 0:15.8-3.el9_2affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.