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

CVE-2023-38039: Haxx Curl DOS Vulnerability

CVE-2023-38039 is a denial of service flaw in Haxx Curl that allows malicious servers to stream endless HTTP headers, exhausting heap memory. This post covers technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2023-38039 Overview

CVE-2023-38039 is a resource exhaustion vulnerability in curl and libcurl that allows a malicious HTTP server to cause denial of service through uncontrolled memory consumption. When curl retrieves an HTTP response, it stores incoming headers for later access via the libcurl headers API. However, curl did not enforce any limits on how many or how large headers it would accept in a response, enabling an attacker-controlled server to stream an endless series of headers and eventually exhaust all available heap memory on the client system.

Critical Impact

A malicious server can cause curl clients to run out of heap memory by streaming unlimited HTTP headers, leading to denial of service conditions affecting applications and systems that rely on curl for HTTP operations.

Affected Products

  • haxx curl (versions prior to the security fix)
  • fedoraproject fedora (versions 37, 38, 39)
  • microsoft windows_10_1809
  • microsoft windows_10_21h2
  • microsoft windows_10_22h2
  • microsoft windows_11_21h2
  • microsoft windows_11_22h2
  • microsoft windows_11_23h2
  • microsoft windows_server_2019
  • microsoft windows_server_2022

Discovery Timeline

  • 2023-09-15 - CVE-2023-38039 published to NVD
  • 2025-12-02 - Last updated in NVD database

Technical Details for CVE-2023-38039

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in curl's HTTP response header parsing mechanism, which stores all received headers in heap memory without implementing any bounds checking or resource limits. When curl connects to a server to retrieve an HTTP response, the headers are stored so that applications using libcurl can access them programmatically through the headers API.

The absence of size and count restrictions on stored headers creates a significant attack surface. An attacker who controls or compromises a server that a curl client connects to can exploit this by sending an arbitrarily large number of headers or headers of extreme size. Since curl faithfully allocates memory for each header without checking cumulative resource usage, this leads to progressive heap exhaustion until the system can no longer allocate memory, causing the curl process (and potentially the parent application) to crash or become unresponsive.

Root Cause

The root cause is the lack of input validation and resource management in curl's HTTP header storage implementation. The libcurl headers API was designed for convenience in accessing response headers but was implemented without considering adversarial server behavior. No maximum header count, individual header size limit, or cumulative header storage limit was enforced, allowing unbounded memory allocation based entirely on server-provided data.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker must control or compromise an HTTP server that the target curl client connects to. The attack flow is straightforward:

  1. A curl client initiates an HTTP request to a malicious or compromised server
  2. The server responds with a continuous stream of HTTP headers (either many small headers or few extremely large headers)
  3. curl allocates heap memory for each incoming header without restriction
  4. Memory consumption grows until heap exhaustion occurs
  5. The curl process crashes or becomes unresponsive, causing denial of service

The vulnerability can be exploited in scenarios where curl is used to fetch content from untrusted or semi-trusted sources, including web scrapers, API clients, download managers, and any application that uses libcurl to make HTTP requests to external servers.

Detection Methods for CVE-2023-38039

Indicators of Compromise

  • Abnormal memory growth in processes using curl or libcurl during HTTP operations
  • curl processes consuming significantly more memory than expected for typical HTTP responses
  • System memory exhaustion events correlated with curl/libcurl network activity
  • Out-of-memory (OOM) killer events targeting curl-based applications

Detection Strategies

  • Monitor memory allocation patterns for curl and libcurl-dependent processes
  • Implement network traffic analysis to detect unusually large HTTP response header streams
  • Configure memory usage alerts for processes that make external HTTP requests
  • Audit curl version across systems to identify unpatched installations

Monitoring Recommendations

  • Enable process-level memory monitoring for all applications using libcurl
  • Set up alerts for HTTP responses with header sizes exceeding normal thresholds (typically headers should be under 8KB total)
  • Monitor for repeated connection patterns to the same server followed by memory spikes
  • Review application logs for memory allocation failures related to curl operations

How to Mitigate CVE-2023-38039

Immediate Actions Required

  • Update curl and libcurl to patched versions immediately
  • Audit all systems and applications that bundle or depend on curl/libcurl
  • Review and update any container images or dependencies that include vulnerable curl versions
  • Apply vendor-specific patches from Microsoft, Fedora, Apple, and other affected vendors

Patch Information

Security patches are available from multiple vendors. The primary fix was released by the curl project and involves implementing limits on HTTP header storage. Additional patches have been released by:

  • Fedora Package Announcements for Fedora 37, 38, and 39
  • Gentoo GLSA 202310-12
  • Apple Support Articles for macOS
  • Microsoft has released updates for affected Windows versions
  • NetApp Security Advisory

Additional details are available in the HackerOne Report #2072338.

Workarounds

  • Implement application-level timeouts and memory limits for curl operations
  • Use proxy servers or web application firewalls that can filter or limit HTTP response header sizes
  • Isolate curl-based applications in resource-constrained containers or sandboxes to limit the impact of memory exhaustion
  • Avoid connecting to untrusted servers with vulnerable curl versions when possible
bash
# Check curl version for vulnerability status
curl --version

# Update curl on Fedora/RHEL-based systems
sudo dnf update curl libcurl

# Update curl on Debian/Ubuntu-based systems  
sudo apt update && sudo apt upgrade curl libcurl4

# Update curl on macOS via Homebrew
brew update && brew upgrade curl

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechCurl

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability14.47%

  • 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-770
  • Technical References
  • Full Disclosure October 2023

  • Full Disclosure January 2024

  • Full Disclosure January 2024

  • Full Disclosure January 2024

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory NTAP-20231013-0005

  • Apple Support Article HT214036

  • Apple Support Article HT214057

  • Apple Support Article HT214058

  • Apple Support Article HT214063

  • Insyde Security Pledge SA-2023064
  • Vendor Resources
  • HackerOne Report #2072338
  • Related CVEs
  • CVE-2023-28320: Haxx Curl DOS Vulnerability

  • CVE-2025-11563: Curl Wcurl Path Traversal Vulnerability

  • CVE-2022-42916: Haxx Curl HSTS Auth Bypass Vulnerability

  • CVE-2025-15224: curl SSH Auth Bypass 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