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
    • 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-31640

CVE-2022-31640: HP Elite Dragonfly Firmware RCE Vulnerability

CVE-2022-31640 is a remote code execution vulnerability in HP Elite Dragonfly system BIOS that enables arbitrary code execution and privilege escalation. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-31640 Overview

CVE-2022-31640 is a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability affecting the system BIOS of numerous HP PC products. This firmware-level vulnerability can potentially allow attackers to achieve arbitrary code execution, escalation of privilege, denial of service, and information disclosure on affected systems.

The vulnerability exists within the BIOS firmware layer, which operates at a highly privileged level below the operating system. Successful exploitation could enable attackers to establish persistent footholds that survive operating system reinstallation and potentially bypass security controls that depend on firmware integrity.

Critical Impact

This BIOS-level vulnerability affects hundreds of HP business and consumer PC models across EliteBook, ProBook, ZBook, Elite, ProDesk, EliteDesk, and Z-series product lines, potentially enabling persistent malware installation and privilege escalation that operates below OS-level security controls.

Affected Products

  • HP EliteBook series (630-865 G4-G9, x360 variants, Healthcare Editions)
  • HP ProBook series (430-655 G3-G9, x360 variants, Fortis editions)
  • HP ZBook series (14u-17 G4-G9, Firefly, Fury, Power, Studio, Create variants)
  • HP Elite Dragonfly series (original, G2, G3, Max)
  • HP Elite x2 series (1012 G2, 1013 G3, G4, G8)
  • HP Elite x360 series (830 G9, 1040 G9)
  • HP EliteDesk series (705 G4-G5, 800 G3-G8, 805 G6-G8, 880 G3-G8)
  • HP ProDesk series (400 G3-G7, 405 G4-G8, 480 G4-G7, 600 G3-G6, 680 G3-G6)
  • HP Z Workstation series (Z1, Z2 Mini/Tower/SFF, Z238, Z240)
  • HP Thin Clients (MT21-MT46, Pro MT440 G3)
  • HP Retail Systems (Engage Flex/Go/One, MP9 G4, RP9 G1)
  • HP ProOne and EliteOne All-in-One series

Discovery Timeline

  • June 14, 2023 - CVE-2022-31640 published to NVD
  • December 30, 2024 - Last updated in NVD database

Technical Details for CVE-2022-31640

Vulnerability Analysis

CVE-2022-31640 represents a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability in HP PC system BIOS firmware. This class of vulnerability (CWE-367) occurs when there is a timing gap between when a security check is performed and when the checked resource is actually used, allowing an attacker to modify the resource in that window.

In the context of BIOS firmware, TOCTOU vulnerabilities are particularly dangerous because they can allow manipulation of data structures or code after security validation has completed but before the validated content is consumed. This creates opportunities for attackers to inject malicious code or modify system configuration at the most privileged execution level.

The vulnerability requires local access to exploit, meaning an attacker must have some level of existing access to the system. However, the potential impact is severe—successful exploitation can lead to arbitrary code execution in the System Management Mode (SMM) or other privileged BIOS contexts, which operate with higher privileges than the operating system kernel itself.

Root Cause

The root cause of this vulnerability is a race condition in the BIOS firmware where the time between validating input and using that input creates an exploitable window. Specifically, the BIOS performs a security check on certain data or parameters, but there exists a window of opportunity where an attacker can modify the checked data before it is actually utilized by the firmware.

This type of vulnerability typically occurs when:

  • Shared memory regions are accessible by both the BIOS/SMM and less privileged code
  • Security validation and resource consumption are not performed atomically
  • Insufficient synchronization mechanisms protect critical operations

The CWE-367 classification indicates that the firmware fails to properly handle concurrent access to shared resources, allowing race conditions that can be exploited for privilege escalation.

Attack Vector

