CVE-2026-87864
JSON

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 packageVersionsReported by
curl curlfrom 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 moreCVE List
https://github.com/curl/curl.gitfrom 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 3b547de301342b347fb3c6ea6ae7979070793a66curl

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
curllow rating

Classification

CWE-130

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-87864 changed 2026-10-30CVE Terms of Use
curlCURL-CVE-2026-87864 changed 2026-10-25MIT
NVDCVE-2026-87864 changed 2026-10-30Public domain