{"id":"CVE-2026-92386","kind":"vulnerability","aliases":["CVE-2026-92386"],"related":[],"title":"curl: long cookie from a remote server makes later cookie-jar reads drop cookies","description":"When writing a long cookie name and value to a Netscape cookie jar, a remote\nHTTP server can make `curl` write a record that exceeds its line-length\nparsing limit. Consequently, any subsequent `curl` invocation reading from\nthat same cookie jar using `--cookie` silently aborts parsing prematurely upon\nencountering the too long line, ignoring all subsequent valid cookies in the\nfile.","summary":"A remote HTTP server can send a cookie with a long name and value that curl writes into a Netscape-format cookie jar as an over-long line. Later curl runs reading that jar with --cookie silently stop parsing at that line and ignore the valid cookies after it.","severity":"low","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["curl","package","scripting","self-hosted"],"not_affected_if":["default-config","no-cookie-jar"],"how_to_check":"- Run `curl --version` and compare against the fixed version in the advisory.\n- Check whether scripts use `curl --cookie-jar` or `--cookie` with a shared cookie file.","fix":"- Upgrade curl to a release that includes the fix (fixed version: unknown in the sources).\n- Delete or regenerate cookie jar files that may already contain an overlong line.","status":"open","published_at":"2026-10-20T21:17:21+00:00","first_seen_at":"2026-10-23T21:57:21+00:00","triaged_at":"2026-10-25T05:04:24+00:00","updated_at":"2026-10-25T05:04:24+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T05:04:24Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade curl to a release that includes the fix (fixed version: unknown in the sources).\n- Delete or regenerate cookie jar files that may already contain an overlong line.","reach":"internet","title":"curl: long cookie from a remote server makes later cookie-jar reads drop cookies","impact":"low","summary":"A remote HTTP server can send a cookie with a long name and value that curl writes into a Netscape-format cookie jar as an over-long line. Later curl runs reading that jar with --cookie silently stop parsing at that line and ignore the valid cookies after it.","category":"package","nicknames":[],"who_cares":["curl","self-hosted","scripting"],"confidence":0.6,"needs_auth":"no","worst_case":"Cookies are silently dropped, causing broken sessions or failed requests.","analyst_note":"Confirm the fixed curl version and affected version range from the NVD entry or the curl security advisory.","how_to_check":"- Run `curl --version` and compare against the fixed version in the advisory.\n- Check whether scripts use `curl --cookie-jar` or `--cookie` with a shared cookie file.","needs_analyst":true,"not_affected_if":["no-cookie-jar","default-config"],"who_is_affected":"Teams whose scripts or services use curl with a persistent Netscape cookie jar (--cookie-jar and --cookie) against remote servers they do not control. Scripts that use curl without a saved cookie file are unlikely to be affected by this flaw.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"low"},"cost_usd":0.000611,"input_tokens":3346,"output_tokens":552,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':17A,20A '-92386':18A,21A 'abort':122C 'consequ':108C 'cooki':3A,11A,15A,35B,50B,65B,76B,81C,88C,117C,120C,135C 'cookie-jar':10A 'curl':1A,22B,43B,59B,96C,111C 'cve':16A,19A 'drop':14A 'encount':126C 'exceed':101C 'file':138C 'format':49B 'host':27B 'http':30B,92C 'ignor':73B,131C 'invoc':112C 'jar':12A,51B,63B,89C,118C 'later':9A,58B 'length':105C 'limit':107C 'line':57B,71B,104C,130C 'line-length':103C 'long':2A,38B,56B,80C,129C 'make':8A,95C 'name':39B,82C 'netscap':48B,87C 'netscape-format':47B 'over-long':54B 'packag':23B 'pars':68B,106C,123C 'prematur':124C 'read':13A,61B,113C 'record':99C 'remot':6A,29B,91C 'run':60B 'script':24B 'self':26B 'self-host':25B 'send':33B 'server':7A,31B,93C 'silent':66B,121C 'stop':67B 'subsequ':110C,133C 'upon':125C 'use':119C 'valid':75B,134C 'valu':41B,84C 'write':44B,78C,97C","nicknames":[],"mitigations":[],"who_affected":"Teams whose scripts or services use curl with a persistent Netscape cookie jar (--cookie-jar and --cookie) against remote servers they do not control. Scripts that use curl without a saved cookie file are unlikely to be affected by this flaw.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T21:17:21+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-92386","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92386","severity":null,"published_at":"2026-10-20T21:17:21+00:00","modified_at":"2026-10-22T17:21:57+00:00","first_seen_at":"2026-10-23T21:57:21+00:00","fetched_at":"2026-10-23T22:28:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}