A vulnerability exists in curl when built with GnuTLS where a malicious WebSocket server can cause curl to send memory beyond its intended send buffer. This occurs due to an out-of-bounds read triggered when gnutls_record_send() returns a byte count greater than the number of bytes it was asked to send, typically after a blocked send.