Haxx Curl vulnerabilities
169 vulnerabilities
Known vulnerabilities in Haxx Curl, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
PrioritiseCVE-2026-82209curl +28 moredomain-scoped PSL domain cookieWhen libpsl support is enabled, libcurl fails to enforce the Public Suffix
List boundary check when processing a `Set-Cookie` header where the `Domain`
attribute explicitly matches an origin host that is itself a public suffix
(e.g., `Domain=co.uk` set by `co.uk`).
Instead of coercing it into a strict host-only cookie, libcurl saves the
cookie with wildcard domain scope (`.co.uk`). Consequently, the cookie is
inappropriately included in subsequent outbound requests or HTTP redirects to
arbitrary sibling subdomains under the same public suffix (e.g.,
`attacker.co.uk`).CVSS8.2HighEPSS0.36%PrioritiseCVE-2026-82208curl +6 morewolfSSL CA-cache hit overrides callbackWith the wolfSSL backend, when CA caching is enabled and an
`CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can
silently reinstall the cached store after the callback returns. A certificate
trusted by the cached store but rejected by the callback-selected store is
then incorrectly accepted.CVSS7.5HighEPSS0.30%PrioritiseCVE-2026-80255curl +4 moresecure cookie attribute bypass with tabA `Set-Cookie:` header using tab (horizontal tab, ASCII code 9) instead of
space (ascii code 32) immediately before the `Secure` attribute causes curl to
store the cookie without its Secure flag. The cookie might then wrongfully be
sent over plaintext HTTP on subsequent requests to the same host.CVSS7.5HighEPSS0.48%PrioritiseCVE-2026-80231curl +7 morenative CA store conn reuseA flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup
for a given hostname even when using a different Native CA Store setting
(`CURLSSLOPT_NATIVE_CA`) than when the connection was created.CVSS7.5HighEPSS0.56%PrioritiseCVE-2026-80230curl +8 moreOpenSSL pinning bypassWhen `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable
standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and
`CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on
connections established without a presented server certificate. Bypassing the
pinning check under these disabled-verification conditions allows
unauthenticated connections to succeed when they should be rejected.CVSS7.5HighEPSS0.37%PrioritiseCVE-2026-80229curl +6 moreOpenSSL provider use-after-freeWhen performing transfers via libcurl’s multi interface, pooled TLS
connections can outlive their originating easy handles. In OpenSSL 3 provider
configurations, libcurl attaches an allocated library context to the easy
handle's state and passes it to OpenSSL without acquiring an ownership
reference; destroying the easy handle prematurely frees this context while the
active connection retains a dangling pointer, leading to a heap-use-after-free
upon subsequent I/O or post-handshake operations.CVSS7.5HighEPSS0.50%PrioritiseCVE-2026-19931curl +8 moreNegotiate ambient user conn reuseA flaw in libcurl makes it wrongly reuse an HTTP connection setup for a given
hostname using Negotiate authentication, when the initial request is done
using empty credentials. This can make user B's request get sent over user A's
previously authenticated connection.CVSS9.8CriticalEPSS0.72%PrioritiseCVE-2026-18924curl +8 moreHTTP/2 server push UAFA flaw in libcurl's handling of HTTP/2 Server Push streams, when the parent
handle is set to share connections with other handles, can lead to
use-after-free in the cleanup process.CVSS9.1CriticalEPSS0.56%PrioritiseCVE-2026-13608curl +8 moreOpenLDAP SASL authentication bypassA flaw in the libcurl SASL negotiation for LDAP authentication allows an
incomplete handshake sequence to be misinterpreted as a successful
cryptographic verification. An attacker executing a Man-in-the-Middle (MITM)
attack can inject a premature or shortcut response that bypasses complete peer
validation.CVSS7.4HighEPSS0.48%PrioritiseCVE-2026-9547curl +16 moreSSH improper host validationWhen a libcurl-based application performs transfers via `SCP://` or `SFTP://`
and utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an
untrusted server. This vulnerability occurs when a server presents a host key
type that does not match the specific key type already recorded for that host
in the `known_hosts` file. Instead of rejecting the mismatch, the callback
mechanism fails to properly enforce the restriction, allowing the connection
to succeed without warning and risking a potential man-in-the-middle attack.CVSS7.4HighEPSS0.36%PrioritiseCVE-2026-9546curl +14 moresending old refererA vulnerability in libcurl caused the HTTP `Referer:` header to persist even
when explicitly cleared. While the documentation states that passing NULL to
`CURLOPT_REFERER` suppresses the header, the option failed to clear the
internal state. As a result, the previous referrer string was erroneously
reused and sent in subsequent requests, potentially leaking sensitive
information to unintended servers.CVSS7.5HighEPSS0.49%PrioritiseCVE-2026-9545curl +14 moreexposing HTTP/3 early dataIn this scenario, libcurl first uses a proper HTTP/3 server for the initial
transfers, and when it makes a second transfer to the same site it has been
replaced by the attacker's impostor machine - without a valid certificate.
When libcurl returns to the hostname the second time with a cached SSL session
(`CURLOPT_SSL_SESSIONID_CACHE` is not disabled) and early data enabled (the
`CURLSSLOPT_EARLYDATA` bit is set in `CURLOPT_SSL_OPTIONS`), libcurl might
send off the second request's bytes on that new connection *before* enforcing
the certificate verification failure. Potentially leaking sensitive
information.CVSS7.5HighEPSS0.30%PrioritiseCVE-2026-9080curl +14 moreUAF after pause in socket callbackCalling `curl_easy_pause()` within the event-based `CURLMOPT_SOCKETFUNCTION`
callback triggers a use-after-free vulnerability, where libcurl attempts to
store a flag using a dangling struct pointer immediately after that pointer's
memory has been freed.CVSS7.3HighEPSS0.29%PrioritiseCVE-2026-9079curl +14 morestale proxy password leaklibcurl had a flaw that when instructed to clear proxy authentication
credentials which made it not do so, leaving the old credentials around to get
used for subsequent transfers that should not know nor use them.CVSS9.8CriticalEPSS0.58%PrioritiseCVE-2026-8932curl +26 moreincomplete mTLS config matching in conn reuselibcurl would reuse a previously created connection even when some mTLS config
related option had been changed that should have prohibited reuse.
libcurl keeps previously used connections in a connection pool for subsequent
transfers to reuse if one of them matches the setup. However, some TLS
settings related to client certificates were left out from the configuration
match checks, making them match too easily. In particular options related to
the private key.CVSS7.5HighEPSS0.40%PrioritiseCVE-2026-8927curl +24 moreenv-set cross-proxy Digest auth state leakWhen reusing a libcurl handle for sequential transfers driven by
environment-variable proxy configuration, libcurl fails to clear the proxy
authentication state between requests. Specifically, if the initial transfer
authenticates against `proxyA` using Digest auth, a subsequent transfer routed
through `proxyB` erroneously leaks the `Proxy-Authorization:` header intended
solely for `proxyA`.CVSS9.1CriticalEPSS0.50%PrioritiseCVE-2026-8926curl +14 morepassword leak with netrc and user in URLWhen asking curl to use a `.netrc` file to find credentials and at the same
time specifying a URL with a username (without a password), like
`https://[email protected]/`, curl could wrongly get and use the password for
*another* user set in the `.netrc` file for that host if such a one exists and
there is no match for the specified user.CVSS9.1CriticalEPSS0.44%PrioritiseCVE-2026-8925curl +14 moreSASL double-freeThe curl logic that works with SASL authentication could end up cleaning up
the GSASL context *twice* without clearing the pointer in between, making it
`free()` the same pointer twice.CVSS9.8CriticalEPSS0.67%PrioritiseCVE-2026-8924curl +17 moretrailing dot domain super cookieA flaw in curl’s cookie parsing logic allows a malicious HTTP server to set
"super cookies" that bypass the Public Suffix List check. This enables an
attacker-controlled origin to inject cookies that curl subsequently scopes and
transmits to unrelated third-party domains.CVSS9.1CriticalEPSS0.66%RoutineCVE-2026-8458curl +16 morewrong reuse for different serviceslibcurl might in some circumstances reuse the wrong connection when asked to
do Negotiate-authenticated ones, even when they are set to use different
"services".
libcurl features a pool of recent connections so that subsequent requests can
reuse an existing connection to avoid overhead.
When reusing a connection a range of criteria must be met. Due to a logical
error in the code, a request that was issued by an application could
wrongfully reuse an existing connection to the same server that was
authenticated using different services.CVSS6.5MediumEPSS0.37%