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

- Severity: High 8.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:35:28.773Z
- Modified: 2026-12-01T15:58:27.077Z
- Related: CVE-2026-87864, EUVD-2026-105310, GHSA-mxp6-wxxv-r9rj

## Description

Enabling `CURLOPT_CRLF` 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.

(As written by Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.22.0+0
- LibCURL_jll (Julia): before 8.22.0+0

## References

- <https://curl.se/docs/CVE-2026-87864.html> (web)
- <https://curl.se/docs/CVE-2026-87864.json> (web)
- <https://github.com/advisories/GHSA-mxp6-wxxv-r9rj> (web)
- <https://hackerone.com/reports/3972403> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-87864> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1658](https://osv.dev/vulnerability/JLSEC-2026-1658), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/JLSEC-2026-1658 · Whole record: https://cve.day/JLSEC-2026-1658.json · Rebuilt by cve.day 2026-12-01T16:07:26.669Z
