Command injection in cURL - CVE-2026-87864
Published: October 14, 2026
Vulnerability details
The vulnerability allows a remote user to inject and execute IMAP commands within an authenticated session.
The vulnerability exists due to improper handling of a length parameter inconsistency in curl's IMAP APPEND implementation when processing uploads. A remote user can supply upload data whose line-ending conversion expands it beyond the advertised literal length to inject and execute IMAP commands within an authenticated session.
Exploitation requires CURLOPT_CRLF to be enabled.