CVE-2026-92386

server-set cookie aborts cookie jar load

Published Oct 20, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
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` silently aborts parsing prematurely upon
encountering the too long line, ignoring all subsequent valid cookies in the
file.

Analysis

AI-generated

Technical impact

When a remote server sends a cookie with a name or value that is too large, curl writes it to a Netscape cookie jar exceeding its internal line‑length limit. Then, on the next curl invocation reading that jar with the --cookie option, the parser aborts at the oversized line and silently discards all remaining valid cookie entries, which removes usable cookie state and can cause a denial of service.

Affected Systems

The vulnerability affects all releases of curl that have not yet been patched to limit cookie line length. No specific product versions are listed in the CNA data, so all older releases that match the description are considered impacted. Systems that rely on curl to maintain authentication via cookies, such as web clients or automated scripts, are at risk.

Risk and Exploitability

The CVSS score of 8.1 reflects a high severity. Because the EPSS score is very low (<1%) and the vulnerability is not listed in CISA's KEV catalog, the public exploitation probability is uncertain but the attack vector is clear: a malicious server can trigger the defect simply by sending a cookie header with an oversized value. The impact is limited to a loss of cookie state, which can break authentication or session persistence but does not give the attacker code execution or elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade curl to the latest available release where the cookie‑line‑length check has been implemented.
  • If an upgrade is not immediately possible, disable or limit cookie usage in curl operations (use the --disable‑cookies flag or omit the --cookie-jar option) so that the vulnerable code path is never exercised.
  • As a temporary workaround, remove or truncate the existing cookie jar before each curl session, or write a small wrapper that sanitises the cookie file by deleting entries that exceed the line‑length limit.
  • Verify that your infrastructure intercepts or validates HTTP Cookie headers before they reach client systems, preventing oversized cookie values from being stored in the first place.

Generated by OpenCVE AI on October 29, 2026 at 21:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description A flaw was found in curl. A remote malicious server can trigger a denial of service (DoS) in cookie handling by providing an overly long cookie name and value that exceeds curl's line-length limit when saved to a cookie file. Subsequent curl operations reading from this cookie file silently abort parsing upon encountering the oversized entry, causing all remaining valid cookies in the file to be ignored. 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` silently aborts parsing prematurely upon encountering the too long line, ignoring all subsequent valid cookies in the file.
Title curl: curl: server-set cookie aborts cookie jar load server-set cookie aborts cookie jar load
References
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description A flaw was found in curl. A remote malicious server can trigger a denial of service (DoS) in cookie handling by providing an overly long cookie name and value that exceeds curl's line-length limit when saved to a cookie file. Subsequent curl operations reading from this cookie file silently abort parsing upon encountering the oversized entry, causing all remaining valid cookies in the file to be ignored.
Title curl: curl: server-set cookie aborts cookie jar load
Weaknesses CWE-1284
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

threat_severity

Low

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Oct 29, 2026, 7:00 PM
Reserved
Sep 16, 2026, 8:12 AM
Status
Awaiting Analysis
Published
Oct 20, 2026, 9:17 PM
Modified
Oct 29, 2026, 7:17 PM
Severity
Low
Public date
Oct 14, 2026, 12:00 PM