Lucene search
+L
Curl Security AdvisoriesMost viewed

239 matches found

curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•36 views

OpenSSL provider use-after-free

When 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...

7.5CVSS5.9AI score0.00563EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•36 views

env-set cross-proxy Digest auth state leak

When 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...

9.1CVSS6.6AI score0.005EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•36 views

HTTP/2 stream-dependency tree UAF

A use-after-free vulnerability exists in libcurl when an application configures an HTTP/2 stream-dependency tree via CURLOPTSTREAMDEPENDS or CURLOPTSTREAMDEPENDSE, subsequently invokes curleasyreset, and finally terminates the handle with curleasycleanup. During this final cleanup phase, libcurl...

9.8CVSS6.8AI score0.00598EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•36 views

wrong reuse of SMB connection

libcurl might in some circumstances reuse the wrong connection for SMBS transfers. 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...

7.5CVSS7.3AI score0.00618EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/09/15 8:00 a.m.•36 views

Protocol downgrade required TLS bypassed

A user can tell curl to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server --ssl-reqd on the command line or CURLOPTUSESSL set to CURLUSESSLCONTROL or CURLUSESSLALL with libcurl. This requirement could be bypassed if the server would return a properly crafted but...

7.5CVSS6.5AI score0.04539EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2020/12/09 8:00 a.m.•36 views

FTP wildcard stack overflow

libcurl offers a wildcard matching functionality, which allows a callback set with CURLOPTCHUNKBGNFUNCTION to return information back to libcurl on how to handle a specific entry in a directory when libcurl iterates over a list of all available entries. When this callback returns...

7.5CVSS6.9AI score0.0977EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•35 views

exposing HTTP/3 early data

In 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...

7.5CVSS7.2AI score0.00408EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2016/01/27 8:00 a.m.•35 views

remote filename path traversal in curl tool for Windows

curl does not sanitize colons in a remote filename that is used as the local filename. This may lead to a vulnerability on systems where the colon is a special path character. Currently Windows is the only OS where this vulnerability applies. curl offers command line options --remote-name also...

5.3CVSS6AI score0.01152EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•34 views

wolfSSL CA-cache hit overrides callback

With the wolfSSL backend, when CA caching is enabled and an CURLOPTSSLCTXFUNCTION 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 incorrectl...

7.5CVSS7.2AI score0.00407EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/02/05 8:00 a.m.•34 views

gzip integer overflow

When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the CURLOPTACCEPTENCODING option, using zlib 1.2.0.3 or older, an attacker-controlled integer overflow would make libcurl perform a buffer overflow...

7.3CVSS7.2AI score0.01801EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/24 8:00 a.m.•34 views

freeing stack buffer in utf8asn1str

libcurl's ASN1 parser has this utf8asn1str function used for parsing an ASN.1 UTF-8 string. It can detect an invalid field and return error. Unfortunately, when doing so it also invokes free on a 4 byte local stack buffer. Most modern malloc implementations detect this error and immediately abort...

7.5CVSS7.4AI score0.04296EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/07/21 8:00 a.m.•34 views

TELNET stack contents disclosure again

curl supports the -t command line option, known as CURLOPTTELNETOPTIONS in libcurl. This rarely used option is used to send variable=content pairs to TELNET servers. Due to flaw in the option parser for sending NEWENV variables, libcurl could be made to pass on uninitialized data from a stack bas...

5.3CVSS6.6AI score0.05367EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2017/10/23 8:00 a.m.•34 views

IMAP FETCH response out of bounds read

libcurl contains a buffer overrun flaw in the IMAP handler. An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that non-existing data with a pointer and the size zero to the deliver-data...

9.1CVSS7.2AI score0.06224EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•33 views

leaking host credentials to HTTP proxy

An 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:...

9.1CVSS5.9AI score0.00676EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•33 views

native CA store conn reuse

A 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 CURLSSLOPTNATIVECA than when the connection was created...

7.5CVSS7.1AI score0.00898EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•33 views

Negotiate ambient user conn reuse

A 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...

9.8CVSS7.1AI score0.01128EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/12/11 8:00 a.m.•33 views

netrc and redirect credential leak

When asked to both use a .netrc file for credentials and to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has an entry that matches the redirect target hostname but...

3.4CVSS6.7AI score0.01966EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/07/21 8:00 a.m.•33 views

Wrong content via Metalink not discarded

When curl is instructed to download content using the Metalink feature, the contents is verified against a hash provided in the Metalink XML file. The Metalink XML file points out to the client how to get the same content from a set of different URLs, potentially hosted by different servers and t...

6.5CVSS6AI score0.04332EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2019/06/24 8:00 a.m.•33 views

Windows OpenSSL engine code injection

A non-privileged user or program can put code and a config file in a known non-privileged path under C:/usr/local/ that makes curl automatically run the code as an OpenSSL "engine" on invocation. If that curl is invoked by a privileged user it can do anything it wants. This flaw exists in the...

