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

18 May 2026, 18:02

Type Values Removed Values Added
CPE cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*
First Time Ruby-lang net\
Ruby-lang
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
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-05-18 18:02


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')