LiveActive security incident?Get immediate response
CVE Record

CVE-2023-40546: Shim: out-of-bounds read printing error messages

A flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circumstances.

MediumCVSS 6.2Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2023-40546 is a Shim bootloader flaw that can crash the system during a specific error-handling path. The business impact is availability, not data theft or privilege escalation based on the supplied sources. It matters most for Red Hat systems using affected shim packages in Secure Boot environments.

Executive priority

Treat this as scheduled security maintenance for affected Linux boot infrastructure. It is not sourced as actively exploited, but a boot-time crash can still create operational disruption on important servers or workstations.

Technical view

When Shim fails while creating a new ESL variable, its error logging uses parameters that do not match the format string. The supplied record describes a crash under certain circumstances, mapped to CVSS 6.2 with local attack vector and high availability impact only.

Likely exposure

Exposure is likely limited to systems running the listed Red Hat Enterprise Linux 7, 8, 8.x lifecycle streams, 9, and 9.x EUS shim-related packages at affected versions.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. The CVSS vector is local, requires no privileges or user interaction, and impacts availability rather than confidentiality or integrity.

Researcher notes

Evidence is strongest for Red Hat package impact and advisory availability. The supplied data describes the bug as an error-path logging mismatch causing a crash; it does not provide exploit details, broad vendor impact, or independent exploitation confirmation.

Mitigation direction

  • Apply the relevant Red Hat shim updates from the listed RHSA advisories.
  • Prioritize Secure Boot systems and RHEL lifecycle streams named as affected.
  • Check Red Hat guidance for any stream-specific installation or bootloader handling.
  • Plan maintenance windows where boot component updates require validation.

Validation and detection

  • Inventory installed shim, shim-signed, and shim-unsigned package versions.
  • Compare installed versions against the affected Red Hat package entries.
  • Confirm the applicable RHSA advisory has been applied for each RHEL stream.
  • Validate systems still boot successfully after remediation.
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-476: 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-40546 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
6.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/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
6.2CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H2.53.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/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-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.