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-40735

CVE-2022-40735: Diffie-Hellman Key Exchange DoS Vulnerability

CVE-2022-40735 is a denial of service vulnerability in Diffie-Hellman Key Exchange caused by expensive calculations with long exponents. This post covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2022-40735 Overview

CVE-2022-40735 is a resource exhaustion vulnerability in the Diffie-Hellman Key Agreement Protocol that allows attackers to cause denial of service conditions through computationally expensive modular-exponentiation calculations. The vulnerability stems from the protocol's acceptance of long exponents when shorter exponents would be adequate, based on findings from the 1996 van Oorschot and Wiener research paper on appropriate exponent sizes with adequate subgroup constraints.

This vulnerability, commonly referred to as the "DHeat" attack, differs from CVE-2002-20001 in that it focuses on exponent size optimization rather than non-public key numbers. When exploited, an attacker can force servers implementing DHE (Diffie-Hellman Ephemeral) to perform unnecessarily expensive calculations, leading to server-side resource consumption and potential availability issues across protocols like TLS, SSH, and IKE.

Critical Impact

Attackers can exhaust server resources through computationally expensive DHE modular-exponentiation operations, causing denial of service across critical network protocols including TLS, SSH, and IKE.

Affected Products

  • Diffie-Hellman Key Exchange Protocol implementations
  • TLS/SSL servers with DHE cipher suites enabled
  • SSH servers supporting Diffie-Hellman key exchange

Discovery Timeline

  • 2022-11-14 - CVE-2022-40735 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-40735

Vulnerability Analysis

The vulnerability exists in the fundamental design of Diffie-Hellman key exchange implementations that do not enforce optimal exponent sizes. Research by van Oorschot and Wiener established that when adequate subgroup constraints are in place, shorter exponents can provide equivalent security with significantly reduced computational overhead. Implementations that allow arbitrarily long exponents without validation enable attackers to trigger expensive calculations on the server side.

The attack exploits the fact that modular exponentiation is computationally intensive, and by forcing servers to compute with unnecessarily large exponents, an attacker can consume significant CPU resources with minimal effort. This asymmetric computation cost makes the vulnerability particularly dangerous for denial of service attacks, where a single attacker can potentially overwhelm server resources.

Additionally, this vulnerability can be combined with CVE-2002-20001 to amplify the attack impact, creating a more severe resource exhaustion scenario.

Root Cause

The root cause is CWE-400 (Uncontrolled Resource Consumption). Diffie-Hellman implementations that do not validate or constrain exponent sizes allow clients to force servers into performing computationally expensive operations. The protocol specification does not mandate exponent size limits, leaving implementations vulnerable to resource exhaustion attacks when processing DHE handshakes with long exponents.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker initiates multiple DHE handshakes with the target server, supplying parameters that force the server to perform expensive modular-exponentiation calculations. Since the attacker's computational cost is significantly lower than the server's, this creates an asymmetric resource consumption scenario ideal for denial of service attacks.

The attack can target any protocol implementing Diffie-Hellman key exchange, including:

  • TLS handshakes using DHE cipher suites
  • SSH key exchange negotiations
  • IKE (Internet Key Exchange) for IPsec VPN connections

For detailed technical analysis of the DHeat attack, refer to the DHeat Attack Resources documentation.

Detection Methods for CVE-2022-40735

Indicators of Compromise

  • Abnormally high CPU utilization on servers handling TLS, SSH, or IKE connections
  • Increased rate of DHE key exchange requests from single or distributed sources
  • Connection timeouts and service degradation during peak handshake activity
  • Elevated memory consumption in cryptographic library processes

Detection Strategies

  • Monitor server CPU usage for spikes correlated with DHE handshake activity
  • Implement rate limiting on incoming connection requests per source IP
  • Configure network intrusion detection systems to flag excessive DHE negotiation attempts
  • Analyze TLS/SSH handshake patterns for anomalous exponent sizes in DHE parameters

Monitoring Recommendations

  • Deploy application performance monitoring on servers using DHE cipher suites
  • Set up alerts for CPU utilization thresholds on cryptographic processing threads
  • Log and analyze DHE parameter sizes in TLS handshake debugging when investigating incidents
  • Monitor connection queue depths for services implementing Diffie-Hellman key exchange

How to Mitigate CVE-2022-40735

Immediate Actions Required

  • Disable or deprioritize DHE cipher suites in favor of ECDHE (Elliptic Curve Diffie-Hellman Ephemeral) where possible
  • Implement connection rate limiting to reduce the impact of sustained attacks
  • Configure web servers and SSH daemons to use predefined, secure DH groups as specified in RFC 3526
  • Review and update cryptographic library configurations following NIST SP 800-57 guidelines

Patch Information

This is a protocol-level vulnerability affecting various implementations. Mitigation requires configuration changes rather than traditional patches. Organizations should consult vendor-specific guidance for their TLS, SSH, and VPN implementations. The Mozilla SSL Configuration Generator issue provides context on recommended configurations.

Refer to RFC 7919 for security considerations on negotiated finite field Diffie-Hellman ephemeral parameters.

Workarounds

  • Prefer ECDHE cipher suites over DHE in TLS configurations to avoid the vulnerable code path
  • Configure servers to reject DHE handshakes or limit supported DH group sizes
  • Implement application-layer rate limiting for connection establishment
  • Use load balancers with connection throttling to absorb attack traffic before reaching application servers
bash
# Example: Disable DHE cipher suites in OpenSSL-based servers
# Add to SSL configuration to prefer ECDHE over DHE
ssl_ciphers 'ECDHE+AESGCM:ECDHE+CHACHA20:!DHE';
ssl_prefer_server_ciphers on;

# For SSH (sshd_config), prefer ECDH key exchange
KexAlgorithms curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDiffie Hellman Key Exchange Project

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.08%

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

  • Gist: Security Script

  • Mozilla SSL Config Issue

  • IEEE Paper on Security

  • Springer PDF on Cryptography

  • NIST Special Publication 800-57

  • CVE-2022-40735 JSON Report

  • ResearchGate Diffie-Hellman Issues

  • RFC 3526 on Diffie-Hellman

  • RFC 4419 on Ephemeral Diffie-Hellman

  • RFC 5114 Section on Security

  • RFC 7919 Section on Security
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox 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