REDHAT-BUG-2550682: Low severity curl curl vulnerability

Published Oct 13, 2026
·
Updated

server-set cookie aborts cookie jar load ========================================

Project curl Security Advisory, October 14 2026 Permalink

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

When writing a long cookie name and value to a Netscape cookie jar, a remote HTTP server can make curl write a record that exceeds its line-length parsing limit. Consequently, any subsequent curl invocation reading from that same cookie jar using --cookie will silently abort parsing prematurely upon encountering the oversized line, ignoring all subsequent valid cookies in the file.

INFO ----

The server cannot know or impact the relative position of this particular cookie in the cookie jar, thus this flaw may affect many, few or no other cookies when triggered.

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

CWE-1284: Improper Validation of Specified Quantity in Input

Severity: Low

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

- Affected versions: curl 8.7.0 to and including 8.22.0 - Not affected versions: curl < 8.7.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/142ac257b3242459b2840

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/445aa87e13f91c94bc742f5434

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

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - Do not use cookies

TIMELINE --------

This issue was reported to the curl project on September 11, 2026.

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

CREDITS -------

- Reported-by: Joshua Rogers (Aisle Research) - Patched-by: Daniel Stenberg

Thanks a lot!

Affected Software

1 affected component
curl curl>=8.7.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade curl to a version that resolves this vulnerability.

    Fixed in 8.23.0
  2. Compensating control

    Do not use cookies with curl.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·04:41 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Users of curl 8.7.0 through 8.22.0 are affected when they write cookies received from a remote HTTP server to a Netscape-format cookie jar and later load that jar with --cookie. Versions earlier than 8.7.0 and 8.23.0 or later are not affected.

2

What does an attacker need to do to trigger the problem?

A remote HTTP server must cause curl to store a cookie with a name and value long enough to produce a cookie-jar record exceeding curl's line-length parsing limit. On a later curl invocation that reads the same jar, parsing stops silently at that record.

3

What is the practical impact on cookies in the jar?

All valid cookies located after the oversized record are ignored when the jar is loaded. The server cannot control where its cookie is placed in the jar, so the number of affected cookies may be many, few, or none.

4

What can be done if upgrading is not immediately possible?

Avoid reusing a Netscape cookie jar that may contain cookies set by untrusted remote HTTP servers. Removing the oversized cookie record, or using a newly created cookie jar, prevents that record from aborting parsing of later cookies.

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