7.8CVSS6.2AI score0.0069EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2016/12/23 8:00 a.m.•33 views

uninitialized random

libcurl's new internal function that returns a good 32-bit random value was implemented poorly and overwrote the pointer instead of writing the value into the buffer the pointer pointed to. This random value is used to generate nonces for Digest and NTLM authentication, for generating boundary...

8.1CVSS7.1AI score0.02218EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2016/12/21 8:00 a.m.•33 views

Win CE Schannel cert wildcard matches too much

curl's TLS server certificate checks are flawed on Windows CE. This vulnerability occurs in the verify certificate function when comparing a wildcard certificate name as returned by the Windows API function CertGetNameString to the hostname used to make the connection to the server. The...

8.1CVSS7.7AI score0.01276EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2014/01/29 8:00 a.m.•33 views

reuse of wrong HTTP NTLM connection

libcurl can in some circumstances reuse the wrong connection when asked to do an NTLM-authenticated HTTP or HTTPS request. 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 criterion...

4CVSS6.9AI score0.05599EPSS
SaveExploits1Affected Software2
curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•32 views

OpenLDAP SASL authentication bypass

A 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...

7.4CVSS7.1AI score0.005EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•32 views

SASL double-free

The 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...

9.8CVSS6.5AI score0.0108EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•32 views

libssh global known_hosts override

When doing SSH-based transfers using either SCP or SFTP, and setting the knownhosts file, libcurl could still mistakenly accept connecting to hosts not present in the specified file if they were added as recognized in the libssh global knownhosts file...

5.3CVSS6.5AI score0.0055EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/24 8:00 a.m.•32 views

macidn punycode buffer overread

libcurl's URL API function curlurlget offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the macidn IDN backend. The conversion function then fills up the provided buffer exact...

4.3CVSS7AI score0.00786EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/03/20 8:00 a.m.•32 views

SSH connection too eager reuse still

libcurl would reuse a previously created connection even when an SSH 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, two SSH settings were...

7.7CVSS6.6AI score0.01451EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/05/11 8:00 a.m.•32 views

curl removes wrong file on error

curl might remove the wrong file when --no-clobber is used together with --remove-on-error. The --remove-on-error option tells curl to remove the output file when it returns an error, and not leave a partial file behind. The --no-clobber option prevents curl from overwriting a file if it already...

8.1CVSS6.2AI score0.03808EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/07/21 8:00 a.m.•32 views

Metalink download sends credentials

When curl is instructed to get content using the Metalink feature, and a user name and password are used to download the Metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl downloads or tries to download the contents from. Often contrar...

5.3CVSS6.5AI score0.02002EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/03/31 8:00 a.m.•32 views

TLS 1.3 session ticket proxy host mix-up

Enabled by default, libcurl supports the use of TLS 1.3 session tickets to resume previous TLS sessions to speed up subsequent TLS handshakes. When using an HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote serve...

4.3CVSS6.6AI score0.03057EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2019/05/22 8:00 a.m.•32 views

TFTP receive buffer overflow

libcurl contains a heap buffer overflow in the function tftpreceivepacket that receives data from a TFTP server. It calls recvfrom with the default size for the buffer rather than with the size that was used to allocate it. Thus, the content that might overwrite the heap memory is entirely...

7.8CVSS6.7AI score0.49739EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2007/07/10 8:00 a.m.•32 views

GnuTLS insufficient cert verification

libcurl when built to use GnuTLS fails to verify that a peer's certificate has not already expired or has not yet become valid. This allows malicious servers to present certificates to libcurl that were not rejected properly. Notably, the CA certificate and common name checks are still in place...

7.5CVSS5.2AI score0.02297EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•31 views

-J no-clobber guarantee bypassed with 103 early hints

When 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 HTTPS serve...

7.5CVSS5.8AI score0.00589EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/09/02 8:00 a.m.•31 views

secure cookie attribute bypass with tab

A 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...

7.5CVSS6AI score0.00478EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•31 views

proxy credentials leak over redirect-to proxy

curl might erroneously pass on credentials for a first proxy to a second proxy. This can happen when the following conditions are true: 1. curl is setup to use specific different proxies for different URL schemes 2. the first proxy needs credentials 3. the second proxy uses no credentials 4. whil...

5.9CVSS6.9AI score0.00719EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/11/05 8:00 a.m.•31 views

missing SFTP host verification with wolfSSH

curl's code for managing SSH connections when SFTP was done using the wolfSSH powered backend was flawed and missed host verification mechanisms. This prevents curl from detecting MITM attackers and more...

4.3CVSS6.2AI score0.00427EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/09/15 8:00 a.m.•31 views

STARTTLS protocol injection via MITM

When curl connects to an IMAP, POP3, SMTP or FTP server to exchange data securely using STARTTLS to upgrade the connection to TLS level, the server can still respond and send back multiple responses before the TLS upgrade. Such multiple pipelined responses are cached by curl. curl would then...

