Lucene search
+L
Curl Security AdvisoriesRecent

239 matches found

curl security advisories
curl security advisories
•added 2026/06/24 8:00 a.m.•44 views

wrong reuse for different services

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

6.5CVSS6.5AI score0.00371EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•56 views

cross-proxy Digest auth state leak

Successfully using libcurl to do a transfer over a specific HTTP proxy proxyA with Digest authentication and then changing the proxy host to a second one proxyB for a second transfer, reusing the same handle, makes libcurl wrongly pass on the Proxy-Authorization: header field meant for proxyA, to...

5.3CVSS6.7AI score0.00471EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•48 views

OCSP stapling bypass with Apple SecTrust

When curl is told to use the Certificate Status Request TLS extension, often referred to as OCSP stapling, to verify that the server certificate is valid, it fails to detect OCSP problems and instead wrongly consider the response as fine...

5.3CVSS7.2AI score0.00274EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•43 views

netrc credential leak with reused proxy connection

When asked to both use a .netrc file for credentials and to follow HTTP redirects, libcurl could leak the password used for the first host to the followed-to host under certain circumstances...

5.3CVSS6.5AI score0.00519EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•59 views

stale custom cookie host causes cookie leak

Using libcurl, when a custom Host: header is first set for an HTTP request and a second request is subsequently done using the same easy handle but without the custom Host: header set, the second request would use stale information and pass on cookies meant for the first host in the second reques...

7.5CVSS7.3AI score0.00295EPSS
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 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 2026/04/29 8:00 a.m.•91 views

connection reuse ignores TLS requirement

A vulnerability exists where a connection requiring TLS incorrectly reuses an existing unencrypted connection from the same connection pool. If an initial transfer is made in clear-text via IMAP, SMTP, or POP3, a subsequent request to that same host bypasses the TLS requirement and instead transm...

5.9CVSS7AI score0.00329EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:00 a.m.•45 views

wrong reuse of HTTP Negotiate connection

libcurl might in some circumstances reuse the wrong connection when asked to do an authenticated HTTPS request after a Negotiate-authenticated one, when both use the same host. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid...

6.5CVSS7AI score0.00414EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:00 a.m.•27 views

use after free in SMB connection reuse

When doing a second SMB request to the same host again, curl would wrongly use a data pointer pointing into already freed memory...

7.5CVSS7.2AI score0.00838EPSS
SaveExploits2References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:00 a.m.•45 views

wrong proxy connection reuse with credentials

curl would wrongly reuse an existing HTTP proxy connection doing CONNECT to a server, even if the new request uses different credentials for the HTTP proxy. The proper behavior is to create or use a separate connection...

6.5CVSS7AI score0.00428EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:00 a.m.•40 views

token leak with redirect and netrc

When an OAuth2 bearer token is used for an HTTPS transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has information in the used .netrc file, with eithe...

5.3CVSS6.4AI score0.00473EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:00 a.m.•40 views

bad reuse of HTTP Negotiate connection

libcurl can in some circumstances reuse the wrong connection when asked to do an Negotiate-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...

6.5CVSS6.9AI score0.0027EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•27 views

OpenSSL partial chain store policy bypass

When doing TLS related transfers with reused easy or multi handles and altering the CURLSSLOPTNOPARTIALCHAIN option, libcurl could accidentally reuse a CA store cached in memory for which the partial chain option was reversed. Contrary to the user's wishes and expectations. This could make libcur...

5.3CVSS6.7AI score0.00756EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•37 views

broken TLS options for threaded LDAPS

When doing multi-threaded LDAPS transfers LDAP over TLS with libcurl, changing TLS options in one thread would inadvertently change them globally and therefore possibly also affect other concurrently setup transfers. Disabling certificate verification for a specific transfer could unintentionally...

6.3CVSS6.5AI score0.00114EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•39 views

libssh key passphrase bypass without agent set

When doing SSH-based transfers using either SCP or SFTP, and asked to do public key authentication, curl would wrongly still ask and authenticate using a locally running SSH agent...

3.1CVSS6.5AI score0.0048EPSS
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 2026/01/07 8:00 a.m.•66 views

bearer token leak on cross-protocol redirect

When an OAuth2 bearer token is used for an HTTPS transfer, and that transfer performs a cross-protocol redirect to a second URL that uses an IMAP, LDAP, POP3 or SMTP scheme, curl might wrongly pass on the bearer token to the new target host...

5.3CVSS6.5AI score0.0068EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:00 a.m.•31 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/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 2025/09/10 8:00 a.m.•28 views

predictable WebSocket mask

curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection. A predictable mask pattern allows for a malicious server to induce traffic between the two...

5.3CVSS6.8AI score0.00524EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2025/09/10 8:00 a.m.•26 views

Out of bounds read for cookie path

A cookie is set using the secure keyword for https://target 2. curl is redirected to or otherwise made to speak with http://target same hostname, but using clear text HTTP using the same cookie set 3. The same cookie name is set - but with only a slash as path path="/". Since this site is not...

7.5CVSS6.5AI score0.01463EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/06/04 8:00 a.m.•28 views

WebSocket endless loop

Due to a mistake in libcurl's WebSocket code, a malicious server can send a particularly crafted packet which makes libcurl get trapped in an endless busy-loop. There is no other way for the application to escape or exit this loop other than killing the thread/process. This might be used to DoS...

