Bug 2580411 - CVE-2026-87864 rust: IMAP APPEND plus CRLF conversion command injection [fedora-all]
Summary: CVE-2026-87864 rust: IMAP APPEND plus CRLF conversion command injection [fedo...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9b5e4cea-b650-47f7-af30-f...
Depends On:
Blocks: CVE-FalsePositive-CrossEcosystem CVE-2026-87864
TreeView+ depends on / blocked
 
Reported: 2026-11-21 11:33 UTC by Avinash Hanwate
Modified: 2026-11-21 15:16 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-21 15:16:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2026-11-21 11:33:24 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

IMAP APPEND plus CRLF conversion command injection
==================================================

Project curl Security Advisory, October 14 2026
[Permalink](https://curl.se/docs/CVE-2026-87864.html)

VULNERABILITY
-------------

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.

INFO
----

Combining IMAP append with CRLF conversions is probably a rare occasion.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2026-87864 to this issue.

CWE-130: Improper Handling of Length Parameter Inconsistency

Severity: Low

AFFECTED VERSIONS
-----------------

- Affected versions: curl 7.30.0 to and including 8.21.0
- Not affected versions: curl < 7.30.0 and >= 8.22.0
- Introduced-in: https://github.com/curl/curl/commit/f8c8c76d39ac2fa825481ba42

libcurl is used by many applications, but not always advertised as such!

This flaw also affects the curl command line tool.

SOLUTION
--------

- Fixed-in: https://github.com/curl/curl/commit/3b547de301342b347fb3c6ea6ae797

RECOMMENDATIONS
---------------

 A - Upgrade curl to version 8.22.0

 B - Apply the patch to your local version

 C - Avoid `CURLOPT_CRLF` with IMAP

TIMELINE
--------

This issue was reported to the curl project on August 26, 2026.

curl 8.22.0 was released on September 2, 2026. This advisory was published on
October 14, 2026.

CREDITS
-------

- Reported-by: Stanislav Fort (Aisle Research)
- Patched-by: Stefan Eissing

Thanks a lot!

Comment 1 Fabio Valentini 2026-11-21 15:16:53 UTC
This package does not include curl, it links dynamically to the system libcurl via the "curl" crate that provides Rust bindings for libcurl. If this package is affected is affected by this security issue at all, it needs to be fixed in the "curl" package itself.


Note You need to log in before you can comment on or make changes to this bug.