Curl vulnerabilities
104 vulnerabilities
Known vulnerabilities in Curl products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 3 products.
Products
3PrioritiseCVE-2026-107929curl +3 morelocal interface connection reuse mixupWhen `CURLOPT_INTERFACE` (or the command line tool's `--interface` option) is
set with one of the documented prefixes (`if!`, `host!`, `ifhost!`), that
binding is not part of the connection reuse key, so a later transfer asking
for a different source can silently reuse an existing connection and go out
from the earlier transfer's source addressCVSS8.1HighEPSS0.67%PrioritiseCVE-2026-107928curl +3 moreinfo leak uploading over WebSockets with GnuTLSWhen curl is built with GnuTLS, a malicious WebSocket server can make curl
send memory past its send buffer. This is due to an out of bounds read
following when `gnutls_record_send()` returns a number of bytes sent **greater
than the number of bytes it was given to send**. GnuTLS does that after a
blocked send.CVSS8.1HighEPSS0.70%PrioritiseCVE-2026-94266curl +3 morepassword leak in CURLINFO_EFFECTIVE_URLlibcurl could accidentally return a URL for `curl_easy_getinfo()`'s
`CURLINFO_EFFECTIVE_URL` option containing credentials, even though neither
the URL provided to libcurl nor the redirected URL did.CVSS7.5HighEPSS0.56%PrioritiseCVE-2026-94265curl +2 moreAuthorization: Negotiate sent to foreign originWhen processing an HTTP redirect to a URL containing userinfo (a
`username:password` component), curl might erroneously retain and re-transmit
the original host's HTTP Negotiate authentication state. Consequently, a
malicious server can trigger a redirect containing arbitrary userinfo to force
curl to send a freshly minted Kerberos ticket—generated using the ambient
identity of the client process to an untrusted third-party host, effectively
bypassing the domain-scoping restrictions normally enforced by the absence of
`--location-trusted`.CVSS9.1CriticalEPSS0.78%PrioritiseCVE-2026-92391curl +3 morecurl_mime_free stack overflow by recursionA deeply nested multipart MIME structure constructed via the public API causes
a stack overflow in libcurl during normal cleanup operations. An excessive
recursion depth within `curl_mime_free` leads to unbounded stack frame
allocation during structure traversal, ultimately crashing the host process.CVSS7.5HighEPSS1.17%PrioritiseCVE-2026-92390curl +3 more-J no-clobber guarantee bypassed with 103 early hintsWhen invoked with `--remote-header-name` (`-J`), curl fails to preserve its
documented anti-clobbering protection if an intermediate 103 Early Hints
response precedes the final HTTP response, or if an `ETag` header is processed
before `Content-Disposition` under `--etag-save`. This flaw allows an HTTP(S)
server to overwrite an existing local file specified in the
`Content-Disposition` header despite the presence of the `-J` non-overwrite
constraint.CVSS7.5HighEPSS0.59%PrioritiseCVE-2026-92389curl +3 moreTFTP direction confusionlibcurl's TFTP state machine fails to validate state transitions against the
requested transfer direction, accepting opening server responses for both
reads and writes interchangeably. A malicious TFTP server can respond to a
download request in a way that forces the client into transmit mode, prompting
libcurl to consume and transmit data from the handle's persistent
`CURLOPT_READDATA` pointer - including data remaining from unrelated prior
operations, such as an HTTP POST request executed on a reused handle.CVSS8.1HighEPSS0.72%PrioritiseCVE-2026-92388curl +3 moreFTP wildcard write callback mixupWhen an FTP wildcard `LIST` operation fails, libcurl omits the restoration
path meant for successful listings, leaving the write callback set to the
internal listing parser and the write callback data pointing directly to the
easy handle. Subsequent reuse of this handle triggers an immediate crash, and
cloning it via `curl_easy_duphandle()` copies this corrupted state into the
duplicate. If the original handle is subsequently freed, executing a transfer
on the cloned handle causes a heap use-after-free read against the dangling
handle reference; alternatively, reusing the original or cloned handle while
changing only `CURLOPT_WRITEDATA` (and omitting `CURLOPT_WRITEFUNCTION`)
results in type confusion, forcing the internal parser to interpret incoming
server response bytes into memory at the application-supplied write data
pointer.CVSS9.1CriticalEPSS0.70%PrioritiseCVE-2026-92387curl +3 morenever-ending loop via server response omissionBy permanently omitting the final control-response line, a malicious FTP,
IMAP, POP3, or SMTP server can exploit libcurl and completely bypass its
configured transfer timeout mechanism, indefinitely blocking all concurrent
transfers bound to the same multi-handle.CVSS8.1HighEPSS1.04%PrioritiseCVE-2026-92386curl +3 moreserver-set cookie aborts cookie jar loadWhen writing a long cookie name and value to a Netscape cookie jar, a remote
HTTP server can make `curl` write a record that exceeds its line-length
parsing limit. Consequently, any subsequent `curl` invocation reading from
that same cookie jar using `--cookie` silently aborts parsing prematurely upon
encountering the too long line, ignoring all subsequent valid cookies in the
file.CVSS8.1HighEPSS0.83%PrioritiseCVE-2026-87866curl +2 morewolfSSL public-key pinning bypassWhen built with wolfSSL, curl can successfully validate a pinned public key
hash against a key the TLS peer does not possess. During the TLS handshake,
wolfSSL validates the connection, but curl's subsequent re-parsing of the same
certificate - tricked by a manipulated validity length field - extracts and
matches a different embedded key, incorrectly authorizing the pinned public
key.CVSS9.1CriticalEPSS0.51%PrioritiseCVE-2026-87865curl +3 moreknownhost callback mismatches key as missingWhen libcurl uses libssh2 with a hashed `known_hosts` file, an unrelated
initial entry can cause host key validation to report a key *mismatch* as a
*missing* key to the `CURLOPT_SSH_KEYFUNCTION` callback.CVSS7.4HighEPSS0.53%PrioritiseCVE-2026-87863curl +3 moreHSTS response erases persisted entriesAn authenticated HTTPS origin can supply an HSTS `max-age` value that the
parser accepts, but time serialization later fails to process. On 64-bit
systems, extreme max-age values compute an absolute expiry within standard
time integer limits that exceeds calendar time structure bounds. During cache
saves, the original HSTS file is truncated before writing a temporary
replacement; when serialization fails, the temporary file is deleted, leaving
an empty or partial cache. Because the save error is silently ignored during
cleanup, curl exits successfully despite the data loss.CVSS8.1HighEPSS0.83%PrioritiseCVE-2026-87864curl +3 moreIMAP APPEND plus CRLF conversion command injectionEnabling `CURLOPT_CRLF` causes curl to advertise the raw input byte count in
the `IMAP APPEND {N}` literal while transmitting line-ending expanded data.
The server reads only $N$ bytes for the payload, causing the remaining
overflow bytes to be interpreted and executed as pipelined IMAP commands
within the authenticated session.CVSS8.1HighEPSS0.83%PrioritiseCVE-2026-87862curl +3 moreHSTS cache import drops longer-lived childImporting a `includeSubDomains` parent HSTS entry before a longer-lived child
entry, silently drops the child. Consequently, when the parent expires, the
child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP
requests rather than upgrading to HTTPS.CVSS8.1HighEPSS1.00%PrioritiseCVE-2026-87861curl +2 morecross-origin reuse of a Negotiate connectionWhen using ambient user credentials, an HTTP request directed to one origin
may be dispatched over a connection previously authenticated via Negotiate for
a different origin, leaving the request's intended credentials unused.CVSS9.1CriticalEPSS0.68%PrioritiseCVE-2026-86415curl +2 moreauto client cert connection reuse mixuplibcurl's connection cache match function never considers the automatic client
certificate option, so a cached, already authenticated Schannel connection can
be handed to a transfer that got redirected to a different origin, even though
the code explicitly switched off the auto client cert option for that transfer
to prevent exactly this.CVSS7.5HighEPSS0.42%PrioritiseCVE-2026-86414curl +3 moreleaking host credentials to HTTP proxyAn HTTP proxy can trick libcurl into sending the origin's credentials (Basic
password, or a Negotiate/Kerberos ticket) to the proxy itself, by answering
the `CONNECT` tunnel request with 401 `WWW-Authenticate:` instead of the
expected 407 `Proxy-Authenticate:`.CVSS9.1CriticalEPSS0.68%PrioritiseCVE-2026-86413curl +2 moreNegotiate credentials sent to redirected originWhen using an *ambient user* in a first transfer doing Negotiate
authentication and asked to follow redirects, curl could pass on its
credential details to an unrelated second origin when asked to redirect there.CVSS9.1CriticalEPSS0.73%PrioritiseCVE-2026-86412curl +3 moreserver-set cookie erases cookie jarA remote HTTP server can set a cookie that curl accepts and writes to a
Netscape cookie jar but cannot reload. On the next invocation using the same
path for `--cookie` and `--cookie-jar`, curl fails before connecting, then the
cleanup procedure replaces the jar with an empty file, deleting cookies for
unrelated domains.CVSS8.1HighEPSS0.79%