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.

Weaknesses

  • — CWE-1284 Improper Validation of Specified Quantity in Input

Affected products

VendorProductVersions
curlcurl8.22.0 to <=8.22.0 [affected]; 8.21.0 to <=8.21.0 [affected]; 8.20.0 to <=8.20.0 [affected]; 8.19.0 to <=8.19.0 [affected]; 8.18.0 to <=8.18.0 [affected]; 8.17.0 to <=8.17.0 [affected]; 8.16.0 to <=8.16.0 [affected]; 8.15.0 to <=8.15.0 [affected]; 8.14.1 to <=8.14.1 [affected]; 8.14.0 to <=8.14.0 [affected]; 8.13.0 to <=8.13.0 [affected]; 8.12.1 to <=8.12.1 [affected]; 8.12.0 to <=8.12.0 [affected]; 8.11.1 to <=8.11.1 [affected]; 8.11.0 to <=8.11.0 [affected]; 8.10.1 to <=8.10.1 [affected]; 8.10.0 to <=8.10.0 [affected]; 8.9.1 to <=8.9.1 [affected]; 8.9.0 to <=8.9.0 [affected]; 8.8.0 to <=8.8.0 [affected]; 8.7.1 to <=8.7.1 [affected]; 8.7.0 to <=8.7.0 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 21 Oct 2026 07:04 UTC.