PT-2026-48340

CVE-2026-47240

·

Published

2026-04-24

·

Updated

2026-10-07

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Net::IMAP versions prior to 0.6.5 Net::IMAP versions prior to 0.5.15
Description Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Certain commands accept a raw data argument that is sent verbatim after validation. If a server does not support non-synchronizing literals (literals that do not require a server continuation response), it may interpret specific byte sequences as the end of a malformed command line. This allows an attacker to inject arbitrary IMAP commands via a CRLF (Carriage Return Line Feed) injection attack, where the contents of the literal are interpreted as new pipelined commands. This issue affects the criteria parameter for search() and uid search(), the search keys parameter for sort(), thread(), uid sort(), and uid thread(), and the attr parameter for fetch() and uid fetch().
Recommendations Update to version 0.6.5 or later. Update to version 0.5.15 or later. Explicitly validate user-controlled inputs to prevent embedded non-synchronizing literals unless the server supports them. Prohibit all embedded literals by ensuring string inputs do not contain any CR or LF bytes. Verify that the server advertises LITERAL+, LITERAL-, or IMAP4rev2 capabilities before using untrusted string inputs for the affected raw data arguments.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-8P34-64R3-MWG8
ALSA-2026:50728
ALSA-2026:50773
ALSA-2026:50778
ALSA-2026:50827
ALSA-2026:50828
AZL-91281
CLEANSTART-2026-EX55189
CLSA-2026-1791199760
ECHO-AED2-D0EE-EB0A
OESA-2026-3533
OESA-2026-3536
OESA-2026-3537
OESA-2026-3665
OESA-2026-3668
OPENSUSE-SU-2026:21878-1
RHSA-2026:33551
RHSA-2026:33721
RHSA-2026:40380
SUSE-SU-2026:3090-1
Found an issue in the description? Have something to add? Feel free to write us 👾