The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2022-28737

CVE-2022-28737: Red Hat Shim RCE Vulnerability

CVE-2022-28737 is a remote code execution flaw in Red Hat Shim caused by an overflow in handle_image() when loading crafted EFI executables. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-28737 Overview

CVE-2022-28737 is an out-of-bounds write vulnerability in Red Hat Shim's handle_image() function that occurs when processing crafted EFI executables. The vulnerability stems from improper handling of the SizeOfRawData field from PE sections during image loading, allowing attackers to perform out-of-bounds memory writes. This can potentially lead to arbitrary code execution during the boot process, representing a significant threat to Secure Boot implementations.

Critical Impact

This vulnerability allows local attackers to potentially execute arbitrary code during the boot process by exploiting an overflow in the shim bootloader's image handling function, potentially bypassing Secure Boot protections.

Affected Products

  • Red Hat Shim (all affected versions)
  • Linux distributions using vulnerable shim packages
  • Systems relying on Secure Boot with affected shim implementations

Discovery Timeline

  • July 20, 2023 - CVE-2022-28737 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-28737

Vulnerability Analysis

The vulnerability resides in the handle_image() function within Red Hat Shim, which is responsible for loading and executing EFI executables during the Secure Boot process. The function processes PE (Portable Executable) section headers and uses the SizeOfRawData field to determine how much data to load from each section.

The root cause is classified as CWE-787 (Out-of-bounds Write), where insufficient validation of the SizeOfRawData field allows an attacker to craft a malicious EFI executable with manipulated section sizes. When shim attempts to load such an executable, it can write data beyond the allocated buffer boundaries, corrupting adjacent memory regions.

This vulnerability requires local access and user interaction (such as booting from a malicious device), but does not require elevated privileges to exploit. Successful exploitation can compromise the confidentiality, integrity, and availability of the affected system by allowing code execution at the bootloader level—before the operating system's security controls are initialized.

Root Cause

The vulnerability originates from insufficient bounds checking in the handle_image() function when processing the SizeOfRawData field from PE section headers. The function trusts the size values provided in the crafted EFI executable without properly validating them against the actual image size or available memory, leading to an out-of-bounds write condition. This is a classic integer overflow or improper size validation issue that allows memory corruption during the image loading process.

Attack Vector

The attack requires local access to the target system, typically through physical access to boot media or the ability to modify boot files. An attacker would:

  1. Craft a malicious EFI executable with manipulated SizeOfRawData values in the PE section headers
  2. Deliver the malicious executable to the target system (via USB boot device, compromised boot partition, or network boot)
  3. Trigger the shim bootloader to load and process the crafted executable
  4. Exploit the out-of-bounds write to corrupt memory and potentially execute arbitrary code

The vulnerability is particularly dangerous because it occurs during the boot process, before traditional operating system security mechanisms are active. Successful exploitation could allow an attacker to bypass Secure Boot protections and establish persistent access to the system.

Detection Methods for CVE-2022-28737

Indicators of Compromise

  • Unexpected or modified EFI executables in the EFI System Partition (ESP)
  • Boot failures or abnormal behavior during the Secure Boot process
  • Unexpected shim or bootloader binaries with mismatched signatures
  • Evidence of tampering with boot partition files

Detection Strategies

  • Monitor the EFI System Partition for unauthorized modifications to shim and bootloader files
  • Implement file integrity monitoring on all boot-related executables
  • Verify that installed shim packages match expected hashes from vendor repositories
  • Review system boot logs for anomalies or unexpected behavior during early boot stages

Monitoring Recommendations

  • Enable Secure Boot logging and audit trail capabilities where available
  • Implement endpoint detection and response (EDR) solutions that can monitor boot integrity
  • Regularly audit boot partition contents against known-good baselines
  • Deploy hardware-backed attestation mechanisms where supported to verify boot integrity

How to Mitigate CVE-2022-28737

Immediate Actions Required

  • Update Red Hat Shim packages to the latest patched versions available from your distribution
  • Verify Secure Boot is properly configured and DBX (Forbidden Signature Database) is updated
  • Audit the EFI System Partition for any suspicious or unauthorized executables
  • Restrict physical access to systems and control boot device ordering in UEFI settings

Patch Information

Organizations should apply the latest security updates for Red Hat Shim from their Linux distribution vendor. The vulnerability was disclosed via the OpenWall OSS-Security mailing list with coordinated updates. Ensure that your system's DBX (UEFI Forbidden Signature Database) is updated to revoke vulnerable shim versions. Consult your distribution's security advisory for specific package versions that address this vulnerability.

Workarounds

  • If patching is not immediately possible, restrict boot device ordering in UEFI settings to prevent booting from untrusted media
  • Enable UEFI password protection to prevent unauthorized changes to boot configuration
  • Implement physical security controls to limit access to system boot media
  • Consider temporarily disabling network boot (PXE) if not required, to reduce attack surface
bash
# Verify shim package version on Red Hat-based systems
rpm -qa | grep shim

# Check the EFI System Partition for suspicious files
ls -la /boot/efi/EFI/

# Verify Secure Boot status
mokutil --sb-state

# Update shim packages (Red Hat/Fedora)
sudo dnf update shim-*

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedhat Shim

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • MITRE CVE-2022-28737

  • OpenWall OSS-Security Update
  • Related CVEs
  • CVE-2023-40546: Redhat Shim DOS 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