Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-35784

CVE-2023-35784: OpenBSD LibreSSL Use-After-Free Flaw

CVE-2023-35784 is a use-after-free vulnerability in OpenBSD LibreSSL that can cause memory corruption after SSL_clear operations. This article covers the technical details, affected versions, and remediation steps.

Published: February 4, 2026

CVE-2023-35784 Overview

A critical memory corruption vulnerability has been identified in OpenBSD and LibreSSL involving a double free or use after free condition that can occur after calling the SSL_clear function. This vulnerability affects OpenBSD 7.2 before errata 026, OpenBSD 7.3 before errata 004, and LibreSSL versions before 3.6.3 and 3.7.x before 3.7.3. Importantly, OpenSSL is not affected by this vulnerability.

Critical Impact

This double free/use after free vulnerability in SSL/TLS implementations can be exploited remotely without authentication, potentially leading to arbitrary code execution, denial of service, or information disclosure on affected systems.

Affected Products

  • OpenBSD 7.2 (before errata 026)
  • OpenBSD 7.3 (before errata 004)
  • LibreSSL before 3.6.3
  • LibreSSL 3.7.x before 3.7.3

Discovery Timeline

  • 2023-06-16 - CVE-2023-35784 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-35784

Vulnerability Analysis

This vulnerability represents a classic memory safety issue in the SSL_clear function within OpenBSD's SSL/TLS implementation. When SSL_clear is called to reset an SSL connection structure for reuse, the function fails to properly invalidate certain internal pointers after freeing associated memory. This creates a dangerous condition where subsequent operations may reference freed memory (use after free) or attempt to free the same memory region twice (double free).

The vulnerability is particularly concerning because SSL/TLS libraries are foundational security components used for encrypted communications. Memory corruption in these libraries can undermine the security guarantees they provide and potentially allow attackers to execute arbitrary code in the context of the vulnerable application.

Root Cause

The root cause of CVE-2023-35784 lies in improper pointer management within the s3_lib.c source file. When memory is freed during the SSL connection reset process, the corresponding pointers are not set to NULL or otherwise invalidated. This violates secure coding practices for memory management in C and creates exploitable conditions where stale pointers remain accessible.

The GitHub LibreSSL Commit Update shows the fix involved adding missing pointer invalidation after freeing memory, ensuring that subsequent accesses would fail safely rather than referencing freed memory.

Attack Vector

This vulnerability can be exploited remotely over the network without requiring authentication or user interaction. An attacker could potentially craft malicious SSL/TLS traffic designed to trigger the vulnerable code path in SSL_clear, causing the double free or use after free condition. Successful exploitation could result in:

  • Remote Code Execution: Memory corruption could be leveraged to execute arbitrary code
  • Denial of Service: Crashing the application through memory corruption
  • Information Disclosure: Reading sensitive data from freed memory regions
c
-/* $OpenBSD: s3_lib.c,v 1.242 2022/11/26 16:08:55 tb Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.243 2023/05/16 14:10:43 jcs Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *

Source: GitHub LibreSSL Commit Update

Detection Methods for CVE-2023-35784

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in processes using LibreSSL or OpenBSD SSL libraries
  • Memory corruption errors in system logs related to SSL/TLS operations
  • Abnormal SSL/TLS connection patterns with repeated connection resets
  • Core dumps indicating double free or heap corruption in SSL library components

Detection Strategies

  • Monitor for process crashes in applications utilizing LibreSSL, particularly those handling high volumes of SSL/TLS connections
  • Deploy memory sanitizers (ASan, MSan) in development and staging environments to detect use after free conditions
  • Implement network monitoring for anomalous SSL/TLS handshake patterns that may indicate exploitation attempts
  • Audit system logs for SSL-related errors that could indicate memory corruption events

Monitoring Recommendations

  • Configure centralized logging to capture SSL library error messages and crash reports
  • Implement real-time alerting for application crashes in SSL-enabled services
  • Monitor for unusual network traffic patterns on SSL/TLS ports (443, 8443, etc.)
  • Track LibreSSL and OpenBSD version information across your infrastructure to identify vulnerable systems

How to Mitigate CVE-2023-35784

Immediate Actions Required

  • Inventory all systems running OpenBSD 7.2, OpenBSD 7.3, or LibreSSL to identify vulnerable deployments
  • Apply the relevant errata patches immediately: errata 026 for OpenBSD 7.2 and errata 004 for OpenBSD 7.3
  • Upgrade LibreSSL to version 3.6.3 or later (or 3.7.3 for the 3.7.x branch)
  • Restart all services and applications that use the patched SSL libraries to ensure the fix is active

Patch Information

OpenBSD has released official patches to address this vulnerability. The patches add proper pointer invalidation after memory is freed, preventing the double free and use after free conditions. The following resources provide the official fixes:

  • OpenBSD 7.2 SSL Patch Signature - Patch for OpenBSD 7.2
  • OpenBSD 7.3 SSL Patch Signature - Patch for OpenBSD 7.3
  • OpenBSD LibreSSL 3.6.3 Release Notes - LibreSSL 3.6.3 release
  • OpenBSD LibreSSL 3.7.3 Release Notes - LibreSSL 3.7.3 release

Workarounds

  • If immediate patching is not possible, consider temporarily disabling or restricting access to services that heavily utilize SSL connection reuse
  • Implement network segmentation to limit exposure of vulnerable systems to untrusted networks
  • Deploy Web Application Firewalls (WAF) or Intrusion Prevention Systems (IPS) to detect and block potential exploitation attempts
  • Monitor affected systems closely for signs of exploitation while preparing for patch deployment
bash
# OpenBSD 7.2 - Apply errata 026
cd /usr/src
signify -Vep /etc/signify/openbsd-72-base.pub -x 026_ssl.patch.sig -m - | patch -p0

# OpenBSD 7.3 - Apply errata 004
cd /usr/src
signify -Vep /etc/signify/openbsd-73-base.pub -x 004_ssl.patch.sig -m - | patch -p0

# Rebuild and install the SSL library
cd /usr/src/lib/libssl
make obj && make && make install

# Restart affected services
rcctl restart httpd

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/TechOpenbsd

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-415
  • Technical References
  • OpenBSD LibreSSL 3.6.3 Release Notes

  • OpenBSD LibreSSL 3.7.3 Release Notes

  • GitHub LibreSSL Commit Update
  • Vendor Resources
  • OpenBSD 7.2 SSL Patch Signature

  • OpenBSD 7.3 SSL Patch Signature
  • Related CVEs
  • CVE-2024-10934: OpenBSD Use-After-Free Vulnerability

  • CVE-2026-41285: OpenBSD slaacd/rad DoS Vulnerability

  • CVE-2024-43688: Vixie Cron 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