A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-45447

CVE-2026-45447: OpenSSL Use-After-Free Vulnerability

CVE-2026-45447 is a use-after-free vulnerability in OpenSSL that affects PKCS#7 and S/MIME signed message processing, potentially leading to remote code execution. This article covers technical details, affected versions, and mitigation.

Published: June 11, 2026

CVE-2026-45447 Overview

CVE-2026-45447 is a use-after-free vulnerability in OpenSSL affecting PKCS#7 and S/MIME signature verification. A specially crafted PKCS#7 or S/MIME signed message can trigger memory corruption during signature verification through PKCS7_verify(). The flaw occurs when the SignedDatadigestAlgorithms field is present as an empty ASN.1 SET, causing OpenSSL to incorrectly free a caller-owned BIO. When the calling application subsequently uses the freed BIO, a use-after-free condition results. Applications using the CMS APIs are not affected, and the FIPS modules in versions 4.0, 3.6, 3.5, 3.4, and 3.0 are outside the affected code boundary.

Critical Impact

A use-after-free in PKCS7_verify() may result in process crashes, heap corruption, or potentially remote code execution when applications process attacker-controlled signed messages.

Affected Products

  • OpenSSL applications using PKCS#7 APIs for signed message verification
  • S/MIME message processing implementations built on OpenSSL PKCS7_verify()
  • OpenSSL releases prior to the fix commits referenced in the security advisory

Discovery Timeline

  • 2026-06-09 - OpenSSL publishes security advisory and fix commits
  • 2026-06-09 - CVE-2026-45447 published to NVD
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-45447

Vulnerability Analysis

The vulnerability resides in crypto/pkcs7/pk7_smime.c within the PKCS7_verify() routine. When parsing a SignedData structure containing an empty digestAlgorithms ASN.1 SET, the verification path mishandles ownership of the input BIO chain. The function frees a BIO that the calling application still owns and references. After PKCS7_verify() returns, the application's later call to BIO_free() on the same pointer operates on freed memory. This is classified as a use-after-free [CWE-416].

Root Cause

The root cause is incorrect lifetime management of the BIO object passed by the caller. OpenSSL's PKCS#7 verification code freed an internal BIO chain that incorrectly included the caller-owned BIO when digestAlgorithms was empty. The fix introduces an additional BIO *next tracking variable to preserve correct chain boundaries and prevent the caller-owned BIO from being released by the library.

Attack Vector

An attacker delivers a crafted PKCS#7 or S/MIME signed message to a vulnerable application. Network delivery is the typical channel, for example through email gateways, signing services, or APIs that accept signed payloads. Successful triggering depends on the allocator behavior and how the application reuses the BIO after PKCS7_verify() returns. Outcomes range from denial of service through process crashes to heap corruption, with potential for remote code execution in certain application contexts.

c
     int i, j = 0, k, ret = 0;
     BIO *p7bio = NULL;
     BIO *tmpout = NULL;
+    BIO *next = NULL;
     const PKCS7_CTX *p7_ctx;
 
     if (p7 == NULL) {

Source: OpenSSL Commit 3aad5eb7 — the patch adds a next pointer to track BIO chain ownership so caller-owned BIOs are no longer freed inside PKCS7_verify().

Detection Methods for CVE-2026-45447

Indicators of Compromise

  • Unexpected crashes or segmentation faults in processes calling PKCS7_verify() shortly after parsing inbound signed messages
  • Heap corruption diagnostics (glibc malloc() errors, ASan reports) emitted by services that process S/MIME or PKCS#7 content
  • Inbound S/MIME or PKCS#7 messages containing a SignedData structure with an empty digestAlgorithms ASN.1 SET

Detection Strategies

  • Inspect mail and message gateways for S/MIME payloads with malformed or empty digestAlgorithms fields using ASN.1-aware parsers
  • Run vulnerable services under address sanitizers or hardened allocators in test environments to surface the use-after-free during fuzzing
  • Inventory binaries linking against libcrypto and flag those calling PKCS7_verify() from user-facing input paths

Monitoring Recommendations

  • Monitor for repeated abnormal terminations of PKCS#7-handling services and correlate with inbound message metadata
  • Track OpenSSL package versions across the fleet and alert when hosts run versions prior to the fix
  • Capture telemetry on email security gateways and signing services for spikes in malformed signed-message rejections

How to Mitigate CVE-2026-45447

Immediate Actions Required

  • Upgrade OpenSSL to a version containing the fix commits referenced in the OpenSSL Security Advisory
  • Audit applications for direct use of PKCS7_verify() and prioritize patching network-exposed services first
  • Where feasible, migrate from PKCS#7 APIs to the CMS APIs, which are not affected by this issue

Patch Information

The fix is delivered in OpenSSL upstream commits 3aad5eb7, 7d4a980c, 9dfd688a, a541ae8b, and c505d755. The patches modify crypto/pkcs7/pk7_smime.c to track BIO chain ownership with an added next pointer, preventing the caller-owned BIO from being freed inside PKCS7_verify(). Refer to the OpenSSL Security Advisory for affected versions and fixed releases.

Workarounds

  • Route PKCS#7 and S/MIME verification through the CMS API (CMS_verify()), which is not affected by this vulnerability
  • Pre-validate inbound signed messages with an ASN.1 schema check and reject messages that contain an empty digestAlgorithmsSET
  • Restrict and authenticate sources permitted to submit signed messages to verification endpoints until patches are deployed
bash
# Verify installed OpenSSL version and identify affected hosts
openssl version -a

# Example: rebuild and link applications against the patched library
# After installing the fixed package, restart services that call PKCS7_verify()
systemctl restart <service-name>

# Optional: prefer the CMS API in application code
# Replace PKCS7_verify(p7, certs, store, indata, out, flags)
# with     CMS_verify(cms, certs, store, indata, out, flags)

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 Score8.8

  • EPSS Probability0.11%

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

  • GitHub OpenSSL Commit Change

  • GitHub OpenSSL Commit Revision

  • GitHub OpenSSL Commit Fix

  • GitHub OpenSSL Commit Improvement

  • OpenSSL Security Advisory
  • Related CVEs
  • CVE-2023-0215: OpenSSL Use-After-Free Vulnerability

  • CVE-2024-4741: OpenSSL SSL_free_buffers Use After Free

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

  • CVE-2026-35188: OpenSSL TLS OCSP Stapling DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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