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.
{
"CWE": {
"desc": "Improper Validation of Specified Quantity in Input",
"id": "CWE-1284"
},
"URL": "https://curl.se/docs/CVE-2026-92386.json",
"affects": "both",
"issue": "https://hackerone.com/reports/4021979",
"last_affected": "8.22.0",
"package": "curl",
"severity": "Low",
"www": "https://curl.se/docs/CVE-2026-92386.html"
}"https://curl.se/docs/CURL-CVE-2026-92386.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"138271250387535836273283226064382527450",
"308657772196125144129862062019199892619",
"273186169908885310477440132227273509702",
"246252253875000751110306083158575320446"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92386-d1791cf6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/445aa87e13f91c94bc742f54343a2eac924e1765",
"target": {
"file": "lib/cookie.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "10707568032732722485877717627625943115",
"length": 1444
},
"id": "CURL-CVE-2026-92386-e9fe02eb",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/445aa87e13f91c94bc742f54343a2eac924e1765",
"target": {
"file": "lib/cookie.c",
"function": "cookie_load"
}
}
]
"2026-10-14T07:07:44Z"