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

CVE-2022-39173: WolfSSL Buffer Overflow Vulnerability

CVE-2022-39173 is a buffer overflow vulnerability in WolfSSL during TLS 1.3 handshakes that allows malicious clients to trigger memory corruption. This post explains its impact, affected versions, and mitigation steps.

Published: February 18, 2026

CVE-2022-39173 Overview

CVE-2022-39173 is a buffer overflow vulnerability in wolfSSL before version 5.5.1 that allows malicious clients to cause a denial of service during a TLS 1.3 handshake. The vulnerability is triggered when an attacker attempts to resume a previous TLS session and forces a Hello Retry Request to be processed. By sending two Client Hello messages containing duplicate cipher suites—one in the resumed session and another in response to a Hello Retry Request—an attacker can overflow a buffer and crash the affected server.

This vulnerability affects the core TLS handshake implementation in wolfSSL, a widely-used embedded SSL/TLS library deployed in IoT devices, embedded systems, and security-critical applications.

Critical Impact

Remote attackers can crash wolfSSL-based servers and applications without authentication by exploiting this buffer overflow during TLS 1.3 session resumption, leading to denial of service conditions.

Affected Products

  • wolfSSL versions prior to 5.5.1
  • Applications and embedded systems using vulnerable wolfSSL libraries
  • IoT devices and firmware utilizing wolfSSL for TLS communications

Discovery Timeline

  • 2022-09-29 - CVE-2022-39173 published to NVD
  • 2025-05-20 - Last updated in NVD database

Technical Details for CVE-2022-39173

Vulnerability Analysis

This buffer overflow vulnerability (CWE-787: Out-of-bounds Write) resides in the wolfSSL TLS 1.3 handshake processing code. The flaw occurs during session resumption handling when processing Client Hello messages in conjunction with Hello Retry Request workflows.

The vulnerability requires a specific sequence of events to trigger: an attacker must first initiate a TLS session resumption attempt, then force the server to issue a Hello Retry Request. When the attacker responds with a second Client Hello containing duplicate cipher suites, the parsing logic fails to properly validate buffer boundaries, resulting in an out-of-bounds write condition.

The attack can be executed remotely over the network without requiring any authentication or user interaction. While the vulnerability does not directly lead to code execution or data exfiltration based on available information, the buffer overflow causes a crash that results in service disruption.

Root Cause

The root cause is improper bounds checking when processing cipher suite lists during TLS 1.3 handshake resumption. When duplicate cipher suites are present in successive Client Hello messages, the parsing routine does not correctly account for the accumulated data size, leading to a write operation that exceeds allocated buffer boundaries. This is classified as CWE-787 (Out-of-bounds Write).

Attack Vector

The attack exploits the TLS 1.3 session resumption mechanism through the following sequence:

  1. The attacker initiates a connection to a wolfSSL server and begins a session resumption attempt
  2. The attacker crafts a Client Hello message containing a list of duplicate cipher suites
  3. This triggers the server to respond with a Hello Retry Request
  4. The attacker sends a second Client Hello, also containing duplicate cipher suites
  5. The combination of both Client Hello messages causes the buffer overflow condition
  6. The server crashes, resulting in denial of service

The attack does not require authentication (PR:N), user interaction (UI:N), and can be performed remotely over the network (AV:N). According to analysis from Trail of Bits, this vulnerability was discovered through protocol fuzzing techniques.

Detection Methods for CVE-2022-39173

Indicators of Compromise

  • Unexpected crashes or restarts of applications using wolfSSL for TLS communications
  • Multiple TLS connection attempts from the same source with malformed or unusual Client Hello messages
  • Increased frequency of TLS handshake failures followed by service crashes
  • Memory corruption signatures or segmentation faults in application logs

Detection Strategies

  • Monitor TLS handshake patterns for anomalous session resumption attempts with duplicate cipher suites
  • Implement network intrusion detection rules to identify malformed TLS 1.3 Client Hello sequences
  • Deploy application crash monitoring to detect repeated service failures correlated with incoming TLS connections
  • Analyze packet captures for Client Hello messages containing unusually large or duplicated cipher suite lists

Monitoring Recommendations

  • Enable detailed logging for TLS handshake events in applications using wolfSSL
  • Configure alerting for unexpected application crashes or memory-related errors
  • Monitor network traffic for reconnaissance patterns targeting TLS endpoints
  • Implement rate limiting on TLS connection attempts from individual source addresses

How to Mitigate CVE-2022-39173

Immediate Actions Required

  • Upgrade wolfSSL to version 5.5.1 or later immediately
  • Identify all applications, firmware, and systems using wolfSSL and prioritize patching
  • Consider temporarily disabling TLS 1.3 session resumption if immediate patching is not feasible
  • Review and audit deployed IoT devices and embedded systems for vulnerable wolfSSL versions

Patch Information

wolfSSL has addressed this vulnerability in version 5.5.1. Organizations should consult the wolfSSL Security Vulnerabilities Documentation for official guidance and the wolfSSL Release Notes for upgrade information.

Additional technical details about this vulnerability are available from Packet Storm Security and the Full Disclosure Mailing List.

Workarounds

  • Disable TLS 1.3 session resumption features if upgrading is not immediately possible
  • Implement network-level filtering to block malformed TLS Client Hello messages
  • Deploy a TLS-terminating reverse proxy or load balancer running patched software in front of vulnerable applications
  • Isolate vulnerable systems from untrusted network access until patches can be applied
bash
# Verify wolfSSL version to check for vulnerability
# wolfSSL 5.5.1 or later is required to address CVE-2022-39173
wolfssl-config --version

# If using a package manager, ensure latest version is installed
# Example for systems with wolfSSL packages:
apt list --installed | grep wolfssl

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechWolfssl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.93%

  • 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-787
  • Technical References
  • Packet Storm Security Insight

  • Full Disclosure Mailing List Post

  • Trail of Bits Blog Analysis

  • wolfSSL Release Notes
  • Vendor Resources
  • wolfSSL Security Vulnerabilities Documentation
  • Related CVEs
  • CVE-2026-4395: wolfSSL Buffer Overflow Vulnerability

  • CVE-2026-3849: wolfSSL Buffer Overflow Vulnerability

  • CVE-2026-3549: TLS 1.3 ECH Buffer Overflow Vulnerability

  • CVE-2026-3229: wolfSSL Buffer Overflow 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