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-2023-0215

CVE-2023-0215: OpenSSL Use-After-Free Vulnerability

CVE-2023-0215 is a use-after-free vulnerability in OpenSSL affecting BIO_new_NDEF function that can lead to crashes. This article covers the technical details, affected API functions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2023-0215 Overview

CVE-2023-0215 is a use-after-free vulnerability in the OpenSSL cryptographic library affecting the BIO_new_NDEF public API function. This helper function is used for streaming ASN.1 data via a BIO and is primarily utilized internally by OpenSSL to support SMIME, CMS, and PKCS7 streaming capabilities. The vulnerability occurs when the function fails to properly clean up the BIO chain under certain error conditions, leaving dangling pointers that can lead to a use-after-free condition when the caller subsequently calls BIO_pop().

Critical Impact

This use-after-free vulnerability can cause application crashes and denial of service conditions in systems relying on OpenSSL for cryptographic operations, affecting critical infrastructure components that use SMIME, CMS, or PKCS7 functionality.

Affected Products

  • OpenSSL (multiple versions)
  • Stormshield Management Center
  • Various third-party products incorporating vulnerable OpenSSL versions

Discovery Timeline

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

Technical Details for CVE-2023-0215

Vulnerability Analysis

The vulnerability exists in the BIO_new_NDEF function which receives a BIO from the caller and prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain. When the function encounters certain error conditions—such as an invalid CMS recipient public key—the newly created filter BIO is freed and the function returns NULL to indicate failure. However, the BIO chain is not properly cleaned up during this error handling process.

The BIO passed by the caller retains internal pointers to the previously freed filter BIO. If the caller then calls BIO_pop() on the BIO (a common pattern in error handling code), a use-after-free occurs. This scenario directly manifests in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO.

Root Cause

The root cause is improper memory management during error handling in the BIO_new_NDEF function. When an error occurs and the newly allocated filter BIO is freed, the function fails to properly detach the freed BIO from the chain or clear the pointers in the caller's BIO that reference the freed memory. This violates the principle of maintaining consistent state during error recovery and creates a dangling pointer scenario.

Attack Vector

The vulnerability can be triggered remotely over a network without requiring authentication or user interaction. An attacker can exploit this by providing malformed or invalid cryptographic data (such as an invalid CMS recipient public key) to applications that process SMIME, CMS, or PKCS7 content using the affected OpenSSL functions.

Public API functions that may be exploited include:

  • PEM_write_bio_ASN1_stream
  • PEM_write_bio_CMS_stream
  • PEM_write_bio_PKCS7_stream
  • SMIME_write_ASN1
  • SMIME_write_CMS
  • SMIME_write_PKCS7
  • i2d_ASN1_bio_stream
  • BIO_new_CMS
  • BIO_new_PKCS7
  • i2d_CMS_bio_stream
  • i2d_PKCS7_bio_stream

The OpenSSL cms and smime command line applications are also affected by this vulnerability.

Detection Methods for CVE-2023-0215

Indicators of Compromise

  • Unexpected crashes or core dumps in applications using OpenSSL for SMIME, CMS, or PKCS7 operations
  • Application crash signatures indicating use-after-free in BIO-related functions
  • Abnormal termination of services processing encrypted email or signed content
  • Memory access violation errors in logs related to OpenSSL function calls

Detection Strategies

  • Implement application crash monitoring for processes using OpenSSL cryptographic functions
  • Deploy memory sanitizers (AddressSanitizer) in development and staging environments to detect use-after-free conditions
  • Monitor system logs for segmentation faults or access violations in services handling SMIME/CMS/PKCS7 content
  • Use vulnerability scanning tools to identify systems running vulnerable OpenSSL versions

Monitoring Recommendations

  • Enable comprehensive logging for applications processing cryptographic content
  • Configure crash dump collection and analysis for rapid incident response
  • Implement service availability monitoring for critical systems using OpenSSL
  • Track OpenSSL version inventory across all systems for patch management

How to Mitigate CVE-2023-0215

Immediate Actions Required

  • Inventory all systems and applications using OpenSSL to identify vulnerable deployments
  • Prioritize patching of internet-facing services and systems processing untrusted SMIME/CMS/PKCS7 content
  • Apply vendor patches as they become available from your operating system or application vendors
  • Review the OpenSSL Security Advisory 2023-02-07 for specific version guidance

Patch Information

OpenSSL has released patches addressing this vulnerability. Organizations should upgrade to patched versions as indicated in the official security advisory. The following resources provide patch details:

  • OpenSSL Security Advisory
  • OpenSSL Git Commit (8818064)
  • OpenSSL Git Commit (9816136)
  • OpenSSL Git Commit (c3829dd)

Additional vendor advisories are available from Gentoo, NetApp, and SonicWall.

Workarounds

  • Restrict or disable processing of untrusted SMIME, CMS, or PKCS7 content until patches can be applied
  • Implement input validation to reject malformed cryptographic data before it reaches OpenSSL functions
  • Consider using application-level sandboxing to contain potential crashes and prevent service disruption
  • Deploy network-level filtering to block known malicious payloads targeting this vulnerability
bash
# Check OpenSSL version to verify patch status
openssl version -a

# Example: Verify patched version is installed
# Expected output should show a patched version per vendor advisory

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechOpenssl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.50%

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

  • NetApp Security Advisory NTAP-20230427-0007

  • NetApp Security Advisory NTAP-20230427-0009

  • NetApp Security Advisory NTAP-20240621-0006

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

  • OpenSSL Commit Diff

  • OpenSSL Commit Diff

  • OpenSSL Security Advisory 2023-02-07
  • Related CVEs
  • CVE-2024-4741: OpenSSL SSL_free_buffers Use After Free

  • CVE-2025-3416: OpenSSL Use-After-Free Vulnerability

  • CVE-2026-2673: OpenSSL TLS 1.3 Key Exchange Vulnerability

  • CVE-2026-24695: XWEB Pro RCE 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