JLSEC-2026-1660: When writing a long cookie name and value to a Netscape cookie jar, a remote HTTP server can make...

Published Dec 1, 2026
·
Updated

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.

Affected Software

2 affected componentsFixes available
julia/curl_jll>=8.9.0+0
julia/libcurl_jll>=8.7.1+0<8.23.0+0
8.23.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/LibCURL_jll to a version that resolves this vulnerability.

    Fixed in 8.23.0+0

Event History

Dec 1, 2026
Advisory Published
via OSV·03:35 PM
Data Sourced
via OSV·03:35 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

A remote HTTP server must be able to cause curl to write a cookie with a sufficiently long name and value into a Netscape-format cookie jar. A later curl invocation must read that same jar using --cookie.

2

What is the practical impact after a malformed cookie record is written?

Curl silently stops parsing the cookie jar when it reaches the overlong record. Valid cookies located after that record are ignored, which can affect subsequent requests that rely on them.

3

How can I determine whether a cookie jar is affected?

Inspect Netscape cookie jar files used with --cookie for an excessively long cookie record. If curl encounters such a line, cookies appearing later in the file will not be loaded.

4

What can be done if updating is not immediately possible?

Remove the overlong cookie record from the affected Netscape cookie jar, or replace the jar with a clean file. Avoid reusing cookie jars that a remote HTTP server can populate with attacker-controlled cookie names and values.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203