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
    • 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-2021-28216

CVE-2021-28216: Tianocore EDK II NVRAM Data Vulnerability

CVE-2021-28216 is an NVRAM pointer vulnerability in Tianocore EDK II where BootPerformanceTable pointer is unsafely read from NVRAM in PEI. This article covers technical details, affected systems, and mitigation steps.

Published: February 25, 2026

CVE-2021-28216 Overview

CVE-2021-28216 is a vulnerability in TianoCore EDK II where the BootPerformanceTable pointer is read from an NVRAM variable during the Pre-EFI Initialization (PEI) phase. This flaw allows an attacker with local access to potentially manipulate NVRAM variables to point to arbitrary memory locations, leading to code execution or privilege escalation during the boot process.

Critical Impact

Local attackers can exploit this firmware-level vulnerability to achieve privilege escalation and potentially compromise system integrity during the boot phase, bypassing traditional OS-level security controls.

Affected Products

  • TianoCore EDK II (all versions without the patch)
  • Systems utilizing EDK II-based UEFI firmware
  • Virtual machines and hardware platforms implementing TianoCore EDK II

Discovery Timeline

  • 2021-08-05 - CVE CVE-2021-28216 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-28216

Vulnerability Analysis

This vulnerability affects the firmware initialization process in TianoCore EDK II, specifically during the Pre-EFI Initialization (PEI) phase. The core issue stems from the firmware reading a BootPerformanceTable pointer directly from an NVRAM variable without proper validation. The associated CWE classifications (CWE-587: Assignment of a Fixed Address to a Pointer and CWE-763: Release of Invalid Pointer or Reference) indicate that the vulnerability involves improper handling of memory pointers.

During the boot process, UEFI firmware relies on NVRAM variables to store configuration data. When the BootPerformanceTable pointer is read from NVRAM without adequate validation, an attacker who can modify NVRAM variables could redirect this pointer to malicious code or sensitive memory regions. This occurs before the operating system loads, meaning traditional security software cannot detect or prevent exploitation.

Root Cause

The root cause is the direct use of an NVRAM-stored pointer value without validation during the PEI phase. The firmware incorrectly trusts the integrity of NVRAM data, failing to verify that the BootPerformanceTable pointer references a legitimate and expected memory location. This violates the security principle that data from persistent storage should be treated as potentially untrusted input. The PcdFirmwarePerformanceDataTableS3Support feature, when enabled, facilitates this vulnerable code path.

Attack Vector

The attack requires local access to the system with sufficient privileges to modify NVRAM variables. An attacker would craft a malicious NVRAM variable containing a pointer to attacker-controlled memory or code. When the system boots and the PEI phase executes, the firmware reads this malicious pointer and follows it, potentially executing arbitrary code with the highest privilege level. This attack persists across reboots since NVRAM variables survive power cycles, making it an attractive vector for firmware implants.

The vulnerability mechanism involves the firmware's BootPerformanceTable handling during PEI initialization. When the system reads performance data from NVRAM storage, the pointer value is used directly without bounds checking or validation. An attacker modifying the NVRAM variable can redirect execution flow to arbitrary memory addresses. For detailed technical analysis, see the TianoCore Bug Report #2957.

Detection Methods for CVE-2021-28216

Indicators of Compromise

  • Unexpected modifications to UEFI NVRAM variables, particularly those related to boot performance tables
  • Anomalous memory access patterns during the PEI boot phase
  • Firmware integrity check failures or unexpected hash mismatches
  • Unusual boot-time behavior or delays that could indicate code injection

Detection Strategies

  • Implement firmware integrity monitoring solutions that verify UEFI code and configuration integrity
  • Deploy hardware security modules (HSM) or TPM-based attestation to detect boot-time tampering
  • Monitor system event logs for unauthorized NVRAM variable modifications
  • Use SentinelOne Singularity platform's firmware visibility capabilities to detect anomalous boot behavior

Monitoring Recommendations

  • Enable Secure Boot and verify its configuration to prevent unauthorized code execution during boot
  • Implement continuous firmware monitoring and establish baselines for normal NVRAM variable states
  • Configure alerts for any NVRAM variable changes, especially on critical systems
  • Perform regular firmware integrity audits comparing against known-good firmware images

How to Mitigate CVE-2021-28216

Immediate Actions Required

  • Set PcdFirmwarePerformanceDataTableS3Support to FALSE in firmware configuration as recommended by the vendor
  • Apply the latest EDK II firmware updates from your hardware vendor
  • Enable Secure Boot and ensure proper key management is in place
  • Restrict local access to systems and limit NVRAM modification privileges

Patch Information

TianoCore has addressed this vulnerability in updated releases of EDK II. System administrators should contact their hardware vendors for firmware updates that incorporate the fix. The primary mitigation involves disabling the vulnerable feature by setting PcdFirmwarePerformanceDataTableS3Support to FALSE. Additional details are available in the TianoCore Bug Report #2957. Debian users should also review the Debian LTS Announcement for distribution-specific guidance.

Workarounds

  • Disable the S3 performance data table support by setting PcdFirmwarePerformanceDataTableS3Support to FALSE
  • Implement physical access controls to prevent unauthorized local access to affected systems
  • Use write-protection mechanisms for NVRAM where available in firmware settings
  • Consider enabling UEFI Secure Boot with custom keys to establish trust chain integrity

The recommended configuration change to disable the vulnerable feature:

# In EDK II platform configuration (.dsc file)
# Disable S3 performance data table support
PcdFirmwarePerformanceDataTableS3Support|FALSE

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechTianocore

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-587

  • CWE-763
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • TianoCore Bug Report #2957
  • Related CVEs
  • CVE-2023-45236: Tianocore EDK2 Information Disclosure Flaw

  • CVE-2023-45235: Tianocore EDK2 Buffer Overflow Vulnerability

  • CVE-2023-45234: Tianocore EDK2 Buffer Overflow Vulnerability

  • CVE-2023-45231: Tianocore EDK2 Information Disclosure Flaw
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