REDHAT-BUG-2491523: CRLF Injection

Published Jun 22, 2026
·
Updated

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 string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.

Affected Software

2 affected components
Ruby Net::IMAP>0.6.5<=
Ruby Net::IMAP>0.5.15<=

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Net::IMAP to a version that resolves this vulnerability.

    Fixed in 0.6.5
  2. Upgrade

    Upgrade Net::IMAP to a version that resolves this vulnerability.

    Fixed in 0.5.15

Event History

Jun 22, 2026
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2491523?

The severity of REDHAT-BUG-2491523 is medium, rated at 4.

2

How do I fix REDHAT-BUG-2491523?

To fix REDHAT-BUG-2491523, upgrade to Ruby Net::IMAP version 0.6.5 or 0.5.15 or later.

3

What type of vulnerability is REDHAT-BUG-2491523?

REDHAT-BUG-2491523 is a CRLF Injection vulnerability.

4

What software is affected by REDHAT-BUG-2491523?

The vulnerability affects Ruby's Net::IMAP library.

5

When was REDHAT-BUG-2491523 published?

REDHAT-BUG-2491523 was published on June 22, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203