When curl is built with GnuTLS, a malicious WebSocket server can make curl send memory past its send buffer. (CVE-2026-107928)
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in curl arises when it is compiled with GnuTLS as the TLS backend. Specifically, if a malicious WebSocket server manipulates the TLS record sending process, it can cause gnutls_record_send() to report that more bytes were sent than actually provided. This leads curl to send memory past its allocated send buffer, resulting in an out-of-bounds read. This flaw is related to the handling of blocked sends within GnuTLS and affects the memory safety of curl's data transmission.
Potential Impact
An attacker controlling a malicious WebSocket server can exploit this vulnerability to cause curl to read and send memory beyond its intended buffer. This could potentially lead to information disclosure of memory contents from the client running curl. There is no indication of remote code execution or other impacts from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider avoiding using curl builds with GnuTLS for WebSocket connections or use alternative TLS backends if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4c9f-c4pg-phw4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-107928"]
Threat ID: 6ad7ec172cdf04f6566aefdc
Added to database: 10/20/2026, 22:32:55 UTC
Last enriched: 10/20/2026, 22:37:20 UTC
Last updated: 10/20/2026, 23:48:10 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.