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-2026-3805

CVE-2026-3805: Haxx Curl Use-After-Free Vulnerability

CVE-2026-3805 is a use-after-free vulnerability in Haxx Curl that occurs during SMB requests to the same host. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: March 13, 2026

CVE-2026-3805 Overview

A use-after-free vulnerability has been identified in curl's SMB (Server Message Block) protocol handling. When performing a second SMB request to the same host, curl incorrectly uses a data pointer that references memory that has already been freed. This memory safety issue can lead to application crashes, denial of service conditions, or potentially more severe security impacts depending on the memory state at the time of exploitation.

Critical Impact

This use-after-free vulnerability in curl's SMB handling can cause denial of service through application crashes when connecting to SMB servers, affecting systems that rely on curl for SMB file transfers and network operations.

Affected Products

  • haxx curl (all versions prior to patch)

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-3805 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-3805

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption vulnerability that occurs when a program continues to use a pointer after the memory it references has been deallocated. In the context of curl's SMB implementation, the issue manifests during connection reuse scenarios where subsequent requests to the same SMB host incorrectly reference freed memory structures.

The vulnerability is network-accessible and requires no authentication or user interaction to trigger, making it particularly concerning for applications that process SMB connections from untrusted sources or automated systems performing repeated SMB operations.

Root Cause

The root cause lies in curl's SMB connection handling logic, specifically in how connection state is managed between successive requests to the same host. When a second SMB request is initiated to a previously connected host, the code path fails to properly validate that the data structures associated with the connection are still valid, leading to the use of a dangling pointer that references deallocated memory.

This type of memory management error typically occurs when:

  • Connection cleanup routines free memory structures
  • Subsequent connection reuse logic does not properly reinitialize or validate pointers
  • The freed memory may be reallocated for other purposes, causing data corruption or crashes

Attack Vector

The attack vector is network-based and can be exploited remotely. An attacker could potentially trigger this vulnerability by:

  1. Establishing an SMB connection to a curl-based application or service
  2. Completing the initial SMB request, triggering connection cleanup
  3. Initiating a second SMB request to the same host, causing curl to access freed memory

The vulnerability results in a denial of service condition through application crashes. While the primary impact is availability (causing application termination), use-after-free vulnerabilities can sometimes be escalated to achieve code execution if an attacker can control the contents of the reallocated memory region.

Detection Methods for CVE-2026-3805

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using curl for SMB operations
  • Core dumps showing memory access violations in SMB-related curl functions
  • Repeated application restarts following SMB connection attempts to the same host
  • Memory corruption errors logged by system monitoring tools during curl SMB operations

Detection Strategies

  • Monitor application logs for segmentation faults or memory access violations coinciding with SMB operations
  • Deploy memory debugging tools (Valgrind, AddressSanitizer) in development and testing environments to detect use-after-free patterns
  • Implement network traffic analysis to identify unusual SMB connection patterns that could indicate exploitation attempts
  • Use SentinelOne's behavioral detection capabilities to identify application crashes following specific network activity patterns

Monitoring Recommendations

  • Enable detailed logging for applications utilizing curl's SMB functionality
  • Configure crash reporting and core dump collection for curl-dependent services
  • Monitor network connections for repeated SMB connection sequences to the same host
  • Set up alerts for unexpected service terminations in curl-based applications

How to Mitigate CVE-2026-3805

Immediate Actions Required

  • Update curl to the latest patched version as soon as available from the vendor
  • Review applications and services that use curl with SMB protocol support
  • Consider disabling SMB protocol support in curl if not required for operations
  • Implement network segmentation to limit exposure of vulnerable curl instances to untrusted networks

Patch Information

Haxx has released security documentation for this vulnerability. System administrators should consult the curl CVE-2026-3805 Documentation for specific patch information and updated versions. Additional technical details are available in the HackerOne Report #3591944 and the OpenWall OSS-Security Email Thread.

Organizations should prioritize updating curl installations, particularly on systems that:

  • Process SMB connections from external or untrusted networks
  • Perform automated SMB file transfers
  • Use curl as a library in networked applications

Workarounds

  • Disable SMB protocol support in curl by avoiding smb:// and smbs:// URL schemes until patches are applied
  • Implement application-level connection limiting to prevent rapid successive SMB connections
  • Use alternative tools for SMB operations that are not affected by this vulnerability
  • Deploy network-level controls to restrict SMB traffic to trusted sources only
bash
# Example: Restrict curl to non-SMB protocols in wrapper scripts
# Add URL scheme validation before curl operations
ALLOWED_SCHEMES="http https ftp ftps"

validate_url() {
    local url="$1"
    local scheme="${url%%://*}"
    if [[ ! " ${ALLOWED_SCHEMES} " =~ " ${scheme} " ]]; then
        echo "Error: Protocol ${scheme} is not permitted"
        exit 1
    fi
}

# Usage: validate_url "$URL" && curl "$URL"

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/TechHaxx Curl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • 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
  • HackerOne Report #3591944

  • OpenWall OSS-Security Email Thread
  • Vendor Resources
  • curl CVE-2026-3805 Documentation

  • curl CVE-2026-3805 JSON Details
  • Related CVEs
  • CVE-2022-32221: Haxx Curl Use-After-Free Vulnerability

  • CVE-2025-0665: Haxx Curl Use-After-Free Vulnerability

  • CVE-2023-28319: Haxx Curl Use After Free Vulnerability

  • CVE-2022-43552: Haxx Curl Use After Free 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