Exploitation of CVE-2022-31640 requires local access to the affected system. The attack scenario involves:

  1. An attacker with local system access identifies the timing window between the BIOS security check and the use of validated data
  2. The attacker prepares malicious data to replace the legitimate validated content
  3. Using precise timing, the attacker modifies the target memory or data structures after validation but before use
  4. The BIOS then processes the malicious data with the privileges of the firmware environment

Since the attack requires local access with low privileges and no user interaction, an attacker who has gained initial access to a system through other means could leverage this vulnerability to escalate privileges to the firmware level, establishing persistence that survives OS reinstallation.

The exploitation complexity is high due to the precise timing requirements inherent in race condition attacks. However, the potential consequences—arbitrary code execution, privilege escalation, denial of service, and information disclosure at the firmware level—make this a significant concern for enterprise environments.

Detection Methods for CVE-2022-31640

Indicators of Compromise

  • Unexpected BIOS firmware modifications or version changes not associated with authorized updates
  • Anomalous System Management Interrupt (SMI) activity or timing patterns
  • Unusual memory access patterns in regions shared between runtime and SMM environments
  • BIOS integrity check failures using platform firmware verification tools

Detection Strategies

  • Deploy hardware-based firmware integrity monitoring solutions that can detect unauthorized BIOS modifications
  • Implement HP Sure Start or similar firmware security technologies that provide self-healing BIOS capabilities
  • Use SentinelOne Singularity platform for endpoint protection with behavioral analysis to detect privilege escalation attempts
  • Monitor for suspicious local privilege escalation patterns that may indicate firmware-level exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for firmware update events and BIOS configuration changes
  • Implement Trusted Platform Module (TPM) attestation to verify firmware integrity during boot
  • Configure alerts for any unauthorized attempts to access or modify BIOS settings
  • Establish baseline firmware configurations and monitor for deviations across the enterprise fleet

How to Mitigate CVE-2022-31640

Immediate Actions Required

  • Inventory all HP PC products in your environment to identify systems running affected BIOS firmware versions
  • Prioritize patching for systems with sensitive data or elevated network privileges
  • Enable BIOS password protection to prevent unauthorized firmware modifications
  • Restrict local administrator access on affected systems until patches can be applied

Patch Information

HP has released BIOS updates to address CVE-2022-31640 across the extensive list of affected products. Organizations should consult the HP Security Bulletin HPSBHF03805 for specific firmware versions and download links for each affected product model.

Due to the large number of affected products spanning multiple HP business PC product lines, administrators should:

  • Reference the official HP security document for model-specific patched BIOS versions
  • Use HP tools such as HP Image Assistant or HP Client Management Script Library for enterprise deployment
  • Validate BIOS updates in a test environment before widespread deployment
  • Maintain a rollback plan in case of compatibility issues with the updated firmware

Workarounds

  • Enable HP Sure Start (if available on affected models) to provide hardware-enforced firmware integrity protection
  • Implement strict physical access controls to affected systems to reduce local attack surface
  • Configure BIOS/UEFI Secure Boot to help ensure only signed firmware and bootloaders execute
  • Deploy endpoint detection and response solutions like SentinelOne to detect and block privilege escalation attempts that may precede firmware exploitation
bash
# Example: Query HP BIOS version using PowerShell
Get-WmiObject -Class Win32_BIOS | Select-Object SMBIOSBIOSVersion, ReleaseDate, Manufacturer

# Example: Check if Secure Boot is enabled
Confirm-SecureBootUEFI

# Use HP BIOS Configuration Utility to enable security features
# BIOSConfigUtility64.exe /setvalue:"Setup Password","YourSecurePassword"
# BIOSConfigUtility64.exe /setvalue:"TPM Device","Available"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHp

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Vendor Resources
  • HP Security Document
  • Related CVEs
  • CVE-2021-3809: HP Elite Dragonfly Firmware RCE Vulnerability

  • CVE-2021-3808: HP Elite Dragonfly Firmware RCE Vulnerability

  • CVE-2021-39298: HP Z1 Entry Tower G5 Privilege Escalation

  • CVE-2026-1578: HP App for Android XSS Vulnerability
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