cbcvebase.
CVE-2026-42258
published 2026-05-09

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…

PriorityP433medium5.3CVSS 3.1
AVLACHPRLUINSUCNIHAL
EPSS
0.69%
47.9th percentile
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.

Affected

25 ranges
VendorProductVersion rangeFixed in
3scale-amp2system-rhel7
3scale-amp2system-rhel8
3scale-amp2system-rhel9
3scale-amp2zync-rhel8
3scale-amp2zync-rhel9
3scale-amp21system
3scale-amp21zync
3scale-amp22system
3scale-amp22zync
debianruby3.3
devspacescode-rhel9
rhoaiodh-workbench-codeserver-datascience-cpu-py312-rhel9
ruby-langnet< 0.4.240.4.24
ruby-langnet>= 0.5.0 < 0.5.140.5.14
ruby-langnet>= 0.6.0 < 0.6.40.6.4
ruby-langruby
rubynet-imap< 0.4.240.4.24
rubynet-imap
rubynet-imap
rubynet-imap>= 0 < 0.4.240.4.24
rubynet-imap>= 0.5.0 < 0.5.140.5.14
rubynet-imap>= 0.6.0 < 0.6.40.6.4
ruby_2.5ruby
ruby_3.3ruby
ruby_4.0ruby

Detection & IOCsextracted from sources · hover to see the quote

  • IMAP Command Injection via CRLF sequences embedded in Symbol arguments passed to Net::IMAP commands — monitor IMAP traffic for unexpected CRLF (\r\n) sequences injected within command arguments
  • Exploitation involves passing specially crafted symbol arguments to IMAP commands to inject arbitrary IMAP commands — inspect Ruby application logs for anomalous IMAP command sequences originating from Net::IMAP client calls
  • ·Vulnerability is limited to IMAP command injection only — arbitrary code execution is NOT possible; impact is confined to email systems (IMAP server/client integrity and information disclosure)
  • ·Fixed versions are net-imap 0.4.24, 0.5.14, and 0.6.4 — any Ruby application using Net::IMAP prior to these versions is vulnerable regardless of platform
  • ·No mitigation is currently available that meets Red Hat Product Security criteria — patching to a fixed version is the only remediation path

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
nvdv4.05.8MEDIUMCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.