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

CVE-2023-3817: OpenSSL DH Key Check DoS Vulnerability

CVE-2023-3817 is a denial of service vulnerability in OpenSSL that causes excessive delays when checking DH keys with large parameters. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 11, 2026

CVE-2023-3817 Overview

CVE-2023-3817 is a Denial of Service vulnerability affecting OpenSSL's Diffie-Hellman (DH) parameter validation functions. Applications that use the functions DH_check(), DH_check_ex(), or EVP_PKEY_param_check() to verify DH keys or parameters may experience significant delays when processing excessively long DH keys or parameters. When the key or parameters being checked have been obtained from an untrusted source, this may lead to a Denial of Service condition.

This vulnerability was discovered as a follow-up to CVE-2023-3446, where it was identified that a large q parameter value can trigger an overly long computation during certain validation checks. A correct q value cannot be larger than the modulus p parameter, making these checks unnecessary when q exceeds p.

Critical Impact

Applications calling DH parameter validation functions with untrusted input can be forced into an unresponsive state through algorithmic complexity attacks, causing service disruption.

Affected Products

  • OpenSSL 1.0.2 through 1.0.2zh (all releases in the 1.0.2 branch)
  • OpenSSL 1.1.1 through 1.1.1u (all releases in the 1.1.1 branch)
  • OpenSSL 3.0.x and 3.1.x versions (SSL/TLS implementation and FIPS providers are NOT affected)

Discovery Timeline

  • July 31, 2023 - CVE-2023-3817 published to NVD
  • May 5, 2025 - Last updated in NVD database

Technical Details for CVE-2023-3817

Vulnerability Analysis

The vulnerability exists in OpenSSL's DH_check() function and related APIs that perform validation on Diffie-Hellman parameters. When processing DH parameters with excessively large q values, the validation logic enters computationally expensive operations that can consume significant CPU resources.

The DH_check() function is designed to perform various security checks on DH parameters to ensure they are cryptographically sound. However, the function failed to perform an early validation that the q parameter does not exceed the p parameter before initiating resource-intensive checks. Since a mathematically correct q value can never be larger than p, any such input is inherently invalid and should be rejected immediately.

This vulnerability affects multiple OpenSSL functions and command-line tools:

  • DH_check() - Primary affected function
  • DH_check_ex() - Wrapper function that calls DH_check()
  • EVP_PKEY_param_check() - Higher-level API that invokes DH checks
  • dhparam command with -check option
  • pkeyparam command with -check option

Importantly, the OpenSSL SSL/TLS implementation is NOT affected by this issue, as it does not process untrusted DH parameters through these functions during normal handshake operations. Additionally, the OpenSSL 3.0 and 3.1 FIPS providers are not affected.

Root Cause

The root cause is an algorithmic complexity vulnerability (CWE-834: Excessive Iteration, CWE-606: Unchecked Input for Loop Condition) in the DH parameter validation logic. The DH_check() function did not include a preliminary bounds check to verify that the q parameter is not larger than p before performing computationally expensive validation operations. By supplying a maliciously crafted DH parameter set with an oversized q value, an attacker can force the validation routines into prolonged computation cycles.

Attack Vector

An attacker can exploit this vulnerability by providing crafted DH parameters with an excessively large q value to any application that validates untrusted DH keys or parameters. The attack is network-accessible and requires no authentication or user interaction.

Attack scenarios include:

  • Applications that accept and validate DH parameters from external sources
  • Services that process cryptographic key material from untrusted clients
  • Certificate or key validation utilities processing malicious input
  • Command-line tools (dhparam, pkeyparam) when used with the -check option on untrusted input

When processing such malformed parameters, the vulnerable functions enter computationally expensive validation loops, causing the application to become unresponsive or consume excessive CPU resources.

Detection Methods for CVE-2023-3817

Indicators of Compromise

  • Abnormal CPU consumption by applications using OpenSSL cryptographic functions
  • Application hangs or timeouts during DH parameter validation operations
  • Increased processing time for cryptographic operations involving key validation
  • System resource exhaustion on servers processing external DH parameters

Detection Strategies

  • Monitor for processes with unusually high CPU utilization that are linked to OpenSSL libraries
  • Implement application-level logging to track DH parameter validation operation durations
  • Deploy network monitoring to detect malformed or oversized DH parameters in incoming traffic
  • Use SentinelOne's behavioral analysis to identify applications exhibiting DoS-like resource consumption patterns

Monitoring Recommendations

  • Configure alerts for sustained high CPU usage by applications known to use OpenSSL DH validation
  • Establish baseline metrics for cryptographic operation timing and alert on significant deviations
  • Monitor system logs for application crashes or timeouts in services handling external cryptographic material
  • Implement rate limiting on interfaces that accept DH parameters from untrusted sources

How to Mitigate CVE-2023-3817

Immediate Actions Required

  • Upgrade OpenSSL to patched versions: 3.1.2, 3.0.10, 1.1.1v, or 1.0.2zi (or later)
  • Identify all applications and services using affected OpenSSL versions in your environment
  • Prioritize patching for services that process DH parameters from untrusted sources
  • Review application code for calls to DH_check(), DH_check_ex(), or EVP_PKEY_param_check() with external input

Patch Information

OpenSSL has released security patches addressing this vulnerability. The fix adds a preliminary check to ensure that the q parameter does not exceed the p parameter before performing expensive validation operations. Patch commits are available for review:

  • OpenSSL Commit for 3.1.x branch
  • OpenSSL Commit for 3.0.x branch
  • OpenSSL Commit for 1.1.1 branch

For complete details, refer to the OpenSSL Security Advisory.

Workarounds

  • Implement input validation at the application level to reject DH parameters with q values larger than p before passing them to OpenSSL functions
  • Limit or restrict the sources from which DH parameters are accepted
  • Set appropriate timeouts for cryptographic operations to prevent indefinite hangs
  • Consider disabling DH parameter checking for untrusted inputs until patches can be applied, understanding the security trade-offs involved
bash
# Verify OpenSSL version after patching
openssl version -a

# Check for vulnerable functions in linked binaries
nm -D /usr/lib/x86_64-linux-gnu/libcrypto.so | grep -E "DH_check|EVP_PKEY_param_check"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenssl

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.32%

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

  • CWE-834
  • Technical References
  • OpenSSL Commit Diff

  • Full Disclosure Mailing List

  • OSS-Security Mailing List Update

  • OSS-Security Mailing List Update

  • OSS-Security Mailing List Update

  • OSS-Security Mailing List Update

  • Debian LTS Announcement

  • Gentoo GLSA 202402-08

  • NetApp Security Advisory ntap-20230818-0014

  • NetApp Security Advisory ntap-20231027-0008

  • NetApp Security Advisory ntap-20240621-0006
  • Vendor Resources
  • OpenSSL Commit Diff

  • OpenSSL Commit Diff

  • OpenSSL Commit Diff

  • OpenSSL Security Advisory
  • Related CVEs
  • CVE-2026-28389: OpenSSL CMS DoS Vulnerability

  • CVE-2026-28388: OpenSSL Delta CRL DoS Vulnerability

  • CVE-2026-28386: OpenSSL AES-CFB128 DoS Vulnerability

  • CVE-2026-28390: OpenSSL CMS 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