Bug 2491522 (CVE-2026-47242) - CVE-2026-47242 net-imap: Net::IMAP: Arbitrary IMAP command injection due to improper input validation
Summary: CVE-2026-47242 net-imap: Net::IMAP: Arbitrary IMAP command injection due to i...
Keywords:
Status: NEW
Alias: CVE-2026-47242
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2524416
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-22 21:02 UTC by OSIDB Bzimport
Modified: 2026-08-26 14:53 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:49 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:16 UTC
Red Hat Product Errata RHSA-2026:54391 0 None None None 2026-08-12 14:48:11 UTC
Red Hat Product Errata RHSA-2026:54393 0 None None None 2026-08-12 15:02:10 UTC
Red Hat Product Errata RHSA-2026:54416 0 None None None 2026-08-12 18:25:20 UTC

Description OSIDB Bzimport 2026-06-22 21:02:08 UTC
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.

Comment 2 errata-xmlrpc 2026-08-05 09:40:19 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:48 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:14 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

Comment 7 errata-xmlrpc 2026-08-12 14:48:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

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

Comment 8 errata-xmlrpc 2026-08-12 15:02:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

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

Comment 9 errata-xmlrpc 2026-08-12 18:25:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

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


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