IMAP APPEND plus CRLF conversion command injection (curl curl)

CVE-2026-87864
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.83 % · percentile 58 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-130 — Improper Handling of Length Parameter Inconsistency

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
curl · curlaffected 8.21.0 ≤ 8.21.0 ; affected 8.20.0 ≤ 8.20.0 ; affected 8.19.0 ≤ 8.19.0 ; affected 8.18.0 ≤ 8.18.0 ; affected 8.17.0 ≤ 8.17.0 ; affected 8.16.0 ≤ 8.16.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD