Lucene search
+L
Curl Security AdvisoriesMost viewed

239 matches found

curl security advisories
curl security advisories
•added 2023/03/20 8:00 a.m.•24 views

FTP too eager connection reuse

libcurl would reuse a previously created FTP connection even when one or more options had been changed that could have made the effective user a different one, thus leading to doing the second transfer with the wrong credentials. libcurl keeps previously used connections in a connection pool for...

5.9CVSS6.6AI score0.01803EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/10/26 8:00 a.m.•24 views

.netrc parser out-of-bounds access

curl can be told to parse a .netrc file for credentials. If that file ends in a line with consecutive non-white space letters and no newline, curl could read past the end of the stack-based buffer, and if the read works, write a zero byte possibly beyond its boundary. This does in most cases caus...

6.5CVSS7.3AI score0.02704EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/06/27 8:00 a.m.•24 views

FTP-KRB bad message verification

When curl does FTP transfers secured by krb5, it handles message verification failures wrongly. This flaw makes it possible for a Man-In-The-Middle attack to go unnoticed and even allows it to inject data to the client...

5.9CVSS7.1AI score0.08373EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/05/11 8:00 a.m.•24 views

HSTS bypass via trailing dot

curl's HSTS check could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. This mechanism could be bypassed if the hostname in the given URL used ...

4.3CVSS6.4AI score0.01359EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/05/11 8:00 a.m.•24 views

percent-encoded path separator in URL host

The curl URL parser wrongly accepts percent-encoded URL separators like '/' when decoding the hostname part of a URL, making it a different URL using the wrong hostname when it is later retrieved. For example, a URL like http://example.com%2F10.0.0.1/, would be allowed by the parser and get...

7.5CVSS6.7AI score0.02524EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2022/04/27 8:00 a.m.•24 views

Bad local IPv6 connection reuse

libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take the IPv6 address zone id into account which could lead to libcurl reusing the wrong connection...

7.5CVSS6.4AI score0.03344EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2020/12/09 8:00 a.m.•24 views

Inferior OCSP verification

libcurl offers "OCSP stapling" via the CURLOPTSSLVERIFYSTATUS option. When set, libcurl verifies the OCSP response that a server responds with as part of the TLS handshake. It then aborts the TLS negotiation if something is wrong with the response. The same feature can be enabled with --cert-stat...

7.5CVSS6.7AI score0.04631EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2019/09/11 8:00 a.m.•24 views

TFTP small blocksize heap buffer overflow

libcurl contains a heap buffer overflow in the function tftpreceivepacket that receives data from a TFTP server. It can call 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 controlled b...

9.8CVSS6.5AI score0.17939EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2018/10/31 8:00 a.m.•24 views

SASL password overflow via integer overflow

libcurl contains a buffer overrun in the SASL authentication code. The internal function Curlauthcreateplainmessage fails to correctly verify that the passed in lengths for name and password are not too long, then calculates a buffer size to allocate. On systems with a 32-bit sizet, the math to...

9.8CVSS7.2AI score0.05782EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2018/10/31 8:00 a.m.•24 views

warning message out-of-buffer read

curl contains a heap out of buffer read vulnerability. The command line tool has a generic function for displaying warning and informational messages to stderr for various situations. For example if an unknown command line argument is used, or passed to it in a "config" file. This display functio...

9.1CVSS7AI score0.02099EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2018/03/14 8:00 a.m.•24 views

FTP path trickery leads to NIL byte out of bounds write

curl can be fooled into writing a zero byte out of bounds. This bug can trigger when curl is told to work on an FTP URL, with the setting to only issue a single CWD command --ftp-method singlecwd or the libcurl alternative CURLOPTFTPFILEMETHOD. curl then URL-decodes the given path, calls strlen o...

9.8CVSS7.7AI score0.11608EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2017/11/29 8:00 a.m.•24 views

FTP wildcard out of bounds read

libcurl contains a read out of bounds flaw in the FTP wildcard function. libcurl's FTP wildcard matching feature, which is enabled with the CURLOPTWILDCARDMATCH option can use a built-in wildcard function or a user provided one. The built-in wildcard function has a flaw that makes it not detect t...

9.8CVSS7AI score0.11175EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2017/10/04 8:00 a.m.•24 views

FTP PWD response parser out of bounds read

libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in anonymous or not, it asks the server for the current directory with the PWD command. The server then responds with a 257 response containing the path, inside double...

7.5CVSS6.6AI score0.08139EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2016/11/02 8:00 a.m.•24 views

glob parser write/read out of bounds

The curl tool's "globbing" feature allows a user to specify a numerical range through which curl iterates. It is typically specified as 1-5, specifying the first and the last numbers in the range. Or with a-z, using letters. 1. The curl code for parsing the second unsigned number did not check fo...

9.8CVSS7.7AI score0.04667EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2016/08/03 8:00 a.m.•24 views

use of connection struct after free

libcurl is vulnerable to a use after free flaw. libcurl works with easy handles using the type 'CURL ' that are objects the application creates using curleasyinit. They are the handles that are all each associated with a single transfer at a time. libcurl also has an internal struct that represen...

8.1CVSS7.5AI score0.08037EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2015/04/22 8:00 a.m.•24 views

cookie parser out of boundary memory access

libcurl supports HTTP "cookies" as documented in RFC 6265. Together with each individual cookie there are several different properties, but for this vulnerability we focus on the associated "path" element. It tells information about for which path on a given host the cookie is valid. The internal...

7.5CVSS8AI score0.30467EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•23 views

knownhost callback mismatches key as missing

When libcurl uses libssh2 with a hashed knownhosts file, an unrelated initial entry can cause host key validation to report a key mismatch as a missing key to the CURLOPTSSHKEYFUNCTION callback...

7.4CVSS5.9AI score0.00604EPSS
SaveExploits0References1Affected 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 2022/06/27 8:00 a.m.•23 views

Non-preserved file permissions

When curl saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target filename. In that rename operation, it might accidentally widen the permissions for the target file, leaving the updated...

9.8CVSS7.1AI score0.12321EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2016/12/21 8:00 a.m.•23 views

printf floating point buffer overflow

libcurl's implementation of the printf functions triggers a buffer overflow when doing a large floating point output. The bug occurs when the conversion outputs more than 255 bytes. The flaw happens because the floating point conversion is using system functions without the correct boundary check...

8.1CVSS7.1AI score0.04746EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2005/12/07 8:00 a.m.•23 views

URL Buffer Overflow

libcurl's URL parser function can overflow a heap based buffer in two ways, if given a too long URL. These overflows happen if you 1 - pass in a URL with no protocol like "http://" prefix, using no slash and the string is 256 bytes or longer. This leads to a single zero byte overflow of the heap...

4.6CVSS5.5AI score0.00516EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2005/10/13 8:00 a.m.•23 views

NTLM Buffer Overflow

libcurl's NTLM function can overflow a stack-based buffer if given a too long username or domain name. This would happen if you enable NTLM authentication and either: A - pass in a username and domain name to libcurl that together are longer than 192 bytes B - allow libcurl to follow HTTP...

7.5CVSS5.6AI score0.05188EPSS
SaveExploits0Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•22 views

IMAP APPEND plus CRLF conversion command injection

Enabling CURLOPTCRLF 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...

8.1CVSS5.9AI score0.00828EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2021/03/31 8:00 a.m.•22 views

Automatic referer leaks credentials

libcurl does not strip off user credentials from the URL when automatically populating the Referer: HTTP request header field in outgoing HTTP requests, and therefore risks leaking sensitive data to the server that is the target of the second HTTP request. libcurl automatically sets the Referer:...

5.3CVSS6.8AI score0.05301EPSS
SaveExploits1References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•20 views

Negotiate credentials sent to redirected origin

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

9.1CVSS5.9AI score0.00731EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•20 views

FTP connection reuse inherits client-certificate

An ftp:// transfer configured with CURLUSESSLNONE 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...

9.1CVSS7.2AI score0.00433EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•20 views

HSTS cache import drops longer-lived child

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

8.1CVSS5.8AI score0.00995EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•20 views

TFTP direction confusion

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

8.1CVSS5.8AI score0.00721EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•19 views

Authorization: Negotiate sent to foreign origin

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

9.1CVSS6.1AI score0.00776EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•19 views

info leak uploading over WebSockets with GnuTLS

When 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 gnutlsrecordsend returns a number of bytes sent greater than the number of bytes it was given to send. GnuTLS does that after a blocked...

8.1CVSS6AI score0.00705EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•19 views

server-set cookie erases cookie jar

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

8.1CVSS5.9AI score0.00828EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•18 views

never-ending loop via server response omission

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

8.1CVSS5.9AI score0.01045EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•18 views

auto client cert connection reuse mixup

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

7.5CVSS5.9AI score0.00419EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•18 views

cross-origin reuse of a Negotiate connection

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

9.1CVSS5.8AI score0.00676EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•18 views

HSTS response erases persisted entries

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

8.1CVSS5.9AI score0.00828EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•17 views

FTP wildcard write callback mixup

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

9.1CVSS6.3AI score0.00699EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•16 views

wolfSSL public-key pinning bypass

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

9.1CVSS5.9AI score0.0051EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•16 views

curl_mime_free stack overflow by recursion

A 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 curlmimefree leads to unbounded stack frame allocation during structure traversal, ultimately crashing the host process...

7.5CVSS5.9AI score0.01166EPSS
SaveExploits0References1Affected Software2
curl security advisories
curl security advisories
•added 2026/10/14 8:00 a.m.•16 views

redirect to SFTP or SCP bypasses host verification

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

8.1CVSS5.9AI score0.00766EPSS
SaveExploits0References1Affected Software2
Total number of security vulnerabilities239