# CVE-2026-87864: IMAP APPEND plus CRLF conversion command injection

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `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
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T08:00:00.000Z
- Modified: 2026-10-30T12:16:46.137Z
- Also known as: CURL-CVE-2026-87864
- Weaknesses: CWE-130
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: curl

## 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 CVE List.)

## Affected

- 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; from 8.14.0 up to 8.14.0; from 8.13.0 up to 8.13.0; from 8.12.1 up to 8.12.1; from 8.12.0 up to 8.12.0; and 102 more
- 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

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- curl: rating Low

## References

- <https://hackerone.com/reports/3972403> (exploit)
- <https://curl.se/docs/CVE-2026-87864.json>
- <https://curl.se/docs/CVE-2026-87864.html>

## Sources

- CVE List: [CVE-2026-87864](https://www.cve.org/CVERecord?id=CVE-2026-87864), CVE Terms of Use, modified 2026-10-30
- curl: [CURL-CVE-2026-87864](https://osv.dev/vulnerability/CURL-CVE-2026-87864), MIT, modified 2026-10-25
- NVD: [CVE-2026-87864](https://nvd.nist.gov/vuln/detail/CVE-2026-87864), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-87864 · Whole record: https://cve.day/CVE-2026-87864.json · Rebuilt by cve.day 2026-11-25T22:59:46.126Z
