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

CVE-2022-3358: OpenSSL Information Disclosure Vulnerability

CVE-2022-3358 is an information disclosure vulnerability in OpenSSL affecting versions 3.0.0 to 3.0.5. This flaw exposes plaintext when custom ciphers use NID_undef. Explore technical details, impact analysis, and fixes.

Published: February 17, 2026

CVE-2022-3358 Overview

CVE-2022-3358 is a cryptographic vulnerability in OpenSSL versions 3.0.0 through 3.0.5 that causes legacy custom ciphers to be incorrectly substituted with the NULL cipher when certain conditions are met. This results in plaintext being emitted as ciphertext, completely bypassing encryption protections for affected applications.

The vulnerability exists in the handling of legacy custom ciphers created via the deprecated EVP_CIPHER_meth_new() function. When applications pass NID_undef to this function and subsequently use the custom cipher with encryption/decryption initialization functions such as EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2(), or EVP_CipherInit_ex2(), OpenSSL incorrectly attempts to fetch an equivalent cipher from available providers rather than using the custom cipher directly. This matching process resolves to the NULL cipher, which performs no encryption whatsoever.

Critical Impact

Applications using legacy custom ciphers with NID_undef may transmit or store sensitive data in plaintext, believing it to be encrypted, leading to complete confidentiality loss.

Affected Products

  • OpenSSL 3.0.0 through 3.0.5
  • Applications using EVP_CIPHER_meth_new() with NID_undef
  • Third-party products embedding affected OpenSSL versions (SonicWall, NetApp)

Discovery Timeline

  • 2022-10-11 - CVE CVE-2022-3358 published to NVD
  • 2022-10-11 - OpenSSL releases security patch in version 3.0.6
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-3358

Vulnerability Analysis

This vulnerability represents a broken cryptography flaw stemming from improper handling of legacy cipher mechanisms during OpenSSL's transition to the provider-based architecture introduced in version 3.0. The core issue lies in the cipher resolution logic within the encryption initialization functions.

When an application creates a custom cipher using the deprecated EVP_CIPHER_meth_new() API with NID_undef as the cipher identifier, the expectation is that this custom cipher will be used directly for cryptographic operations. However, OpenSSL 3.0.x incorrectly deviates from this behavior by attempting to resolve an equivalent cipher through the provider mechanism.

The resolution process uses the NID (Numeric Identifier) to find a matching cipher. Since NID_undef represents an undefined or generic identifier, the matching algorithm resolves to the NULL cipher—a special cipher that performs identity transformation, passing plaintext through unchanged. If the default provider is loaded, this NULL cipher is successfully fetched, and all subsequent encryption operations produce no actual encryption.

The impact is particularly severe because applications have no indication that encryption is not occurring. The API calls succeed normally, but the output is identical to the input, completely negating any confidentiality protections the application intended to provide.

Root Cause

The root cause is a logic error in OpenSSL 3.0's cipher initialization functions that inappropriately attempts provider-based cipher resolution for legacy custom ciphers. Rather than using the custom cipher object directly as provided by the application, the code path incorrectly enters the provider resolution logic, where NID_undef matches to the NULL cipher. This architectural oversight in the legacy compatibility layer results in silent cipher substitution.

Attack Vector

The vulnerability can be exploited through applications that:

  1. Use the legacy EVP_CIPHER_meth_new() function with NID_undef to create custom ciphers
  2. Pass these custom ciphers to encryption/decryption initialization functions
  3. Have the default provider loaded (common configuration)

When these conditions are met, an attacker capable of intercepting network traffic or accessing stored data can read what was intended to be encrypted information in plaintext. This is a passive attack—no special techniques are required beyond capturing the unencrypted data.

The vulnerability mechanism involves the cipher initialization process. When EVP_EncryptInit_ex2() or similar functions receive a legacy custom cipher created with NID_undef, OpenSSL's provider resolution incorrectly matches this to the NULL cipher. With the default provider loaded, encryption operations silently produce plaintext output instead of ciphertext. Applications using SSL/TLS are not affected as they use different code paths.

Detection Methods for CVE-2022-3358

Indicators of Compromise

  • Network traffic containing plaintext data that should be encrypted
  • Log entries or captured data revealing sensitive information in cleartext
  • Application data at rest that appears unencrypted despite encryption code execution
  • Anomalous cipher suite selection showing NULL cipher usage

Detection Strategies

  • Audit application source code for usage of EVP_CIPHER_meth_new() with NID_undef parameter
  • Monitor network traffic for sensitive data patterns that should be encrypted
  • Implement data integrity checks that can detect encryption failures
  • Use static analysis tools to identify deprecated OpenSSL API usage patterns

Monitoring Recommendations

  • Deploy network monitoring to detect plaintext transmission of sensitive data types
  • Enable verbose logging in applications to capture cipher selection decisions
  • Monitor for OpenSSL version strings in deployed applications to identify vulnerable instances
  • Implement automated vulnerability scanning for OpenSSL library versions across infrastructure

How to Mitigate CVE-2022-3358

Immediate Actions Required

  • Upgrade OpenSSL to version 3.0.6 or later immediately
  • Review application code for usage of deprecated EVP_CIPHER_meth_new() API
  • Replace legacy custom cipher implementations with the new provider mechanism
  • If using NID_undef, change to a proper unique NID or migrate to the provider API

Patch Information

OpenSSL has addressed this vulnerability in version 3.0.6. The fix ensures that legacy custom ciphers are used directly rather than being incorrectly resolved through the provider mechanism. Organizations should upgrade to OpenSSL 3.0.6 or later. For detailed patch information, refer to the OpenSSL Security Advisory and the OpenSSL Commit Diff.

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

Workarounds

  • Avoid using NID_undef when creating custom ciphers with EVP_CIPHER_meth_new()
  • Migrate to the new provider mechanism for custom cipher implementations as recommended by OpenSSL
  • Unload the default provider if NULL cipher functionality is not required
  • Implement application-level encryption validation to detect cipher substitution
bash
# Check OpenSSL version to verify if vulnerable
openssl version
# Vulnerable: OpenSSL 3.0.0 - 3.0.5
# Fixed: OpenSSL 3.0.6+

# Update OpenSSL on Debian/Ubuntu
sudo apt update && sudo apt install openssl

# Update OpenSSL on RHEL/CentOS
sudo yum update openssl

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechOpenssl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability16.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-476
  • Technical References
  • OpenSSL Commit Diff

  • SonicWall Vulnerability SNWLID-2022-0023

  • Gentoo GLSA 202402-08

  • NetApp Security Advisory ntap-20221028-0014
  • Vendor Resources
  • OpenSSL Security Advisory 20221011
  • Related CVEs
  • CVE-2026-31790: OpenSSL Information Disclosure Flaw

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

  • CVE-2025-69418: OpenSSL OCB Information Disclosure Flaw

  • CVE-2025-15469: OpenSSL Dgst Data Truncation 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