Curl vulnerabilities, page 2

104 vulnerabilities

Known vulnerabilities in Curl products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 3 products.

PrioritiseCVE-2026-86411curl +2 moreFTP connection reuse inherits client-certificateAn `ftp://` transfer configured with `CURLUSESSL_NONE` can reuse a pooled FTP control connection that a previous easy handle upgraded with `STARTTLS` and authenticated using a client certificate. The second handle performs neither a new TLS handshake nor a new FTP login, so the server continues to authorize it under the first handle's certificate identity.CVSS9.1CriticalEPSS0.38%PrioritiseCVE-2026-86410curl +3 moreredirect to SFTP or SCP bypasses host verificationA flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect.CVSS8.1HighEPSS0.77%PrioritiseCVE-2026-86409curl +3 morestale SigV4 headers sent unintendedSetting `CURLOPT_AWS_SIGV4` to NULL but does not disable SigV4 authentication, contrary to expectations and documentation. A subsequent transfer on the same handle still sends an `Authorization: AWS4-HMAC-SHA256` header to whatever URL isset next, leaking state information.CVSS8.1HighEPSS1.10%PrioritiseCVE-2026-92392curl +32 moreHTTP/2 upload Use-After-FreeDuring an upload, curl mishandles HTTP/2 `RST_STREAM` received from the server (with reason `HTTP_1_1_REQUIRED` or `REFUSED_STREAM`) leading to a use after free of a `struct Curl_easy` object.CVSS8.1HighEPSS1.28%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%