Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-40546

CVE-2023-40546: Redhat Shim DOS Vulnerability

CVE-2023-40546 is a denial of service flaw in Redhat Shim caused by parameter mismatches in error logging during ESL variable creation. This post covers technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-40546 Overview

A flaw was discovered in Shim, the bootloader used to enable UEFI Secure Boot on Linux systems. The vulnerability occurs when an error happens while creating a new ESL (EFI Signature List) variable. If Shim fails to create the new variable, it attempts 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.

Critical Impact

This Null Pointer Dereference vulnerability (CWE-476) can cause system crashes during the boot process, resulting in a denial of service condition that prevents affected systems from booting properly.

Affected Products

  • Red Hat Shim (all versions prior to patched release)
  • Fedora Project Fedora 39
  • Red Hat Enterprise Linux 8.0 and 9.0

Discovery Timeline

  • 2024-01-29 - CVE-2023-40546 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-40546

Vulnerability Analysis

This vulnerability is classified as a Null Pointer Dereference (CWE-476) that occurs within Shim's error handling routines during ESL variable creation. Shim is a critical component in the UEFI Secure Boot chain, acting as the first-stage bootloader that verifies and loads the main Linux bootloader (typically GRUB).

The flaw exists in the error logging mechanism. When Shim attempts to create a new ESL variable and fails, it invokes a logging function to display an error message. However, there is a mismatch between the format string specifiers and the actual parameters passed to this function. This type of format string vulnerability can result in the function attempting to access memory locations that don't contain valid data, ultimately causing a null pointer dereference and system crash.

The local attack vector requires an attacker to have some level of access to the system, potentially through physical access or a compromised local account with privileges to manipulate UEFI variables.

Root Cause

The root cause is a programming error in the Shim bootloader's error handling code path. When variable creation fails, the logging function is called with a format string that expects a certain number of arguments, but fewer arguments are actually provided. This results in the function reading arbitrary stack data or dereferencing invalid pointers when trying to fulfill the format string requirements.

Attack Vector

The vulnerability requires local access to exploit. An attacker with the ability to trigger the ESL variable creation failure condition can cause the logging function to crash the bootloader. This could be achieved by manipulating UEFI variables or triggering specific error conditions during the Secure Boot validation process. The attack results in denial of service by preventing the system from completing the boot process.

The format string mismatch occurs in Shim's error handling path during ESL variable operations. When the variable creation fails and error logging is triggered, the logging function receives fewer parameters than the format string expects, causing it to read invalid memory and crash. This manifests as a null pointer dereference when the function attempts to access a missing parameter.

Detection Methods for CVE-2023-40546

Indicators of Compromise

  • Unexpected system crashes or boot failures during UEFI Secure Boot initialization
  • Boot loop conditions where the system fails to progress past the Shim bootloader
  • Error messages in UEFI firmware logs related to ESL variable creation failures
  • Repeated kernel panic or crash dumps occurring at early boot stages

Detection Strategies

  • Monitor for unusual boot failures across fleet systems using endpoint telemetry
  • Implement boot integrity monitoring to detect crashes in the Shim bootloader stage
  • Check Shim version inventory across systems using mokutil --sb-state and package manager queries
  • Review UEFI firmware event logs for ESL variable creation errors

Monitoring Recommendations

  • Deploy boot-time monitoring solutions that capture pre-OS crash events
  • Establish baseline boot timing metrics to detect anomalous boot failures
  • Implement automated alerting for systems that fail to complete the boot process
  • Use SentinelOne endpoint agents to monitor for post-boot indicators of boot-time attacks

How to Mitigate CVE-2023-40546

Immediate Actions Required

  • Update Shim to the latest patched version from your distribution's package repositories
  • Apply security updates referenced in Red Hat Security Advisories (RHSA-2024:1834, RHSA-2024:1835, RHSA-2024:1873, and related advisories)
  • Prioritize patching on systems where boot integrity is critical to operations
  • For Debian-based systems, refer to the Debian LTS Announcement for applicable updates

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability:

  • RHSA-2024:1834 - Shim security update
  • RHSA-2024:1835 - Shim security update
  • RHSA-2024:1873 - Shim security update
  • RHSA-2024:1876 - Shim security update

Additional technical details are available in Red Hat Bug Report #2241796 and the Red Hat CVE Analysis.

Workarounds

  • No direct workaround is available; applying vendor patches is the recommended remediation
  • Ensure physical security of affected systems to limit local attack surface
  • Implement boot monitoring to quickly detect and respond to boot failures
  • Consider temporary disabling of Secure Boot only if absolutely necessary and in controlled environments (not recommended for production)
bash
# Check current Shim version on Red Hat/Fedora systems
rpm -q shim-x64 shim-ia32

# Update Shim package to patched version
sudo dnf update shim-x64 shim-ia32

# Verify Secure Boot status
mokutil --sb-state

# On Debian/Ubuntu systems
dpkg -l | grep shim
sudo apt update && sudo apt upgrade shim-signed

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRedhat Shim

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • Red Hat Security Advisory RHSA-2024:1834

  • Red Hat Security Advisory RHSA-2024:1835

  • Red Hat Security Advisory RHSA-2024:1873

  • Red Hat Security Advisory RHSA-2024:1876

  • Red Hat Security Advisory RHSA-2024:1883

  • Red Hat Security Advisory RHSA-2024:1902

  • Red Hat Security Advisory RHSA-2024:1903

  • Red Hat Security Advisory RHSA-2024:1959

  • Red Hat Security Advisory RHSA-2024:2086

  • Debian LTS Announcement May 2024
  • Vendor Resources
  • Red Hat CVE Analysis CVE-2023-40546

  • Red Hat Bug Report #2241796
  • Related CVEs
  • CVE-2022-28737: Red Hat Shim RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English