Skip to content
Heist/ feed
Back to feed
Low

server-set cookie aborts cookie jar load

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-92386
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:36 UTC · Revision 1

Source evidence

server-set cookie aborts cookie jar load

core-osv · Original source

Published 14 Oct 2026, 08:00 UTC

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.

osv:CURL-CVE-2026-92386
Complete source record
{
  "id": "d858b7baa46f6151083208f5cc54c8a72c08cf1feb6b9883e0a09234696aa12f",
  "url": "https://osv.dev/vulnerability/CURL-CVE-2026-92386",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "server-set cookie aborts cookie jar load",
    "summary": "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.",
    "evidence": "osv:CURL-CVE-2026-92386",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CURL-CVE-2026-92386",
      "aliases": [
        "CURL-CVE-2026-92386",
        "CVE-2026-92386"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "8.7.0"
                },
                {
                  "fixed": "8.14.3"
                },
                {
                  "introduced": "8.15.0"
                },
                {
                  "fixed": "8.16.2"
                },
                {
                  "introduced": "8.17.0"
                },
                {
                  "fixed": "8.20.2"
                },
                {
                  "introduced": "8.21.0"
                },
                {
                  "fixed": "8.23.0"
                }
              ]
            },
            {
              "repo": "https://github.com/curl/curl.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "142ac257b3242459b284020c59f1902b9687a954"
                },
                {
                  "fixed": "445aa87e13f91c94bc742f54343a2eac924e1765"
                }
              ]
            }
          ],
          "versions": [
            "8.22.0",
            "8.21.0",
            "8.20.0",
            "8.19.0",
            "8.18.0",
            "8.17.0",
            "8.16.0",
            "8.15.0",
            "8.14.1",
            "8.14.0",
            "8.13.0",
            "8.12.1",
            "8.12.0",
            "8.11.1",
            "8.11.0",
            "8.10.1",
            "8.10.0",
            "8.9.1",
            "8.9.0",
            "8.8.0",
            "8.7.1",
            "8.7.0",
            "curl-8_22_0",
            "rc-8_22_0-3",
            "rc-8_22_0-2",
            "rc-8_22_0-1",
            "curl-8_21_0",
            "rc-8_21_0-3",
            "rc-8_21_0-2",
            "rc-8_21_0-1",
            "curl-8_20_0",
            "rc-8_20_0-3",
            "rc-8_20_0-2",
            "rc-8_20_0-1",
            "curl-8_19_0",
            "rc-8_19_0-3",
            "rc-8_19_0-2",
            "rc-8_19_0-1",
            "curl-8_18_0",
            "rc-8_18_0-3",
            "rc-8_18_0-2",
            "rc-8_18_0-1",
            "curl-8_17_0",
            "curl-8_16_0",
            "curl-8_15_0",
            "curl-8_14_1",
            "curl-8_14_0",
            "curl-8_13_0",
            "curl-8_12_1",
            "curl-8_12_0",
            "curl-8_11_1",
            "curl-8_11_0",
            "curl-8_10_1",
            "curl-8_10_0",
            "curl-8_9_1",
            "curl-8_9_0",
            "curl-8_8_0",
            "curl-8_7_1",
            "curl-8_7_0"
          ],
          "database_specific": {
            "source": "https://curl.se/docs/CURL-CVE-2026-92386.json",
            "vanir_signatures": [
              {
                "id": "CURL-CVE-2026-92386-d1791cf6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "138271250387535836273283226064382527450",
                    "308657772196125144129862062019199892619",
                    "273186169908885310477440132227273509702",
                    "246252253875000751110306083158575320446"
                  ]
                },
                "source": "https://github.com/curl/curl.git/commit/445aa87e13f91c94bc742f54343a2eac924e1765",
                "target": {
                  "file": "lib/cookie.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CURL-CVE-2026-92386-e9fe02eb",
                "digest": {
                  "length": 1444,
                  "function_hash": "10707568032732722485877717627625943115"
                },
                "source": "https://github.com/curl/curl.git/commit/445aa87e13f91c94bc742f54343a2eac924e1765",
                "target": {
                  "file": "lib/cookie.c",
                  "function": "cookie_load"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-25T01:04:33Z"
          }
        }
      ],
      "modified": "2026-10-25T01:04:33.096230299Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {
        "CWE": {
          "id": "CWE-1284",
          "desc": "Improper Validation of Specified Quantity in Input"
        },
        "URL": "https://curl.se/docs/CVE-2026-92386.json",
        "www": "https://curl.se/docs/CVE-2026-92386.html",
        "issue": "https://hackerone.com/reports/4021979",
        "affects": "both",
        "package": "curl",
        "severity": "Low",
        "last_affected": "8.22.0"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-92386",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 444258,
  "published_at": "2026-10-14T08:00:00+00:00"
}