CVE-2026-42258
Net::IMAP implements Internet Message Access Protocol (IMAP) client …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px
- github.com/ruby/net-imap/commit/6bf02aef7e0b5931010c36e377f79a71636b306b
- github.com/ruby/net-imap/commit/9db3e9d60bfb8f3735ea95015bf8a700f4af9cbb
- github.com/ruby/net-imap/commit/aec06996eb87a7e1bbcef1f9f8926e8add2b8c71
- github.com/ruby/net-imap/releases/tag/v0.4.24
- github.com/ruby/net-imap/releases/tag/v0.5.14
- github.com/ruby/net-imap/releases/tag/v0.6.4
- github.com/advisories/GHSA-75xq-5h9v-w6px
- nvd.nist.gov/vuln/detail/CVE-2026-42258
- cve.org/CVERecord?id=CVE-2026-42258
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.