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-2022-32205

CVE-2022-32205: Haxx Curl Set-Cookie DOS Vulnerability

CVE-2022-32205 is a denial of service flaw in Haxx Curl where malicious servers can send excessive Set-Cookie headers causing request failures. This article covers technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-32205 Overview

CVE-2022-32205 is a Resource Exhaustion vulnerability affecting curl versions prior to 7.84.0. A malicious server can exploit this flaw by serving an excessive number of Set-Cookie: headers in HTTP responses, which curl stores without proper limits. When a sufficiently large volume of oversized cookies accumulates, subsequent HTTP requests to the affected server—or any other servers matching the cookie domain rules—exceed curl's internal request size threshold of 1,048,576 bytes, causing the application to return an error instead of completing the request.

This denial of service condition persists as long as the offending cookies remain stored, match the target domain, and haven't expired. The vulnerability is particularly concerning due to HTTP cookie matching rules: a server on foo.example.com can set cookies that also match bar.example.com, enabling a malicious "sister server" to effectively cause denial of service for sibling sites on the same second-level domain.

Critical Impact

Applications using vulnerable curl versions can be rendered unable to communicate with legitimate services due to cookie-induced request size limit violations, enabling cross-subdomain denial of service attacks.

Affected Products

  • Haxx curl versions prior to 7.84.0
  • Apple macOS (multiple versions)
  • Fedora 35
  • Debian Linux 11.0
  • NetApp ONTAP, Element Software, HCI Management Node, SolidFire
  • NetApp H-Series (H300S, H500S, H700S, H410S) firmware
  • Siemens SCALANCE SC-600 family firmware
  • Splunk Universal Forwarder

Discovery Timeline

  • 2022-07-07 - CVE-2022-32205 published to NVD
  • 2025-05-05 - Last updated in NVD database

Technical Details for CVE-2022-32205

Vulnerability Analysis

The vulnerability stems from curl's cookie handling mechanism, which lacks adequate restrictions on the total volume of cookies that can be stored from a single server response. When a malicious server includes numerous or large Set-Cookie: headers in its HTTP responses, curl dutifully stores all of them without enforcing reasonable limits on the accumulated cookie data size.

The attack becomes effective when the cumulative size of cookies that would be sent with a subsequent request exceeds curl's hardcoded maximum request size threshold of 1,048,576 bytes. At this point, curl refuses to send the request, returning an error to the calling application. This effectively prevents the application from communicating with any server that matches the stored cookie domains.

The cross-subdomain impact amplifies the severity: due to standard cookie scoping rules in HTTP, cookies set for a parent domain or sibling subdomain can affect requests to other subdomains under the same second-level domain. This allows an attacker controlling one subdomain to disrupt curl-based applications' ability to communicate with entirely different services on related subdomains.

Root Cause

The root cause is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). Curl's cookie jar implementation did not enforce proper limits on the number or cumulative size of cookies that could be stored from HTTP responses. Without such limits, the cookie storage grows unbounded until it triggers the request size threshold protection, which then manifests as a denial of service rather than gracefully handling the oversized cookie situation.

Attack Vector

The attack requires network access and user interaction to be successful. An attacker must either control a malicious server that the victim's curl-based application connects to, or compromise an existing server to inject malicious Set-Cookie: headers into its responses.

The attack flow proceeds as follows:

  1. The victim application makes an HTTP request to the attacker-controlled or compromised server
  2. The server responds with a large number of Set-Cookie: headers, potentially setting cookies for sibling subdomains
  3. Curl stores all cookies without size validation
  4. Subsequent requests to any domain matching the stored cookies fail when the accumulated cookie size exceeds the 1MB threshold
  5. The denial condition persists until cookies are manually cleared or expire

This vulnerability does not allow data exfiltration or code execution, but can significantly disrupt application availability and functionality.

Detection Methods for CVE-2022-32205

Indicators of Compromise

  • HTTP responses containing an unusually high number of Set-Cookie: headers (dozens or hundreds per response)
  • Curl-based applications suddenly failing with request size errors when communicating with previously functional servers
  • Abnormally large cookie jar files or memory consumption in applications using libcurl
  • Error messages referencing requests exceeding internal size limits

Detection Strategies

  • Monitor HTTP traffic for responses with excessive Set-Cookie: header counts from untrusted or unusual sources
  • Implement application-level logging to detect curl error codes related to request size limits (CURLE_REQ_SIZE)
  • Track cookie jar growth over time and alert on sudden increases
  • Deploy network intrusion detection rules to flag responses with anomalous cookie header patterns

Monitoring Recommendations

  • Establish baseline metrics for typical cookie counts and sizes in your environment
  • Configure alerts for curl-based applications experiencing repeated connection failures to specific domains
  • Monitor server logs for patterns indicating potential cookie-based DoS attempts
  • Implement periodic cookie jar size auditing for long-running curl-based services

How to Mitigate CVE-2022-32205

Immediate Actions Required

  • Upgrade curl to version 7.84.0 or later, which implements proper cookie storage limits
  • For systems where immediate patching is not possible, implement network-level controls to restrict connections to trusted servers only
  • Review and audit any curl-based applications that connect to untrusted or user-specified URLs
  • Consider implementing application-level cookie jar size limits as an additional defense layer

Patch Information

The fix was released in curl version 7.84.0. Multiple vendors have released their own advisories and patches:

  • Haxx (curl): Upgrade to version 7.84.0 or later
  • Apple: Security update available per Apple Support Document HT213488
  • Debian: DSA-5197 security advisory
  • Siemens: SSA-333517 advisory for SCALANCE devices
  • NetApp: Security Advisory ntap-20220915-0003
  • Gentoo: GLSA 202212-01

Additional details are available via the HackerOne Report.

Workarounds

  • If upgrading is not immediately possible, configure network firewalls to block or limit connections to untrusted servers
  • Implement application-level controls to clear cookie jars periodically or after connecting to untrusted domains
  • Use curl's --cookie-jar option with a fresh file for each untrusted connection to isolate potential malicious cookies
  • Consider using curl's --max-filesize option where applicable to limit response sizes
bash
# Example: Using isolated cookie jars for untrusted connections
curl --cookie-jar /tmp/isolated_cookies_$$.txt \
     --max-time 30 \
     https://untrusted-server.example.com/

# Clean up isolated cookie jar after use
rm -f /tmp/isolated_cookies_$$.txt

# For long-running services, implement periodic cookie jar rotation
# in your application configuration or wrapper scripts

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechHaxx Curl

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability2.59%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Technical References
  • Full Disclosure Announcement

  • Full Disclosure Announcement

  • HackerOne Report

  • Fedora Package Announcement

  • Gentoo GLSA Advisory

  • NetApp Security Advisory

  • Apple Support Document

  • Debian Security Advisory
  • Vendor Resources
  • Siemens Security Advisory
  • Related CVEs
  • CVE-2024-2004: Haxx Curl DOS Vulnerability

  • CVE-2025-5399: Haxx Curl WebSocket DoS Vulnerability

  • CVE-2022-35252: Haxx Curl Cookie DOS Vulnerability

  • CVE-2022-32206: Haxx Curl DOS 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