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-2025-5025

CVE-2025-5025: Haxx Curl Information Disclosure Flaw

CVE-2025-5025 is an information disclosure vulnerability in Haxx Curl affecting certificate pinning with wolfSSL for HTTP/3 connections. This article covers the technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-5025 Overview

CVE-2025-5025 affects libcurl's public key pinning feature when used with QUIC for HTTP/3 transfers backed by wolfSSL. The library fails to perform the pin check during these connections, silently bypassing a security control that users explicitly configure. Documentation states the pinning option works with wolfSSL but does not warn that QUIC and HTTP/3 are excluded. Applications relying on pinning to detect impostor servers receive successful connections with no indication of the missing validation. The flaw is categorized as Improper Certificate Validation [CWE-295].

Critical Impact

Public key pinning silently fails for HTTP/3 transfers using wolfSSL, allowing connections to impostor servers without warning users or applications.

Affected Products

  • Haxx curl (libcurl) builds compiled with wolfSSL as the TLS backend
  • Applications using CURLOPT_PINNEDPUBLICKEY with HTTP/3 (QUIC) transfers
  • Downstream distributions and software embedding vulnerable libcurl versions

Discovery Timeline

  • 2025-05-28 - CVE CVE-2025-5025 published to NVD
  • 2025-07-30 - Last updated in NVD database

Technical Details for CVE-2025-5025

Vulnerability Analysis

libcurl exposes CURLOPT_PINNEDPUBLICKEY so applications can pin the expected server certificate public key. When the pin matches the key presented during the TLS handshake, the transfer proceeds. When it does not match, libcurl aborts the connection. This control defends against certificate authority compromise and rogue intermediates.

The defect lies in the QUIC/HTTP/3 code path when wolfSSL is the active TLS backend. The pin comparison logic is not invoked during the QUIC TLS handshake. The transfer succeeds regardless of whether the server's public key matches the configured pin. Applications that depend on the pin as their primary trust anchor lose that protection without any error, log entry, or return code change.

Documentation reinforced the false expectation by listing wolfSSL as a supported backend for the pinning feature without noting the QUIC limitation. Developers auditing their code against the documentation would conclude pinning was enforced.

Root Cause

The omission is a missing certificate validation step [CWE-295] in the wolfSSL QUIC integration. The standard TLS code path executes the pin comparison routine, but the QUIC handshake handler does not call the equivalent routine before declaring the connection trusted.

Attack Vector

An attacker positioned to intercept HTTP/3 traffic, for example through DNS manipulation, BGP hijacking, or compromise of a certificate authority, can present a different certificate to a victim using libcurl with wolfSSL. The attacker must still satisfy standard TLS chain validation, which raises exploitation complexity. Once chain validation succeeds, the missing pin check allows the impostor connection to complete normally. The client application receives data from the attacker-controlled endpoint while believing the pin enforced its identity guarantee.

No verified public exploit or proof-of-concept code is available. See the cURL CVE-2025-5025 Documentation for the vendor's technical description.

Detection Methods for CVE-2025-5025

Indicators of Compromise

  • Unexpected HTTP/3 connections from libcurl-based clients to hosts that should be blocked by a configured pin
  • TLS handshakes succeeding to servers presenting certificates that do not match documented pin values
  • Application logs showing successful transfers where pin enforcement should have aborted the session

Detection Strategies

  • Inventory builds of curl and libcurl to identify which were compiled with wolfSSL and HTTP/3 support, using curl -V to confirm the TLS backend and HTTP3 feature flag
  • Audit applications that set CURLOPT_PINNEDPUBLICKEY and verify whether they negotiate HTTP/3, since these combinations are exposed to the flaw
  • Run integration tests that intentionally present a mismatched certificate over HTTP/3 to confirm whether the client correctly rejects the connection

Monitoring Recommendations

  • Log the negotiated ALPN protocol and TLS backend for outbound libcurl transfers to identify HTTP/3 sessions
  • Alert on libcurl HTTP/3 connections to sensitive endpoints when the deployed library version is known vulnerable
  • Track package versions of curl and wolfSSL across the fleet so unpatched hosts are visible to the security team

How to Mitigate CVE-2025-5025

Immediate Actions Required

  • Upgrade libcurl to the fixed version published in the cURL CVE-2025-5025 Documentation advisory
  • Identify all applications using CURLOPT_PINNEDPUBLICKEY with wolfSSL and validate whether they negotiate HTTP/3
  • Until patches are deployed, disable HTTP/3 negotiation in affected applications so transfers fall back to HTTP/1.1 or HTTP/2 where pinning is enforced

Patch Information

The curl project published the fix and details at the cURL CVE-2025-5025 Documentation page. Machine-readable metadata is available in the cURL CVE-2025-5025 JSON Data file. Additional discussion is available in the HackerOne Report #3153497 and the Openwall OSS-Security Discussion.

Workarounds

  • Rebuild libcurl against a TLS backend other than wolfSSL, such as OpenSSL, when pinning with HTTP/3 is required
  • Force HTTP/2 or HTTP/1.1 by setting CURLOPT_HTTP_VERSION to a non-HTTP/3 value in calling applications
  • Add an application-level certificate or public key check after the transfer completes to compensate for the missing libcurl enforcement
bash
# Configuration example: confirm TLS backend and disable HTTP/3 in curl CLI
curl -V | grep -E 'wolfSSL|HTTP3'
curl --http2 --pinnedpubkey sha256//BASE64HASH https://example.com/

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHaxx Curl

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-295
  • Technical References
  • HackerOne Report #3153497

  • Openwall OSS-Security Discussion
  • Vendor Resources
  • cURL CVE-2025-5025 Documentation

  • cURL CVE-2025-5025 JSON Data
  • Related CVEs
  • CVE-2026-6276: Haxx Curl Information Disclosure Flaw

  • CVE-2026-6429: Haxx Curl Information Disclosure Flaw

  • CVE-2026-7009: Haxx Curl Information Disclosure Flaw

  • CVE-2026-6253: Haxx Curl Information Disclosure Flaw
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