Lucene search
K

188 matches found

curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•3 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.5CVSS5.2AI score0.00019EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•4 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.5CVSS5.2AI score0.00013EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•2 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.9CVSS5.2AI score0.0003EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•3 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.3CVSS5.2AI score0.00104EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•3 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.5CVSS5.2AI score0.00036EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•4 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.9CVSS5.2AI score0.00014EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•2 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.3CVSS5.2AI score0.00013EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/04/29 8:0 a.m.•3 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.3CVSS5.2AI score0.00021EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:0 a.m.•2 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.5CVSS7.2AI score0.00073EPSS
Exploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:0 a.m.•4 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.0003EPSS
Exploits2References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:0 a.m.•2 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.5CVSS7.2AI score0.00029EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/03/11 8:0 a.m.•2 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.3CVSS7.6AI score0.00028EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•2 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.3AI score0.00029EPSS
Exploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•3 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.2AI score0.00007EPSS
Exploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•2 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.3CVSS5.9AI score0.00022EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•3 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.3CVSS5.8AI score0.0003EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•2 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.2AI score0.00003EPSS
Exploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/01/07 8:0 a.m.•2 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.1CVSS5.8AI score0.00064EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/11/05 8:0 a.m.•3 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.3CVSS5.1AI score0.00033EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/09/10 8:0 a.m.•2 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.3CVSS7.2AI score0.0029EPSS
Exploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2025/09/10 8:0 a.m.•2 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.00364EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/06/04 8:0 a.m.•3 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.9AI score0.00566EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/05/28 8:0 a.m.•2 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.1AI score0.00075EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/05/28 8:0 a.m.•2 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.0008EPSS
Exploits2References1Affected Software2
curl security advisories
curl security advisories
•added 2025/02/05 8:0 a.m.•2 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.3AI score0.006EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/02/05 8:0 a.m.•2 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...

7CVSS8AI score0.04569EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2025/02/05 8:0 a.m.•2 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.8AI score0.00331EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/12/11 8:0 a.m.•3 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.8AI score0.01285EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/11/06 8:0 a.m.•2 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.5CVSS6.9AI score0.00725EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/09/11 8:0 a.m.•2 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.4AI score0.00559EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/31 8:0 a.m.•2 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.8AI score0.00882EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/24 8:0 a.m.•3 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.0099EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/07/24 8:0 a.m.•2 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.8AI score0.01302EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:0 a.m.•2 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.3CVSS6.6AI score0.00205EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:0 a.m.•2 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.3AI score0.0091EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:0 a.m.•2 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.01962EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/03/27 8:0 a.m.•3 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.00149EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2024/01/31 8:0 a.m.•3 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.3AI score0.00187EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/12/06 8:0 a.m.•2 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.00213EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/12/06 8:0 a.m.•2 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.5AI score0.00139EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/10/11 8:0 a.m.•2 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.9AI score0.00441EPSS
Exploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2023/10/11 8:0 a.m.•2 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.4AI score0.2625EPSS
Exploits6References1Affected Software2
curl security advisories
curl security advisories
•added 2023/09/13 8:0 a.m.•3 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.4AI score0.14467EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:0 a.m.•3 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.00297EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:0 a.m.•2 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.0032EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:0 a.m.•2 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.00631EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/05/17 8:0 a.m.•2 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.00641EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/03/20 8:0 a.m.•2 views

SFTP path ~ resolving discrepancy

curl supports SFTP transfers. curl's SFTP implementation offers a special feature in the path component of URLs: a tilde character as the first path element in the path to denotes a path relative to the user's home directory. This is supported because of wording in the once proposed to-become RFC...

8.8CVSS6.5AI score0.00055EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/03/20 8:0 a.m.•2 views

HSTS double free

libcurl supports sharing HSTS data between separate "handles". This sharing was introduced without considerations for doing this sharing across separate threads but there was no indication of this fact in the documentation. Due to missing mutexes or thread locks, two threads sharing the same HSTS...

5.9CVSS6.3AI score0.00061EPSS
Exploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2023/03/20 8:0 a.m.•3 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.00012EPSS
Exploits1References1Affected Software2
Total number of security vulnerabilities188