A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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 where certificate pinning fails with QUIC/HTTP/3 using wolfSSL, potentially allowing connections to impostor servers. This post covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-5025 Overview

CVE-2025-5025 is a certificate validation bypass vulnerability affecting libcurl when using the wolfSSL TLS backend for QUIC/HTTP3 connections. The vulnerability exists because libcurl's server certificate public key pinning feature fails to perform validation checks when connecting via QUIC for HTTP/3, despite documentation stating that pinning works with wolfSSL. This omission allows attackers to potentially conduct man-in-the-middle attacks against applications that rely on certificate pinning for security.

Critical Impact

Applications using libcurl with wolfSSL for HTTP/3 connections may unknowingly connect to malicious servers, as certificate pinning protection is silently bypassed. Users expecting pinned certificate validation could be vulnerable to impersonation attacks without any warning or error indication.

Affected Products

  • Haxx curl (all versions using wolfSSL with QUIC/HTTP3)

Discovery Timeline

  • May 28, 2025 - CVE-2025-5025 published to NVD
  • July 30, 2025 - Last updated in NVD database

Technical Details for CVE-2025-5025

Vulnerability Analysis

This vulnerability is classified as CWE-295 (Improper Certificate Validation). The core issue stems from an implementation oversight in libcurl's certificate pinning mechanism when operating with the wolfSSL TLS backend in QUIC/HTTP3 mode.

Certificate pinning is a security technique that associates a host with its expected public key or certificate. When properly implemented, this prevents man-in-the-middle attacks even if an attacker possesses a valid certificate signed by a trusted certificate authority. However, in the affected configuration, libcurl fails to perform this critical validation step.

The vulnerability is particularly insidious because the transfer succeeds when the expected pin would match—giving no indication that the pinning check was never performed. Users who have configured pinning for security-sensitive applications may have a false sense of security while their connections remain vulnerable to interception.

Root Cause

The root cause is an implementation omission in libcurl's QUIC connection handling code when using wolfSSL as the TLS backend. While the certificate pinning option (CURLOPT_PINNEDPUBLICKEY) is correctly implemented for traditional HTTPS connections with wolfSSL, the code path for QUIC-based HTTP/3 connections does not invoke the pinning verification routines.

The documentation for libcurl stated that certificate pinning works with wolfSSL without specifying this critical exception for QUIC/HTTP3 connections. This documentation gap meant developers could reasonably expect their pinning configurations to be enforced across all connection types.

Attack Vector

The attack vector for CVE-2025-5025 is network-based, requiring an attacker to be in a position to intercept network traffic between the client and the intended server. An exploitation scenario would proceed as follows:

  1. An attacker positions themselves to intercept network traffic (e.g., through ARP spoofing, DNS poisoning, or compromised network infrastructure)
  2. The victim application initiates an HTTP/3 connection using libcurl with wolfSSL and certificate pinning configured
  3. The attacker presents their own certificate, which would normally be rejected by the pinning check
  4. Due to the vulnerability, libcurl does not perform the pinning validation for QUIC connections
  5. The connection proceeds successfully, allowing the attacker to intercept, modify, or inject data

The attack complexity is high because it requires the attacker to be in a network position to perform interception, and the target must be specifically using libcurl with wolfSSL for HTTP/3 connections while relying on certificate pinning.

Detection Methods for CVE-2025-5025

Indicators of Compromise

  • Unexpected HTTP/3 connections to servers with certificate information that doesn't match configured pins
  • Network traffic showing QUIC connections to IP addresses that don't correspond to legitimate server infrastructure
  • Application logs indicating successful connections where certificate warnings might be expected
  • Anomalous SSL/TLS certificate chains observed during QUIC handshakes

Detection Strategies

  • Monitor for applications using libcurl with wolfSSL and HTTP/3 enabled in environments where certificate pinning is a security requirement
  • Implement network-level certificate transparency monitoring to detect unexpected certificates
  • Deploy endpoint detection to identify libcurl library versions vulnerable to this issue
  • Audit application configurations for reliance on CURLOPT_PINNEDPUBLICKEY with HTTP/3 enabled

Monitoring Recommendations

  • Review application dependencies to identify use of affected libcurl configurations with wolfSSL
  • Implement logging for HTTP/3 connections in security-sensitive applications
  • Monitor for unusual network patterns that could indicate man-in-the-middle positioning
  • Enable SentinelOne's network detection capabilities to identify anomalous QUIC traffic patterns

How to Mitigate CVE-2025-5025

Immediate Actions Required

  • Upgrade to a patched version of libcurl that properly enforces certificate pinning for QUIC/HTTP3 with wolfSSL
  • If upgrade is not immediately possible, disable HTTP/3 (QUIC) for connections where certificate pinning is required
  • Audit applications to identify those relying on certificate pinning with wolfSSL and HTTP/3
  • Consider temporarily switching to an alternative TLS backend that properly enforces pinning for QUIC connections

Patch Information

Haxx has released security advisories addressing this vulnerability. Detailed patch information and updated versions are available through the curl.se CVE-2025-5025 Documentation. The vulnerability was also reported through the HackerOne bug bounty program and discussed on the Openwall OSS-Security mailing list.

Organizations should update to the latest version of curl/libcurl that includes the fix for this vulnerability. Check your distribution's package repositories for security updates.

Workarounds

  • Disable HTTP/3 support by setting CURLOPT_HTTP_VERSION to exclude HTTP/3 when certificate pinning is critical
  • Use an alternative TLS backend such as OpenSSL where QUIC pinning is properly implemented
  • Implement additional application-level certificate validation as a defense-in-depth measure
  • Configure network security controls to limit exposure to potential man-in-the-middle attacks
bash
# Configuration example - Disable HTTP/3 to prevent bypass
# In applications using libcurl, set the HTTP version option to exclude HTTP/3:
# curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS);

# For command-line curl, avoid using --http3 flag when pinning is required:
curl --pinnedpubkey "sha256//hash=" https://example.com
# Instead of:
# curl --http3 --pinnedpubkey "sha256//hash=" 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.02%

  • 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.se CVE-2025-5025 Documentation

  • curl.se CVE-2025-5025 JSON Details
  • Related CVEs
  • CVE-2025-5399

  • CVE-2025-4947

  • CVE-2025-0725

  • CVE-2025-0665

  • CVE-2025-0167

  • CVE-2024-11053

  • CVE-2024-9681

  • CVE-2024-8096

  • CVE-2024-2398
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
  • English
  • 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