JLSEC-2026-1658: IMAP APPEND byte count mismatch with CRLF conversion

Published Dec 1, 2026
·
Updated

Enabling CURLOPTCRLF causes curl to advertise the raw input byte count in the IMAP APPEND {N} literal while transmitting line-ending expanded data. The server reads only $N$ bytes for the payload, causing the remaining overflow bytes to be interpreted and executed as pipelined IMAP commands within the authenticated session.

Affected Software

2 affected componentsFixes available
julia/curl_jll<8.22.0+0
8.22.0+0
julia/libcurl_jll<8.22.0+0
8.22.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8.22.0+0
  2. Upgrade

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

    Fixed in 8.22.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 configuration and protocol path are affected?

The issue occurs when CURLOPT_CRLF is enabled for an IMAP APPEND operation. In that case, curl advertises the raw input length but sends data expanded by CRLF conversion.

2

What is the security impact of the extra transmitted bytes?

The IMAP server consumes only the advertised literal length. Remaining bytes can then be parsed and executed as pipelined IMAP commands within the authenticated session.

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