CVE-2026-87864
8.1high
IMAP APPEND plus CRLF conversion command injection
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.83% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- curl
- Also known as
- CURL-CVE-2026-87864
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| curl curl | from 8.21.0 up to 8.21.0, from 8.20.0 up to 8.20.0, from 8.19.0 up to 8.19.0, from 8.18.0 up to 8.18.0, from 8.17.0 up to 8.17.0, from 8.16.0 up to 8.16.0, from 8.15.0 up to 8.15.0, from 8.14.1 up to 8.14.1 and 106 more | CVE List |
| https://github.com/curl/curl.git | from 7.30.0 before 8.14.3, from 8.15.0 before 8.16.2, from 8.17.0 before 8.20.2, from 8.21.0 before 8.22.0, from f8c8c76d39ac2fa825481ba42ab2247cd122f963 before 3b547de301342b347fb3c6ea6ae7979070793a66 | curl |
All scores
| CISA-ADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| curl | low rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-87864 changed 2026-10-30 | CVE Terms of Use |
| curl | CURL-CVE-2026-87864 changed 2026-10-25 | MIT |
| NVD | CVE-2026-87864 changed 2026-10-30 | Public domain |