7.5CVSS6.5AI score0.01376EPSS
SaveExploits1References1Affected 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 2025/05/28 8:00 a.m.•39 views

No QUIC certificate pinning with wolfSSL

libcurl supports pinning of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC...

4.8CVSS7AI score0.00306EPSS
SaveExploits2References1Affected Software2
curl security advisories
curl security advisories
•added 2025/02/05 8:00 a.m.•29 views

eventfd double close

libcurl would wrongly close the same eventfd file descriptor twice when taking down a connection channel after having completed a threaded name resolve...

7CVSS7.9AI score0.01331EPSS
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 2025/02/05 8:00 a.m.•56 views

netrc and default credential leak

When asked to 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 a default entry that omits both login and password. A rare...

3.4CVSS6.5AI score0.00748EPSS
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 2024/11/06 8:00 a.m.•27 views

HSTS subdomain overwrites parent cache entry

When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making it end sooner or later than otherwise intended. This affects curl using applications that enable HSTS and use URLs with the insecure HTTP:// scheme and perform transfers with host...

6.5CVSS7AI score0.01987EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/09/11 8:00 a.m.•80 views

OCSP stapling bypass with GnuTLS

When curl is told to use the Certificate Status Request TLS extension, often referred to as OCSP stapling, to verify that the server certificate is valid, it might fail to detect some OCSP problems and instead wrongly consider the response as fine. If the returned status reports another error tha...

6.5CVSS7.6AI score0.00817EPSS
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 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 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 2024/03/27 8:00 a.m.•25 views

TLS certificate check bypass with mbedTLS

libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS. libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore completely skipping the certificate...

6.5CVSS6.8AI score0.01453EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:00 a.m.•26 views

Usage of disabled protocol

When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been...

3.5CVSS6.6AI score0.01681EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:00 a.m.•27 views

QUIC certificate check bypass with wolfSSL

libcurl skips the certificate verification for a QUIC connection under certain conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or curve, the error path accidentally skips the verification and returns OK, thus ignoring any certificate problems...

6.3CVSS7.1AI score0.01863EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:00 a.m.•27 views

HTTP/2 push headers memory-leak

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit 1000, libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead lea...

8.6CVSS6.6AI score0.36081EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/01/31 8:00 a.m.•28 views

OCSP verification bypass with TLS session reuse

curl inadvertently kept the SSL session ID for connections in its cache even when the verify status OCSP stapling test failed. A subsequent transfer to the same hostname could then succeed if the session ID cache was still fresh, which then skipped the verify status check...

5.3CVSS6.5AI score0.01102EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/12/06 8:00 a.m.•25 views

HSTS long filename clears contents

When saving HSTS data to an excessively long filename, curl could end up removing all contents, making subsequent requests using that file unaware of the HSTS status they should otherwise use...

5.3CVSS6.6AI score0.01133EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/12/06 8:00 a.m.•25 views

cookie mixed case PSL bypass

This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or possible. This allows a site to set cookies that then would get sent to different and unrelated sites and domains. It could do this by exploiting a...

6.5CVSS6.5AI score0.01685EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/10/11 8:00 a.m.•25 views

cookie injection with none file

This flaw allows an attacker to intentionally inject cookies into a running program using libcurl, if the specific series of conditions are met. libcurl performs transfers. In its API, an application creates "easy handles" that are the individual handles for single transfers. libcurl provides a...

3.7CVSS6.7AI score0.05956EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2023/10/11 8:00 a.m.•40 views

SOCKS5 heap buffer overflow

This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the hostname to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that hostname can be is 255 bytes. If the hostname ...

9.8CVSS7.6AI score0.78689EPSS
SaveExploits7References1Affected Software2
curl security advisories
curl security advisories
•added 2023/09/13 8:00 a.m.•26 views

HTTP headers eat all memory

When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API. However, curl did not have a limit on the size or quantity of headers it would accept in a response, allowing a malicious server to stream an endless series of...

7.5CVSS6.6AI score0.56211EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:00 a.m.•27 views

more POST-after-PUT confusion

When doing HTTPS transfers, libcurl might erroneously use the read callback CURLOPTREADFUNCTION to ask for data to send, even when the CURLOPTPOSTFIELDS option has been set, if the same handle previously was used to issue a PUT request which used that callback. This flaw may surprise the...

5.3CVSS6.2AI score0.02211EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:00 a.m.•38 views

IDN wildcard match

curl supports matching of wildcard patterns when listed as "Subject Alternative Name" in TLS server certificates. curl can be built to use its own name matching function for TLS rather than one provided by a TLS library. This private wildcard matching function would match IDN International Domain...

5.9CVSS6.4AI score0.01806EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:00 a.m.•26 views

siglongjmp race condition

libcurl provides several different backends for resolving hostnames, selected at build time. If it is built to use the synchronous resolver, it allows name resolves to time-out slow operations using alarm and siglongjmp. When doing this, libcurl used a global buffer that was not mutex protected a...

5.9CVSS6.5AI score0.02658EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:00 a.m.•23 views

UAF in SSH sha256 fingerprint check

libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the now freed hash. This flaw risks inserting sensitive heap-based data into the error message...

7.5CVSS6.8AI score0.02489EPSS
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 2023/03/20 8:00 a.m.•25 views

GSS delegation too eager connection reuse

libcurl would reuse a previously created connection even when the GSS delegation CURLOPTGSSAPIDELEGATION option had been changed that could have changed the user's permissions in a second transfer. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if...

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