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

CVE-2022-4450: OpenSSL Double Free DoS Vulnerability

CVE-2022-4450 is a double free denial of service vulnerability in OpenSSL's PEM_read_bio_ex() function that can cause crashes. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-4450 Overview

CVE-2022-4450 is a double free vulnerability in OpenSSL's PEM_read_bio_ex() function that can be exploited to cause a denial of service. The function reads a PEM file from a BIO and parses and decodes the "name" (e.g., "CERTIFICATE"), header data, and payload data. When the function succeeds, it populates the name_out, header, and data arguments with pointers to buffers containing the decoded data. The caller is responsible for freeing those buffers.

The vulnerability occurs when a specially crafted PEM file results in 0 bytes of payload data. In this case, PEM_read_bio_ex() returns a failure code but populates the header argument with a pointer to a buffer that has already been freed. If the caller also attempts to free this buffer, a double free condition occurs, most likely leading to a crash.

Critical Impact

An attacker who can supply malicious PEM files for parsing can achieve a denial of service attack by triggering the double free condition in OpenSSL's PEM parsing functions.

Affected Products

  • OpenSSL (multiple versions)
  • Stormshield Network Security
  • Any application using affected OpenSSL PEM parsing functions

Discovery Timeline

  • 2023-02-07 - OpenSSL releases security advisory
  • 2023-02-08 - CVE-2022-4450 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2022-4450

Vulnerability Analysis

This vulnerability is classified as CWE-415 (Double Free). The issue stems from improper memory management in the PEM_read_bio_ex() function when handling edge cases involving zero-byte payloads.

When parsing a PEM file, the function allocates buffers for the name, header, and data components. Under normal circumstances, if parsing succeeds, the caller takes ownership of these buffers and is responsible for freeing them. However, when a malformed PEM file with zero payload bytes is processed, the function enters an error path but leaves a stale pointer in the header argument that points to already-freed memory.

The vulnerability affects multiple OpenSSL functions that wrap or call PEM_read_bio_ex(), including:

  • PEM_read_bio()
  • PEM_read()
  • PEM_X509_INFO_read_bio_ex()
  • SSL_CTX_use_serverinfo_file()
  • The openssl asn1parse command-line application

Some internal OpenSSL uses are not vulnerable because they do not free the header argument when PEM_read_bio_ex() returns a failure code. These protected locations include the PEM_read_bio_TYPE() functions and decoders introduced in OpenSSL 3.0.

Root Cause

The root cause is improper cleanup of internal state when PEM_read_bio_ex() encounters an error condition with zero-byte payload data. The function frees the header buffer internally but still returns the pointer to the caller, creating a use-after-free scenario that becomes a double free when the caller follows standard cleanup procedures.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker must have the ability to supply malicious PEM files to an application that uses the vulnerable OpenSSL functions for parsing. This could occur in scenarios such as:

  • Certificate validation processes
  • TLS server configuration loading
  • Any application accepting PEM-formatted data from untrusted sources

The attacker constructs a malformed PEM file that produces zero bytes of payload data after decoding. When this file is processed by an application using the vulnerable functions, the double free is triggered, causing the application to crash.

Detection Methods for CVE-2022-4450

Indicators of Compromise

  • Unexpected application crashes in processes handling PEM file parsing
  • Core dumps showing double free or memory corruption in OpenSSL-related code paths
  • Error logs indicating PEM parsing failures followed by segmentation faults
  • Abnormal termination of TLS-enabled services after processing certificate files

Detection Strategies

  • Monitor application logs for OpenSSL error messages related to PEM parsing failures
  • Implement memory sanitizers (ASan, MSan) in development environments to detect double free conditions
  • Deploy runtime protection mechanisms that can detect heap corruption
  • Use SentinelOne's behavioral AI to detect abnormal process termination patterns

Monitoring Recommendations

  • Set up alerts for repeated crashes of services that handle PEM files
  • Monitor for unusual patterns of malformed certificate submissions
  • Track OpenSSL-related error messages across your infrastructure
  • Implement file integrity monitoring on configuration files containing PEM data

How to Mitigate CVE-2022-4450

Immediate Actions Required

  • Update OpenSSL to a patched version immediately
  • Review applications that accept PEM files from untrusted sources
  • Implement input validation to reject malformed PEM files before processing
  • Consider deploying Web Application Firewalls (WAF) to filter malicious certificate data

Patch Information

OpenSSL has released patches to address this vulnerability. The fixes are available in the following commits:

  • OpenSSL Commit 63bcf189
  • OpenSSL Commit bbcf509b

For detailed information about affected versions and remediation steps, refer to the OpenSSL Security Advisory.

Additional vendor-specific advisories:

  • Gentoo GLSA 202402-08
  • SonicWall Vulnerability Advisory SNWLID-2023-0003

Workarounds

  • If immediate patching is not possible, restrict PEM file parsing to trusted sources only
  • Implement strict input validation on PEM files before processing
  • Isolate services that handle untrusted PEM data in sandboxed environments
  • Consider disabling functionality that accepts PEM files from external sources until patches can be applied
bash
# Verify OpenSSL version to confirm patched status
openssl version -a

# Check linked OpenSSL version in applications
ldd /path/to/application | grep ssl

# Update OpenSSL on Debian/Ubuntu systems
apt update && apt upgrade openssl libssl3

# Update OpenSSL on RHEL/CentOS systems
yum update openssl

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenssl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.15%

  • 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-415
  • Technical References
  • Gentoo GLSA 202402-08

  • SonicWall Vulnerability SNWLID-2023-0003
  • Vendor Resources
  • OpenSSL Commit Diff

  • OpenSSL Commit Diff

  • OpenSSL Security Advisory
  • Related CVEs
  • CVE-2026-22795: OpenSSL PKCS#12 Parsing DoS Vulnerability

  • CVE-2025-69421: OpenSSL PKCS#12 DoS Vulnerability

  • CVE-2025-69420: OpenSSL TimeStamp DoS Vulnerability

  • CVE-2025-66199: OpenSSL TLS 1.3 DoS 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