CVE-2026-42258

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*

History

20 Jul 2026, 12:19

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2026:35447', 'source': '0b0ca135-0b70-47e7-9f44-1890c2a1c46c'}

16 Jul 2026, 12:17

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2026:36978', 'source': '0b0ca135-0b70-47e7-9f44-1890c2a1c46c'}

15 Jul 2026, 03:16

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2026:33721', 'source': '0b0ca135-0b70-47e7-9f44-1890c2a1c46c'}

13 Jul 2026, 13:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:33721 -
  • () https://access.redhat.com/errata/RHSA-2026:35447 -
  • () https://access.redhat.com/errata/RHSA-2026:36978 -

10 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:37238 -
  • () https://access.redhat.com/errata/RHSA-2026:37397 -

07 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:35895 -
  • () https://access.redhat.com/errata/RHSA-2026:36099 -

06 Jul 2026, 13:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:35834 -
  • () https://access.redhat.com/errata/RHSA-2026:35866 -
  • () https://access.redhat.com/errata/RHSA-2026:35867 -

02 Jul 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:34076 -

01 Jul 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:33512 -
  • () https://access.redhat.com/errata/RHSA-2026:33514 -
  • () https://access.redhat.com/errata/RHSA-2026:33515 -
  • () https://access.redhat.com/errata/RHSA-2026:33540 -
  • () https://access.redhat.com/errata/RHSA-2026:33565 -
  • () https://access.redhat.com/errata/RHSA-2026:33576 -
  • () https://access.redhat.com/errata/RHSA-2026:33577 -
  • () https://access.redhat.com/errata/RHSA-2026:33630 -

30 Jun 2026, 13:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:33462 -

30 Jun 2026, 03:19

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-42258 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2468498 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42258.json -

26 Jun 2026, 18:32

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 5.3

18 May 2026, 18:02

Type Values Removed Values Added
CPE cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Ruby-lang net\
Ruby-lang
References () https://github.com/ruby/net-imap/releases/tag/v0.4.24 - () https://github.com/ruby/net-imap/releases/tag/v0.4.24 - Release Notes
References () https://github.com/ruby/net-imap/releases/tag/v0.5.14 - () https://github.com/ruby/net-imap/releases/tag/v0.5.14 - Release Notes
References () https://github.com/ruby/net-imap/releases/tag/v0.6.4 - () https://github.com/ruby/net-imap/releases/tag/v0.6.4 - Release Notes
References () https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px - () https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px - Mitigation, Vendor Advisory

09 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-09 20:16

Updated : 2026-07-20 12:19


NVD link : CVE-2026-42258

Mitre link : CVE-2026-42258

CVE.ORG link : CVE-2026-42258


JSON object : View

Products Affected

ruby-lang

  • net\
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')