REDHAT-BUG-2550720: Low severity curl curl vulnerability

Published Oct 13, 2026
·
Updated

info leak uploading over WebSockets with GnuTLS ===============================================

Project curl Security Advisory, October 14 2026 Permalink

VULNERABILITY -------------

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

INFO ----

The problem triggers when a send over TLS first reaches an EAGAIN situation and is followed by an automated WebSocket PONG response.

This problem only triggers when curl uses the GnuTLS backend.

In the worst case, this bug sends data from a neighboring heap buffer to the server in a subsequent send call, but it also likely to just crash.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2026-107928 to this issue.

CWE-126: Buffer Over-read

Severity: Low

This bug is considered a C mistake (likely to have been avoided had we not been using C).

AFFECTED VERSIONS -----------------

- Affected versions: curl 7.86.0 to and including 8.22.0 - Not affected versions: curl < 7.86.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/664249d095275ec532f5

libcurl is used by many applications, but not always advertised as such!

This flaw also affects the curl command line tool.

SOLUTION --------

- Fixed-in: https://github.com/curl/curl/commit/64fb3e7a7b116f6909660

RECOMMENDATIONS ---------------

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - using another TLS backend when doing WebSocket

TIMELINE --------

This issue was reported to the curl project on October 9, 2026.

curl 8.23.0 was released on October 14, 2026, coordinated with the publication of this advisory.

CREDITS -------

- Reported-by: Luna with Claude, Anthropic - Patched-by: Stefan Eissing

Thanks a lot!

Affected Software

1 affected component
curl curl>=7.86.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade curl/curl to a version that resolves this vulnerability.

    Fixed in 8.23.0
  2. Compensating control

    Use a TLS backend other than GnuTLS when doing WebSocket transfers.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·05:34 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Are all curl deployments exposed to this issue?

No. The issue only affects curl builds that use the GnuTLS TLS backend, and it requires WebSocket traffic over TLS.

2

What must a malicious server cause for exploitation?

A malicious WebSocket server must cause a TLS send to reach an EAGAIN condition and then trigger curl's automated WebSocket PONG response. The problematic behavior occurs when GnuTLS reports sending more bytes than it was given after the blocked send.

3

What is the practical impact if the issue is triggered?

In the worst case, curl can send data from a neighboring heap buffer to the malicious server during a later send operation. The failure may also result in a crash instead of disclosing data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203