Skip to main content

libcurl CVE-2026-11564

| EUVDEUVD-2026-41499 CRITICAL
Improper Certificate Validation (CWE-295)
Critical
Disputed · 9.1 Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain MITM position on victim network
  2. Delivery
    App reuses easy handle after CA switch
  3. Exploit
    Present cert trusted by native store
  4. Execution
    libcurl reuses stale native-trust decision
  5. Impact
    Intercept or tamper TLS traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires a specific application behavior: reusing one libcurl easy handle across transfers while changing its CA trust source from the default native platform store to custom CA material (or vice versa) between those transfers, so that a pooled connection carries the earlier native-trust decision into a transfer meant to use stricter custom CA validation. It additionally requires an attacker in an active man-in-the-middle position who can present a certificate trusted by the native platform store. Limiting factors: applications that use a single consistent CA source per handle, that create separate handles per CA context, or that disable connection reuse are not affected; there is no user interaction and no authentication needed, but the practical bar is the uncommon per-handle CA-switching pattern plus network interception capability.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N, score 9.1) treats this as a trivially exploitable network attack, but the description implies materially higher complexity: exploitation requires (1) a specific application coding pattern that switches CA material on a reused handle, and (2) an active MITM position holding a certificate trusted by the victim's native store. That is closer to AC:H than AC:L, which is why the low EPSS (0.20%) and the absence of KEV/POC are consistent rather than contradictory - the raw score overstates real-world ease. There is no SSVC decision data in the input. Net assessment: a genuine, high-impact confidentiality/integrity bug for the narrow set of applications that toggle CA sources per-handle, but not a mass-exploitation priority; the CVSS-vs-EPSS gap should be read as 'high severity, conditional exploitability.' Verify the application's CA-configuration pattern before treating this as an urgent internet-facing exposure.

Exploit ScenarioDerived

An application first performs a TLS transfer trusting the OS native CA store, then reuses the same easy handle for a second request after switching it to a private, custom CA bundle intended to restrict which issuers are accepted. An attacker on the network path presents a certificate that chains to a publicly/natively trusted CA; libcurl reuses the prior connection's native-trust decision and accepts it, allowing the attacker to read or tamper with data the application believed was protected by the stricter custom CA. No public exploit code is identified at time of analysis, and success requires the MITM position plus the specific handle-reuse pattern.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 06, 2026

TLS certificate-trust confusion in libcurl (curl 8.17.0 through 8.20.0) lets a reused pooled connection retain trust in the native platform CA store even after the application reconfigures the same easy handle to use custom CA material for a later transfer. An attacker positioned to intercept traffic could present a certificate valid under the native store - which the application intended to no longer trust - to silently intercept or spoof the connection. Rated CVSS 9.1, but EPSS is only 0.20% (9th percentile) and there is no public exploit identified at time of analysis, reflecting the narrow application-usage prerequisite rather than a broadly weaponizable flaw.

Earlier versions of this analysis (2)
v2 Jul 06, 2026 - 18:35 cvss changed CVSS 9.1

TLS trust-material confusion in libcurl 8.17.0 through 8.20.0 allows a reused pooled connection to keep trusting the native platform CA store even after the application reconfigures the same easy handle to use custom CA material for a later transfer. Rated CVSS 9.1 and tagged as Information Disclosure, the flaw means a server rejected under a strict custom trust anchor can still be trusted via a leftover connection, undermining certificate pinning/private-CA setups. EPSS is low (0.20%, 9th percentile) with no public exploit identified and no CISA KEV listing at time of analysis.

v1 Jun 24, 2026 - 18:24

TLS certificate validation bypass in libcurl 8.17.0-8.20.0 allows a man-in-the-middle attacker to present a certificate trusted by the platform's native CA store to a connection that an application intended to restrict via a custom CA bundle. The flaw arises from connection pool reuse: when a libcurl easy handle is first used with native CA trust and subsequently reconfigured to use custom CA material, the pooled connection retains the original native CA trust context rather than adopting the stricter custom setting. No public exploit code is identified and this CVE is not listed in the CISA KEV catalog, but the EPSS score is not provided in the input data.

RemediationAI

