Bug 2491519 (CVE-2026-47240) - CVE-2026-47240 net-imap: Net::IMAP: Command injection via non-synchronizing literals
Summary: CVE-2026-47240 net-imap: Net::IMAP: Command injection via non-synchronizing l...
Keywords:
Status: NEW
Alias: CVE-2026-47240
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2498917
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-22 21:02 UTC by OSIDB Bzimport
Modified: 2026-08-05 16:40 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:50728 0 None None None 2026-08-05 09:40:20 UTC
Red Hat Product Errata RHSA-2026:50773 0 None None None 2026-08-05 11:21:48 UTC
Red Hat Product Errata RHSA-2026:50778 0 None None None 2026-08-05 12:04:31 UTC
Red Hat Product Errata RHSA-2026:50827 0 None None None 2026-08-05 16:40:26 UTC
Red Hat Product Errata RHSA-2026:50828 0 None None None 2026-08-05 16:37:13 UTC

Description OSIDB Bzimport 2026-06-22 21:02:05 UTC
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a "raw data" argument that is sent verbatim after validation to prevent command injection. However, if a server does not support non-synchronizing literals, it may still be possible to inject arbitrary IMAP commands inside non-synchronizing literals.  A server without support for non-synchronizing literals may interpret the "+}\r\n" as the end of a malformed command line and respond with a tagged BAD. In that case, the contents of the literal will be interpreted as one or more new pipelined commands, allowing a CRLF command injection attack to succeed. This affects criteria for #search and #uid_search; search_keys for #sort, #thread, #uid_sort, and #uid_thread; and attr for #fetch and #uid_fetch. This vulnerability is fixed in 0.6.5 and 0.5.15.

Comment 2 errata-xmlrpc 2026-08-05 09:40:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:50728 https://access.redhat.com/errata/RHSA-2026:50728

Comment 3 errata-xmlrpc 2026-08-05 11:21:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:50773 https://access.redhat.com/errata/RHSA-2026:50773

Comment 4 errata-xmlrpc 2026-08-05 12:04:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:50778 https://access.redhat.com/errata/RHSA-2026:50778

Comment 5 errata-xmlrpc 2026-08-05 16:37:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:50828 https://access.redhat.com/errata/RHSA-2026:50828

Comment 6 errata-xmlrpc 2026-08-05 16:40:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:50827 https://access.redhat.com/errata/RHSA-2026:50827


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