5.9CVSS6.7AI score0.03009EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2021/05/26 8:00 a.m.•31 views

TELNET stack contents disclosure

curl supports the -t command line option, known as CURLOPTTELNETOPTIONS in libcurl. This rarely used option is used to send variable=content pairs to TELNET servers. Due to flaw in the option parser for sending NEWENV variables, libcurl could be made to pass on uninitialized data from a stack bas...

3.1CVSS6.7AI score0.04507EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2020/06/24 8:00 a.m.•31 views

Partial password leak over DNS on HTTP redirect

libcurl can be tricked to prepend a part of the password to the hostname before it resolves it, potentially leaking the partial password over the network and to the DNS servers. libcurl can be given a username and password for HTTP authentication when requesting an HTTP resource - used for HTTP...

7.5CVSS7.2AI score0.03926EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2019/09/11 8:00 a.m.•31 views

FTP-KRB double free

libcurl can be told to use kerberos over FTP to a server, as set with the CURLOPTKRBLEVEL option. During such kerberos FTP data transfer, the server sends data to curl in blocks with the 32-bit size of each block first and then that amount of data immediately following. A malicious or broken serv...

9.8CVSS6.2AI score0.07465EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2017/08/09 8:00 a.m.•31 views

TFTP sends more than buffer size

When doing a TFTP transfer and curl/libcurl is given a URL that contains a long filename longer than about 515 bytes, the filename is truncated to fit within the buffer boundaries, but the buffer size is still wrongly updated to use the original length. This too large value is then used in the...

6.5CVSS6.6AI score0.03958EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2016/09/14 8:00 a.m.•31 views

curl escape and unescape integer overflows

The four libcurl functions curlescape, curleasyescape, curlunescape and curleasyunescape perform string URL percent escaping and unescaping. They accept custom string length inputs in signed integer arguments. The functions having names without "easy" being the deprecated versions of the others...

9.8CVSS6.8AI score0.11737EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2014/03/26 8:00 a.m.•31 views

not verifying certs for TLS to IP address / Secure Transport

When asked to do a TLS connection HTTPS, FTPS, IMAPS, etc to a URL specified with an IP address instead of a name, libcurl would wrongly not verify the server's name in the certificate. The signature whether it was signed by a trusted CA and validity whether the date was within the certificate's...

4.3CVSS6.4AI score0.02862EPSS
SaveExploits2Affected Software2
curl security advisories
curl security advisories
•added 2013/06/22 8:00 a.m.•31 views

URL decode buffer boundary flaw

libcurl is vulnerable to a case of bad checking of the input data which may lead to heap corruption. The function curleasyunescape decodes URL encoded strings to raw binary data. URL encoded octets are represented with %HH combinations where HH is a two-digit hexadecimal number. The decoded strin...

6.8CVSS6.9AI score0.09815EPSS
SaveExploits2Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•30 views

password leak in CURLINFO_EFFECTIVE_URL

libcurl could accidentally return a URL for curleasygetinfo's CURLINFOEFFECTIVEURL option containing credentials, even though neither the URL provided to libcurl nor the redirected URL did...

7.5CVSS5.9AI score0.00556EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•30 views

wrong STARTTLS connection reuse

A vulnerability exists where a new transfer that uses STARTTLS to upgrade the connection might reuse an existing live connection even though the TLS configuration mismatches so it should not...

8.1CVSS6.6AI score0.00309EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•30 views

No QUIC certificate pinning with GnuTLS

When using CURLOPTPINNEDPUBLICKEY option with libcurl or --pinnedpubkey with the curl tool, curl should check the public key of the server certificate to verify the peer. This check was skipped in a certain condition that would then make curl allow the connection without performing the proper...

5.9CVSS6.4AI score0.00239EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2025/05/28 8:00 a.m.•30 views

QUIC certificate check skip with wolfSSL

libcurl accidentally skips the certificate verification for QUIC connections when connecting to a host specified as an IP address in the URL. Therefore, it does not detect impostors or man-in-the-middle attacks...

6.5CVSS7.2AI score0.003EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/31 8:00 a.m.•30 views

ASN.1 date parser overread

libcurl's ASN1 parser code has the GTime2str function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the time fraction, leading to a strlen getting performed on a pointer to a heap buffer area that i...

6.5CVSS6.6AI score0.20217EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/12/21 8:00 a.m.•30 views

HTTP Proxy deny use after free

curl can be asked to tunnel virtually all protocols it supports through an HTTP proxy. HTTP proxies can and often do deny such tunnel operations using an appropriate HTTP error response code. When getting denied to tunnel the specific protocols SMB or TELNET, curl would use a heap-allocated struc...

5.9CVSS6.7AI score0.02714EPSS
SaveExploits1References1Affected Software2
Total number of security vulnerabilities239