ADVISORIES

Vulnerability

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.

187 advisories report this vulnerability, across 14 ecosystems.

Advisories in Amazon Linux

  • ALAS2023-2026-1806

    Amazon Linux 2023 - ALAS2023-2026-1806: Important priority package update for ruby4.0

    Important CVE-2026-42246CVE-2026-42258 Amazon Linux Updated 8 June 2026
  • ALAS2023-2026-1807

    Amazon Linux 2023 - ALAS2023-2026-1807: Important priority package update for ruby3.4

    Important CVE-2026-27820CVE-2026-42245CVE-2026-42246CVE-2026-42256 Amazon Linux Updated 8 June 2026

References