Patch available per vendor advisory (https://curl.se/docs/CVE-2026-11564.html) - upgrade libcurl to the fixed release above 8.20.0 once it is deployed by your distribution or vendor; the provided data does not include an exact fixed version number, so confirm it against the curl advisory rather than assuming one. As a code-level workaround, applications should avoid changing CA trust source (native store versus custom CURLOPT_CAINFO/CAPATH/CA blob) on an already-used easy handle; instead create a fresh easy handle for the transfer that uses different CA material, or disable connection reuse for the affected transfer via CURLOPT_FRESH_CONNECT and CURLOPT_FORBID_REUSE (trade-off: loss of connection-pool performance and extra TLS handshakes). Operationally, MITM risk can be reduced by enforcing certificate pinning (CURLOPT_PINNEDPUBLICKEY) for sensitive endpoints, at the cost of pin-rotation maintenance. Rebuild static binaries that vendor libcurl against the fixed version.

Affected VersionsENISA

curl 8.17.0 ≤8.17.0
curl 8.18.0 ≤8.18.0
curl 8.19.0 ≤8.19.0
curl 8.20.0 ≤8.20.0

Affected Packages

euvd curl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libcurl maintains a connection pool so subsequent transfers can reuse an already-established connection when its setup parameters match. The matching logic here fails to account for a change in CA trust source on the same easy handle: if the first transfer validated the peer against the OS/native platform trust store (native CA) and the application then switches that handle to explicit custom CA material (e.g. CURLOPT_CAINFO / CURLOPT_CAPATH or a custom CA blob) for a later transfer, libcurl may reuse the earlier connection and continue honoring the previously used native trust decision. The root-cause class is improper certificate/trust validation on connection reuse (conceptually CWE-295 Improper Certificate Validation, though the input lists CWE as N/A). The affected component is the TLS-agnostic connection-reuse layer, so the issue is not tied to a single TLS backend but to how curl caches and matches connections.

Know when Curl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (CNA) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Network vector but AC:H because it needs an app that switches CA source on a reused handle plus a MITM attacker holding a natively-trusted cert; high C/I impact via TLS interception, no availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 6.5 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Analysis Updated
Jul 06, 2026 - 18:35 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 06, 2026 - 18:35 vuln.today
v2 - CVSS changed
CVSS changed
Jul 06, 2026 - 18:22 NVD
9.1 (CRITICAL)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

libcurl versions 8.17.0 through 8.20.0 contain a TLS certificate-trust validation flaw that could allow network attackers to silently intercept HTTPS traffic by presenting certificates valid under the operating system's native trust store. The flaw specifically affects applications using connection pooling with custom certificate reconfiguration. No vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable HTTP connection pooling where operationally feasible; force certificate authority reconfiguration on every connection rather than reusing pooled connections; implement certificate pinning or additional TLS verification layers; increase monitoring of certificate chains and anomalous connection behavior in security logs.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
libcurl is embedded in vast numbers of applications, OSes, and devices
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Curl

View all
CVE-2021-22901 HIGH POC
8.1 Jun 11

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when

CVE-2013-0249 HIGH POC
7.5 Mar 08

Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7

CVE-2015-3145 HIGH
7.5 Apr 24

The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which

CVE-2022-32206 MEDIUM POC
6.5 Jul 07

curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple t

CVE-2022-32207 CRITICAL POC
9.8 Jul 07

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the

CVE-2022-43551 HIGH POC
7.5 Dec 23

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Rated high seve

CVE-2022-32221 CRITICAL POC
9.8 Dec 05

When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data t

CVE-2018-0500 CRITICAL POC
9.8 Jul 11

Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that mig

CVE-2022-32205 MEDIUM POC
4.3 Jul 07

A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 sto

CVE-2025-9086 HIGH POC
7.5 Sep 12

1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack co

CVE-2023-23914 CRITICAL POC
9.1 Feb 23

A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functional

CVE-2023-27534 HIGH POC
8.8 Mar 30

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly re

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS-Aliyun Not-Affected
SLES15-SP6-CHOST-BYOS-Azure Not-Affected
SLES15-SP6-CHOST-BYOS-EC2 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy